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



Search Forums

(Advanced Search)

Forum Statistics
» Members: 199
» Latest member: DavidWalker
» Forum threads: 96
» Forum posts: 252

Full Statistics

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

Latest Threads
Challenges for Students i...
Forum: General Questions
Last Post: DavidWalker
4 hours ago
» Replies: 5
» Views: 144
Avail Facebook Customer S...
Forum: General Questions
Last Post: maconharris
8 hours ago
» Replies: 0
» Views: 1
If Feed Of Game-Room Is N...
Forum: General Questions
Last Post: maconharris
8 hours ago
» Replies: 0
» Views: 1
Do Fundraiser On FB with ...
Forum: General Questions
Last Post: lanedavis
10 hours ago
» Replies: 0
» Views: 3
Via Facebook Customer Ser...
Forum: General Questions
Last Post: lanedavis
10 hours ago
» Replies: 0
» Views: 2
Can someone clean up the ...
Forum: General Questions
Last Post: prebys
Yesterday, 07:14 PM
» Replies: 0
» Views: 5
What I need to develop an...
Forum: General Questions
Last Post: muneebqadar
Yesterday, 11:38 AM
» Replies: 0
» Views: 3
Unable to see messages in...
Forum: General Questions
Last Post: sofimariyam
Yesterday, 10:43 AM
» Replies: 0
» Views: 5
Writing is an extremely d...
Forum: General Questions
Last Post: JessyWhite
Yesterday, 10:28 AM
» Replies: 3
» Views: 105
4 Go-To Apps For Revision...
Forum: General Questions
Last Post: JessyWhite
Yesterday, 10:27 AM
» Replies: 0
» Views: 2

  Alchitry 1.1.1 | Cu Build failing, How can i fix it?
Posted by: sumane123 - 08-04-2019, 01:48 PM - Forum: General Questions - No Replies

Starting iceCube2...
C:\Program Files\Alchitry\Alchitry Labs>SET TCL_LIBRARY=C:\lscc\iCEcube2.2017.08\Aldec\Active-HDL\tcl\lib\tcl
C:\Program Files\Alchitry\Alchitry Labs>SET LM_LICENSE_FILE=C:\lscc\iCEcube2.2017.08\license\license.dat
C:\Program Files\Alchitry\Alchitry Labs>SET SYNPLIFY_PATH=C:\lscc\iCEcube2.2017.08\synpbase
C:\Program Files\Alchitry\Alchitry Labs>SET SBT_DIR=C:\lscc\iCEcube2.2017.08\sbt_backend
C:\Program Files\Alchitry\Alchitry Labs>C:\lscc\iCEcube2.2017.08\sbt_backend\bin\win32\opt\synpwrap\synpwrap.exe -prj "C:\Users\acer\Desktop\blink2\blink2\work\alchitry_syn.prj" -log "C:\Users\acer\Desktop\blink2\blink2\work\icelog.log"
Copyright © 1992-2014 Lattice Semiconductor Corporation. All rights reserved.
Error of dumping file C:\Users\acer\Desktop\blink2\blink2\work\icelog.log, 'stdout.log' is instead.
Synthesis exit by 2.
C:\Program Files\Alchitry\Alchitry Labs>C:\lscc\iCEcube2.2017.08\Aldec\Active-HDL\BIN\tclsh85.exe "C:\Users\acer\Desktop\blink2\blink2\work\iCEcube2_flow.tcl"
Error : can not print out log file stdout.log
Run edifparser ...
{C:\lscc\iCEcube2.2017.08\sbt_backend/bin/win32/opt/edifparser} {C:\lscc\iCEcube2.2017.08\sbt_backend/devices\ICE40P08.dev} {C:/Users/acer/Desktop/blink2/blink2/work/alchitry_imp/cu_top_0.edf} {C:/Users/acer/Desktop/blink2/blink2/work/alchitry_imp/sbt/netlist}  -p"CB132"  {-y} {"C:/Users/acer/Desktop/blink2/blink2/work/constraint/merged_constraint.pcf "} --devicename  iCE40HX8K
Lattice Semiconductor Corporation  Edif Parser
Release:        2017.08.27940
Build Date:     Sep 11 2017 16:51:25
Parsing edif file: C:/Users/acer/Desktop/blink2/blink2/work/alchitry_imp/cu_top_0.edf...
Error: ParseEDIF C:/Users/acer/Desktop/blink2/blink2/work/alchitry_imp/cu_top_0.edf failed
Kparser Unable to open C:/Users/acer/Desktop/blink2/blink2/work/alchitry_imp/cu_top_0.edf
child process exited abnormally
edifparser failed:CHILDSTATUS 9412 1
Bin file (C:\Users\acer\Desktop\blink2\blink2\work\alchitry_imp\sbt\outputs\bitmap\cu_top_0_bitmap.bin) could not be found! The build probably failed.

  Alchitry labs 1.1.1 does neither syntax check nor build a binary
Posted by: PhreakShow - 07-25-2019, 03:38 PM - Forum: General Questions - No Replies

Hey guys,

I have a Mojo v3 with the HDMI shield and I wanted to follow the HDMI projects (passthrough, creating an HDMI output, etc).

After downloading the non Win10 design suite and obtaining a license file, I started alchitry and set the path to 14.7. But the buttons "check syntax" and "build project" do not produce any output at all. No error messages, nothing. 

ISE itself is running fine, I can program the spartan without problems. Just alchitry does not seem to do anything.

Any ideas?

OS is Win10 x64

  Can no longer program straight from Alchitry with version 1.1.1
Posted by: prebys - 07-23-2019, 09:23 PM - Forum: General Questions - No Replies

I'm running Alchitry in a Windows 7 VM (Parallels) on a Mac.

This has always worked fine in the past, but after I upgraded to version 1.1.1, my project will
compile, but when I try to download it from the IDE, I get the following error:

org.usb4java.LibUsbException: USB error 5: LibUsb.open() failed: Entity not found
    at com.alchitry.labs.hardware.usb.UsbDevice.usbFindAll(UsbDevice.java:218)
    at com.alchitry.labs.hardware.usb.UsbUtil.getDevice(UsbUtil.java:46)
    at com.alchitry.labs.hardware.usb.UsbUtil.openFtdiDevice(UsbUtil.java:91)
    at com.alchitry.labs.hardware.loaders.AuLoader.eraseFlash(AuLoader.java:21)
    at com.alchitry.labs.hardware.loaders.ProjectLoader.erase(ProjectLoader.java:54)
    at com.alchitry.labs.project.Project$9.run(Project.java:1557)

On the other hand, if I run the Alchitry loader, it works fine for both programming and flashing the EEPROM.

I'd appreciate any advice.

Never mind!  I skipped 1.1.0, so I didn't get the splash about installing WinUSB.  It works now.

  Issue with mojo/edid_rom/i2c_slave.
Posted by: ocr - 07-12-2019, 04:20 PM - Forum: General Questions - Replies (1)


It seems there is a bug in i2c_slave implementation for Mojo/HDMI Shield. I have used rk3328 box as HDMI source in HDMI pass through scenario. On HDMI source I can see error: "failed to get edid".

Inside i2c_slave.luc there is state transition from READ_ACK_WAIT to WRITE_BYTE. It is good idea to check master's ACK/NACK before going to WRITE_BYTE again. Go to IDLE state if master responds NACK. Currently it goes into WRITE_BYTE anyway and continues to write into bidirectional sda line. Such behavior considered incorrect. For more details see please patch in attachment.


Attached Files
.txt   fix_i2c_slave.txt (Size: 354 bytes / Downloads: 6)

Shocked Io element to shield connector
Posted by: Torkle - 07-04-2019, 12:12 PM - Forum: General Questions - Replies (1)

How do I easily convert an io element into an io shield to stack onto the mojo dev board? Many thanks

  New to FPGA - HDMI project
Posted by: crazy-logic - 07-01-2019, 04:43 PM - Forum: General Questions - Replies (2)

Hi all, 

I'm new to FPGA's but have a background in PIC/Arduino projects. I would like to grab a mojo board and the HDMI shield and then be able to make modifications to the image "live". 

I imagine I can store the image in a frame buffer and then output that frame rather than processing pixel by pixel in a live fashion. (separating the input and output clocks). Going forward I would like to be able to do things like fade to and from black (or other colour), load in stills into a separate buffer and fade to and from them, And possible scale 1/4 of the screen input to be full output. I realise this is all quite ambitious, but the mojo and HDMI shield look like they would fit the bill for learning how to do these things? 

Anyone got any tips, advice or suggestions or support they would like to share with me? 


  Powering the Mojo V3 and AU through the RAW voltage pins
Posted by: Snoogerbot - 06-19-2019, 04:18 PM - Forum: General Questions - No Replies

So I have a question that applies to both the Mojo V3 and the Au boards.

I know that both can be powered through the RAW voltage pins mixed in with the I/O pins. My question is, is it safe to plug in USB for programming while the board is being powered this way? Can these boards be programmed "in circuit" without damaging the board or the computer? Do I need to remove them from the project before programming?

  CuBr pins
Posted by: samuelcomeau - 05-19-2019, 09:52 PM - Forum: Tips and Tricks - Replies (2)

Hello all, 
I noticed the was not a convenient list of what physical pins of the Cu board connects to what header on the Br board. So I figured it out and am going to post the .pcf file here. I also have a template for icestorm builds using that pcf. I was wondering if I should submit a pull request and to which projects if any. Would anybody be interested? Also, did I duplicate work by accident?

Attached Files
.txt   pins.txt (Size: 1.68 KB / Downloads: 45)

  Lucid for other boards
Posted by: only1sale - 05-17-2019, 08:39 PM - Forum: General Questions - Replies (1)

Hi, I am just learning about FPGA and programming it and don't know much about it.
I was wondering if Alchitry Labs and the Lucid IDE can be used to program other boards that have a different usecase but posses the Xilinx chip, like the ettus USRP?

  5 ways to debug - what do you use?
Posted by: kpelckmans - 05-13-2019, 07:32 AM - Forum: General Questions - Replies (2)

Hi all,

In my FPGA adventures, I quickly stumbled onto the "FPGA Hell", so now I am looking how to debug the signals going through the Alchitry boards.

Which tool do you prefer and why?

  1. Alchitry wave capture
    [Image: wavecap.gif?v=1516210021]

  2. Wishbone controlled scope to capture vcd and show in gtkwave, setup described in this article
    [Image: memscope.png]

  3. Vivado debugging Integrated Logic Analyzer ILA
    [Image: 1492471766607.png]

  4. Litescope, wich can also export to sigrok
    [Image: Sigrok_intro_5-ds1307-decode.png]
  5. Your own debug statements sent over uart
I am curious to hear which one you use and why!