This wiki has been archived and made read-only.
For up-to-date information about TkkrLab and it's projects please visit our main website at

Difference between revisions of "CyberSaturday : FPGA cursus"


Jump to: navigation, search
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
|Name=CyberSaturday : FPGA cursus
|Name=CyberSaturday : FPGA cursus
Line 16: Line 16:
deelname is gratis, de fpga kit kost 20 euro
deelname is gratis, de fpga kit kost 30 euro
Line 32: Line 32:
=Needed materials=
=Needed materials=
(Available as a kit for 20 euro)
(Available as a kit for 30 euro)
* A UPDuino V2 FPGA development board
* A UPDuino V2 FPGA development board

Latest revision as of 20:43, 2 July 2019

Event CyberSaturday : FPGA cursus
Name CyberSaturday : FPGA cursus
Contact Renze
Duration 2019/09/28 - 2019/09/28

* Location: Tkkrlab
* Open from: 14:00

Originele wiki pagina:



deelname is gratis, de fpga kit kost 30 euro


  • Installed Icestorm toolchain, that supports the Lattice ICE40UP5K FPGA. For instructions read here or use a script that does the work
  • A micro usb cable
  • A working laptop that can run the Icestorm toolchain (Linux or OSX should be fine, for Windows I don't know#)
  • 4 hours of your time (There will be some breaks)
  • Some basic knowledge about programming


  • Feedback

Needed materials

(Available as a kit for 30 euro)

  • A UPDuino V2 FPGA development board
  • Breadboard to install the UPDuino on
  • DS18B20 temperature sensor
  • Some dupont wire
  • 2x 12kΩ 1x 4.7kΩ resistor


   Basic IO
   Constraint files
   The clock
   Using simulation
   Module parameters
   Wires registers and variables
   Verilog tasks, functions, if statements, and for loops.
   Building a simple state machine using case statements

Please install the toolchain before showing up

Because the toolchain is pretty big the compiling takes a long time on my core I5 (40 minutes), so having a working toolchain installed before the workshop very useful.

If the toolchain is already installed, and you would like to know if your toolchain will work with the development UPDuino V2, do the following:

$ arachne-pnr -h

This results in the help being printed, containing a list of the supported devices:

   -d <device>, --device <device>
       Target device <device>.  Supported devices:
         384 - Lattice Semiconductor iCE40LP384
          1k - Lattice Semiconductor iCE40LP/HX1K
          5k - Lattice Semiconductor iCE40UP5K
        lm4k - Lattice Semiconductor iCE40LM4K
          8k - Lattice Semiconductor iCE40LP/HX8K
       Default: 1k

FPGA Workshop on github has links and instructions.

Notice the line '5k - Lattice Semiconductor iCE40UP5K', this tells you that the toolchain is good to go. If not try to find a newer version and install it before the workshop. Attendees