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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 607
» Latest member: Mike_L
» Forum threads: 189
» Forum posts: 546

Full Statistics

Online Users
There are currently 31 online users.
» 1 Member(s) | 28 Guest(s)
Bing, Google, DavidWalker

Latest Threads
Could not detect an Au!
Forum: General Questions
Last Post: satheesh_s
07-23-2021, 01:51 AM
» Replies: 6
» Views: 2,054
LEDs on Io Breakout Board...
Forum: Tips and Tricks
Last Post: alchitry
07-22-2021, 02:35 PM
» Replies: 2
» Views: 149
Alchitry labs crashes Moj...
Forum: General Questions
Last Post: alchitry
07-22-2021, 02:33 PM
» Replies: 1
» Views: 536
DDR3 speed in example
Forum: General Questions
Last Post: alchitry
07-22-2021, 02:31 PM
» Replies: 3
» Views: 1,098
Question Shield Mojo to A...
Forum: General Questions
Last Post: alchitry
07-22-2021, 02:29 PM
» Replies: 5
» Views: 1,570
DDR3 speed of READ comman...
Forum: General Questions
Last Post: alchitry
07-22-2021, 02:27 PM
» Replies: 1
» Views: 568
Alchitry Loader - Could n...
Forum: General Questions
Last Post: alchitry
07-22-2021, 02:19 PM
» Replies: 2
» Views: 117
Constraints files
Forum: General Questions
Last Post: TechPaula
07-18-2021, 01:01 PM
» Replies: 2
» Views: 844
Au plus and DDR3 Tutorial
Forum: General Questions
Last Post: howdyrichard
07-07-2021, 05:55 PM
» Replies: 0
» Views: 72
Forum: General Questions
Last Post: D22
07-04-2021, 04:57 PM
» Replies: 0
» Views: 50

  Mojo Max Milliamps
Posted by: kanejd - 03-21-2019, 01:32 PM - Forum: General Questions - Replies (1)


I'm working on a project that is pulling about 217 Milliamps thru the Mojo,  does anyone know the max per pin and the total for all pins in milliamps


  HDMI or video out shield for Alchitry Au
Posted by: lucas.rivas - 03-18-2019, 03:07 AM - Forum: General Questions - Replies (3)

Hello, im really in the need of a HDMI or digital video output shield for my main fpga board, Im thinking to buy the Alchitry Au but dont know if you're going to release a shield like that.

  Uploading to Mojo crashes Alchitry Labs
Posted by: mc_deltat - 03-16-2019, 09:58 AM - Forum: General Questions - Replies (1)

Whenever I try to upload a project to my Mojo board, Alchitry Labs crashes instantly. No popup or error message or anything, it just closes.
Log file is attached.

  VS Code Integration
Posted by: r0ck3t - 03-13-2019, 01:39 AM - Forum: General Questions - Replies (1)

Is VS Code integration something that is being looked into in terms of supporting an IDE? It already has a bunch of great features, and platforms such as PlatformIO have made great use of it for something that is cross platform and runs great. This might free up some time from IDE support to specific features which would be great!

If this is not something that is/will be considered, I would be interested in implementing something similar since that is what I always use, and I am slow to adopt new IDEs.

  Onboard SRAM support
Posted by: r0ck3t - 03-13-2019, 01:36 AM - Forum: General Questions - Replies (4)

Is there a projected time frame for when on board SRAM is going to be supported? I have no problem writing support, but I would like to know I am not re-implementing something that is almost done, or already done by the board supporters!

  Simulation extensions
Posted by: r0ck3t - 03-13-2019, 01:35 AM - Forum: General Questions - Replies (1)

Currently the only way that I can think of to utilize simulations, for Lucid or Verilog, is to either, import the transpiled (or native) Verilog code into Vivado, then write my test bench there for simulation purposes. This is sorta clunky, but the simulations are very useful for more complex designs. 

Is there any future plans to implement some sort of simulation process into Alchitry Labs, or is this going to be the normal process?

  ICEcube2 licensing on Linux where network interface is not eth0 (solution)
Posted by: RuffaWuffa - 03-11-2019, 01:07 AM - Forum: Tips and Tricks - Replies (1)

While trying to build the demo project for the CU using the 1.0.3 version of the Alchitry IDE and IceStorm, I had found the same .sdc constraint issue later mentioned by kitlaan in the General Questions forum.  Seeing that the IDE was looking to arachne-pnr instead of nextpnr, and that nextpnr had a qt GUI dependency that I didn't want to deal with, falling back to ICEcube2 looked to be the solution.  ICEcube2 did not seem to recognize the free license.

The system in question here is a Fedora 28 64bit, though it does apply to other distributions as well.

Problem found:
ICEcube2 want's it's license bound to the MAC address of the network device eth0 when on Linux.

Some modern Linux systems name the network interfaces based upon the slot, or more accurately which data bus it connects to the CPU through, such as enp5s2.  This is great on server systems with multiple wired interfaces, as the kernel could swap the interface that eth0 and eth1 were bound to under some circumstances otherwise.  However useful this may be, it doesn't really serve much purpose on systems with one interface.

Solution found:
Adding two parameters ( net.ifnames=0 biosdevname=0 ) to the kernel boot command as per this StackExchange article solved the problem.

Extra notes:
Comments in the article also mention it working for versions of CentOS and Ubuntu.

If the system was set up with a static IP address in it's network settings, then that will have to be configured again as well.
Also check firewall configuration if the system has rules based on interface names.

If the system does not have a standard wired interface at all, then other methods may be necessary.  Renaming an interface using udev rules instead for example.

On the Fedora system running Gnome desktop, for some reason I was unable to lock the screen after applying this fix.  The dconf setting for org.gnome.desktop.lockdown disable-lock-screen had toggled to true for unknown reasons and needed set back.  This change didn't make sense and may have been coincidental.

  Help with Lucid - Structs and Globals
Posted by: Rory - 03-09-2019, 05:28 PM - Forum: General Questions - Replies (1)

I was hoping that somebody (probably at Alchitry) might feel like writing a short tutorial about how to use Structs and Globals.
I feel like they could help simplify my designs, but I am honestly at a loss for how to use them. 

I bought Justin's book (see cheesy photo), and that was a great help when I was just starting with my first projects, but the sections on structs and globals have just left me confused.

For instance, how "global" really is a globally defined struct? 
Can I define it in one module, then make an instance of it in another module, and assign members to different things like a dff?
Can I even have multiple instances of the same struct? 
Is that question even meaningful? 
Does a struct either have to be wholly an input or wholly an output?
If something is a global (like a struct), why would I bother putting it in a module port list as an input or output, since I should just be able to refer to it from anywhere. ???

I have read the relevant sections multiple times, and attempted to just figure out structs/globals out by trial and error, but honestly, I'm just confused as hell.

I'll keep spreading the good word about Alchitry/Lucid regardless, but any help would be greatly appreciated. 

[Image: JjxLMYMhB6SeljFYb2tFaQpOySwnoCOLgTlixdfX...42-h159-no]

  Cu Demo Project fails to build with IceStorm
Posted by: kitlaan - 03-07-2019, 01:23 AM - Forum: General Questions - Replies (7)

Using Alchitry Labs 1.0.3 on Linux using the ubuntu-provided IceStorm packages (fpga-icestorm et al).

I had the IDE create a new Lucid "Cu IO Element Demo" project and built it.

It fails with:


Finished synthesis.

Project IceStorm doesn't support .sdc constraints. "/home/.../CuDemo/work/constraint/alchitry.sdc" will be ignored.
seed: 1
device: 8k
read_chipdb +/share/arachne-pnr/chipdb-8k.bin...
 supported packages: cb132, cb132:4k, cm121, cm121:4k, cm225, cm225:4k, cm81, cm81:4k, ct256, tq144:4k
read_blif /home/.../CuDemo/work/alchitry.blif...
read_pcf /home/.../CuDemo/work/constraint/alchitry.pcf...
fatal error: $_TBUF_ gate must drive top-level output or inout port

Finished placement.
Error: Failed to open input file.

Bin file (/home/.../CuDemo/work/alchitry.bin) could not be found! The build probably failed.

  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!