Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 1,142
» Latest member: goro
» Forum threads: 246
» Forum posts: 723

Full Statistics

Online Users
There are currently 67 online users.
» 0 Member(s) | 66 Guest(s)

Latest Threads
Closing the Forum
Forum: Announcements
Last Post: alchitry
10-31-2022, 02:42 PM
» Replies: 0
» Views: 1,804
Trouble with shift operto...
Forum: General Questions
Last Post: gln
10-26-2022, 08:29 AM
» Replies: 0
» Views: 1,317
Alchitry Au+ / ft600
Forum: General Questions
Last Post: Andrea1806
10-12-2022, 03:21 PM
» Replies: 0
» Views: 989
Cannot program new Amazon...
Forum: General Questions
Last Post: dkaleta
10-10-2022, 06:01 PM
» Replies: 1
» Views: 1,525
I2C Controller example ne...
Forum: General Questions
Last Post: dkaleta
10-09-2022, 01:52 AM
» Replies: 0
» Views: 1,292
Alchitry Board to Board C...
Forum: General Questions
Last Post: LMN128
09-30-2022, 08:40 AM
» Replies: 1
» Views: 1,764
CU board wont program
Forum: General Questions
Last Post: sfnagle
09-27-2022, 05:17 AM
» Replies: 4
» Views: 3,684
CuBr pins
Forum: Tips and Tricks
Last Post: jldevictoria
09-27-2022, 03:31 AM
» Replies: 3
» Views: 7,709
Lucid build via command-l...
Forum: General Questions
Last Post: SoCalCFI
09-15-2022, 06:02 AM
» Replies: 0
» Views: 988
Bin file not found - but ...
Forum: General Questions
Last Post: billh
08-27-2022, 08:48 PM
» Replies: 0
» Views: 1,014

  Closing the Forum
Posted by: alchitry - 10-31-2022, 02:42 PM - Forum: Announcements - No Replies

I haven't kept up with forum maintenance which causes the infrequent questions here to go unanswered. To help get people answers faster, I'm closing the forum for now and instead asking people to email me direct at support@alchitry.com 

If you want to post to a forum instead of receiving direct support, SparkFun hosts a much more active forum here https://forum.sparkfun.com/

  Trouble with shift opertor (<<)
Posted by: gln - 10-26-2022, 08:29 AM - Forum: General Questions - No Replies

I'm using the CU board with the iCEcube2 toolchain. I have connected the board LEDs to the "out" output of this minimal module. When I add to the value of "outbfr" I can see the LEDs count up by one once a second. When I comment out that line and leave the line with the left shift then no LEDs are illuminated. Pressing the reset button illuminates the LEDs in the 10101010 pattern as specified in the init value (so the connection and the physical LEDs are fine). Any ideas?

module foo (
    input clk,  // clock
    input rst,  // reset
    output out[8]
  ) {

        dff outbfr[8](#INIT(8b10101010));
        dff main_clock_count[$clog2(50000000)];
  always {
    out = outbfr.q;
    main_clock_count.d = main_clock_count.q + 1;
    if (main_clock_count.q == 50000000) {
      outbfr.d = outbfr.q + 1; // works
      outbfr.d = outbfr.q << 1; //doesn't
      main_clock_count.d = 0;

  Alchitry Au+ / ft600
Posted by: Andrea1806 - 10-12-2022, 03:21 PM - Forum: General Questions - No Replies

Good afternoon,
I'm trying to connect my FPGA Au+ with the module Alchitry ft600 but there is a problem that I cannot resolve. My code must be write in VHDL and not in Lucid or Verilog. I red yours tutorial and downloaded the Lucid File but I don't know how to report this in VHDL language.
I hope that you response me as soon as possible.

Thanks at all, 

  I2C Controller example needed
Posted by: dkaleta - 10-09-2022, 01:52 AM - Forum: General Questions - No Replies

Can someone please provide an example project using the I2C controller component?  Would one be able to create multiple I2C channels on different pins of the Cu to constantly bring in say temperature values to work with to make decisions on chosen output pins?  I'd like to be able to read multiple I2C sensors at the same time not sequentially.  Bring those values into a processor module to then make decisions on what pins to turn on and off.

  Cannot program new Amazon delivery CU board
Posted by: dkaleta - 10-02-2022, 03:57 PM - Forum: General Questions - Replies (1)

I received a Cu board yesterday via Amazon.  The board was delivered in a simple large bubble envelope.  Upon opening, I found one of the coils slightly broken one of the top corners like I've seen others post on here.  Please have these boards better packaged for safe delivery!  The board seems to power up but will not program.  The "Done" LED blinks then off.  Nothing else.  Even at first power up it did the same.  Measured voltage at the 2 power input pins while connected via USB is 4.860.  It's connected to a powered USB hub.  I also had it plugged into a PCI slotted USB port with same result.  It has following output during program then stops and board does nothing as expected:

Extended device string lenght is 0xff. This is likely an error. Ignoring...
com.alchitry.labs.hardware.usb.ftdi.Mpsse$MpsseException: Flash ID was 0xFFFFFFFF expected 0xEF401600
at com.alchitry.labs.hardware.usb.ftdi.LatticeSpi.flashReadId(LatticeSpi.java:150)
at com.alchitry.labs.hardware.usb.ftdi.LatticeSpi.writeBin(LatticeSpi.java:284)
at com.alchitry.labs.hardware.loaders.CuLoader.program(CuLoader.java:54)
at com.alchitry.labs.hardware.loaders.ProjectLoader.load(ProjectLoader.java:61)
at com.alchitry.labs.project.Project$load$1.invokeSuspend(Project.kt:1309)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Can someone please let me know how to solve this problem?

  Lucid build via command-line
Posted by: SoCalCFI - 09-15-2022, 06:02 AM - Forum: General Questions - No Replies


Is it possible for someone to program in Lucid and then build and upload the .bin file to the Cu using the command-line IceStorm (or Apio) toolkits? I like the simplicity of the Lucid language, but I use a Mac (and M1 Mac at that) and Alchitry Labs is unavailable for that architecture.

I have verified that using Verilog and the Apio toolkit works flawlessly on my Mac. I found a few examples on GitHub and I've been able to build and upload with no issues.

It'd be great if I could start with Lucid instead of Verilog since I'm a total FPGA noob.


  Bin file not found - but build.cmd works ok from command line
Posted by: billh - 08-27-2022, 08:48 PM - Forum: General Questions - No Replies

I just installed Alchitry Labs 1.2.7 on my Windows 11 machine. I have a Cu board and i'm using iCECube2 (with a license file). When I try to build the LEDtoButton example I get the Bin file not found error message. The .\work\alchitry_imp\sbt\outputs\bitmap folder is empty. But when I run build.cmd from the Windows command line it all seems to work fine and the bin file is generated. Any ideas?

  Cannot build the Cu base project
Posted by: citizen34 - 08-15-2022, 03:50 PM - Forum: General Questions - No Replies


I'm trying out my new Cu dev board on a Windows 10 machine. However, having followed all the installation setup instructions, when trying to build the base project with the LED & reset button I get the following output (not more not less) :

    Starting iceCube2...

    Bin file (D:\ALCHITRY_Projects\TEST\test2\work\alchitry_imp\sbt\outputs\bitmap\cu_top_0_bitmap.bin) could not be found! The build probably failed.

I have noticed this error is recurrent amongst other users on this forum and I have tried a few of the proposed fix-arounds to no avail.
I am using Java version 8 Update 341 (build 1.8.0_341-b10) and my virus protection has been temporarily turned off during the tests ...

Is there a fix for this or otherwise a previous working version of the IDE as I'm using the most recent version 1.2.7.

Looking forward to your advice.

cheers, Michael

  Alchitry Board to Board Connectors
Posted by: bmiletti - 08-04-2022, 10:10 PM - Forum: General Questions - Replies (1)


I was wondering what type of board->board connector is used for the Alchitry boards. I see on Sparkfun that a datasheet is provided for the mechanicals, but it does not contain a useful part number and my attempts to find it online have not come up with anything.


  How to change Mojo-v3 USB serial port Baud Rate?
Posted by: Bob Young - 07-11-2022, 12:56 PM - Forum: General Questions - No Replies

Hi, I am using the Mojo-v3 USB serial port to receive MIC sampling data. I found the Mojo-v3 COM3 port uses 9600 bps baud rate. 
I want to use higher baud rate to transfer data. I already try to change the baud rate of COM3 port in Windows 'Device Manager' > COM property dialog,
but the Mojo still send data in 9600 bps.

Is it possible to change the baud rate of Mojo-v3 COM port and how to do that?
It seems that the Mojo-v3 boot loader fixed the serial port baud rate, is that true?
How can I modify the Mojo boot loader program to change the baud rate?