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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 827
» Latest member: expresspowerhouse
» Forum threads: 210
» Forum posts: 623

Full Statistics

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

Latest Threads
Verilog example for Seria...
Forum: General Questions
Last Post: howdyrichard
01-17-2022, 06:48 PM
» Replies: 2
» Views: 1,287
Using Lucid for other tha...
Forum: General Questions
Last Post: howdyrichard
01-17-2022, 01:17 PM
» Replies: 0
» Views: 17
Au + Board IP's
Forum: General Questions
Last Post: howdyrichard
01-16-2022, 03:58 PM
» Replies: 0
» Views: 25
AU Plus UART Capability
Forum: General Questions
Last Post: howdyrichard
01-12-2022, 11:29 AM
» Replies: 2
» Views: 176
HDMI Error - tmds_encoder...
Forum: General Questions
Last Post: alchitry
01-11-2022, 09:05 PM
» Replies: 1
» Views: 100
Connecting multiple FPGAs...
Forum: General Questions
Last Post: alchitry
01-11-2022, 09:00 PM
» Replies: 2
» Views: 134
MicroBlaze & Au Plus
Forum: General Questions
Last Post: alchitry
01-11-2022, 08:54 PM
» Replies: 1
» Views: 77
SRAM 16 Mbit (2M x 8) 10n...
Forum: General Questions
Last Post: Joena
01-07-2022, 06:32 PM
» Replies: 5
» Views: 370
routing DDR3 fails with i...
Forum: General Questions
Last Post: howdyrichard
01-02-2022, 08:29 PM
» Replies: 3
» Views: 963
Au plus and DDR3 Tutorial
Forum: General Questions
Last Post: howdyrichard
12-28-2021, 02:09 PM
» Replies: 6
» Views: 1,396

  Unable to build project
Posted by: iggyglass - 03-06-2019, 08:30 PM - Forum: General Questions - Replies (3)

Whenever I attempt to build a project that I'm working on, I get the following error, and I'm unsure as to how to fix it:

Bin file (C:\Users\[My Username]\OneDrive\Documents\alchitry\CPU\work\vivado\CPU\CPU.runs\impl_1\au_top_0.bin) could not be found! The build probably failed.
I haven't tried anything to fix it yet, as since the error is a bit cryptic, I'm not sure what to try. 

Let me know if you need any additional information. 

Any help would be appreciated! Thanks!

  Using Virtual Machine
Posted by: serge - 03-03-2019, 11:10 AM - Forum: Tips and Tricks - Replies (1)

I am currently working on a Mac OS machine and to access the Cu/Au board I am using a virtual machine running debian buster.

To get the loader to work I had to use the new one and install the udev rule (obviously, as documented), but this is not sufficient per-se.

Usually, once the VM is running I'm doing everything from the MacOS terminal by ssh-ing to the VM (to avoid to deal with the «GUI» of the VM). When doing this the loader does not work (or in a very chaotic way). In particular it would «see» the board only if it was plugged in during the boot, flashing would sometime stop and reset in the middle of the process… (I am sure it is not a «board problem» since they work perfectly well with a «real» debain buster machine).

Indeed there seems to be small compatibilities issues with vritualbox; so here are the workarounds I have found to get a working solution :

* Setting the VM to use the xHCI (USB3.0) controller (in the configuration->ports->USB)
* Opening a GUI session on the VM (even if not really using it)

With this on (the «proper» virtual USB controller, and the session being opened) I can use the loader (indeed even within my ssh session rather than the «local session within the VM»).

These indeed seems to me more problems from virtual-box than from the Alchitry software, but I guess some other might be trying to using a similar technique to work on a Mac (or other unsupported OS).

Hope this will help.

  Alchitry Cu Serial Interface
Posted by: rrc - 02-28-2019, 08:20 PM - Forum: General Questions - Replies (2)

in the schematic I can see, that two pins of the ICE40 are connected as RxD and TxD to the FTDI chip. Is this a serial interface to communicate the FPGA?
If yes: how do I connect to on PC side? The FTDI did not appear as /dev/tty* device on my Linux machine.


Wink Alchitry Loader on 32-bit Machines (Linux)
Posted by: rrc - 02-28-2019, 06:04 PM - Forum: Tips and Tricks - Replies (11)

For other users using the ancient 32-bit processor architecture the software package is not executable directly as it is only compiled for 64-bit computers. Fortunately it is possible to emulate such a processor with qemu-x86_64 contained by the qemu-user package in the Debian distribution. I was successfully able to upload a bitstream to my Alchitry Cu by executing

qemu-x68_64 ./tools/loader -f  test.bin
in the extracted package directory of Alchitry Loader.
I don't think that it is possible to launch the GUI easy like this. But in my usecase it is all I wanted since I use project Icestorm directly to develop my stuff on that FPGA.


For the Alchitry Cu there is a way better solution in using the iceprog tool of project IceStorm.
I was able to upload the bitstream by just executing
iceprog test.bin
This tool should be available for many devices. For Debian it is in the package fpga-icestorm

  Alchitry Cu and Io Pulldown Resistors
Posted by: Geo747 - 02-26-2019, 09:37 PM - Forum: General Questions - Replies (3)

I've been trying to get the Io board to work with the Cu today. I'm using verilog and Icecube2 with the alchitry loader (not using the alchitry ide). I'm trying to set up a .pcf file for the IO and have all the LEDs working correctly but cant get the switches or buttons to work. I believe this is because I need to set the inputs to have pull down resistors, as per the schematic, however I cant find any documentation of the iCE40-HX8K that suggests it has pull down resistors available on its inputs. In the icecube2 pin constraints editor only pull up resistors are available, and they havent helped in my scenario. When I have the pullup enabled, I just get a constant high logic level from that pin, and when the pullup isnt enabled it has erratic behaviour and will turn on or change state when i touch the button's casing, without actually depressing the button.

If someone knows what im missing to get it to work that would be much appreciated.


  Cu - how to start?
Posted by: wing - 02-24-2019, 06:46 PM - Forum: General Questions - Replies (5)

Hi ,
   Just received the Alchitry Cu, look great.
May I ask how to get started? It seem the tutorials are still for "mojo v3" and using Xilinx tools.


  Alchitry Io Switches with Au
Posted by: garthberry - 02-22-2019, 03:22 PM - Forum: Tips and Tricks - No Replies

After trying to get the switches (DIP and pushbutton) Alchitry Io working for a little too long it finally occurred to me that pulldowns need to be enabled for each of the pins attached to a switch. If pulldowns are not enabled the pin will typically float high. The pulldown resistor can be enabled on a pin by pin basis in the  constraints file as follows:

set_property PACKAGE_PIN C4 [get_ports {dip_sw[0]}]
set_property IOSTANDARD LVCMOS33 [get_ports {dip_sw[0]}]
set_property PULLDOWN TRUE [get_ports {dip_sw[0]}]

  Clocking with Lattice Parts
Posted by: samuelcomeau - 02-22-2019, 06:25 AM - Forum: General Questions - Replies (2)

So with the Mojo, the way to get new clocks was to use coregen via the awesome installed button. Since Cu is a Lattice part there is obviously not a coregen option. Therefore, how do I get my higher or lower clock signal?

  Headers. (First!)
Posted by: samuelcomeau - 02-22-2019, 01:26 AM - Forum: General Questions - Replies (7)

So I've had the Alchitry Cu for a few days. Great looking board, I'm excited to get the software up and running. Just one question. How do I connect anything to it? I don't see my comfortable headers and I feel completely paralyzed. 
Objectively, I know there is a solution to this problem and that it wouldn't require too much work on my part, but is there a simple solution to go from the super whamadine headers to my comfortable breadboard friendly ones? 
(P.S. I don't hate the new headers, my Mojo has so many bent pins it's starting to look like a porcupine.)

  Welcome to the new forum!
Posted by: alchitry - 02-21-2019, 05:47 PM - Forum: Announcements - No Replies

Welcome to the new forum! After the old forum was basically made useless by an overflow of spam, this new one will hopefully fare better.

Note that you will need seperate logins for the forum and our store.

You can still access the old forum in its "read only" state here https://forum.embeddedmicro.com/