UPDUino FPGA workshop: Difference between revisions

From RevSpace
Jump to navigation Jump to search
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Project
{{Event
  |Name=FPGA workshop
  |Name=FPGA workshop
  |Picture=[[File:UpduinoV2.jpg]]
  |Picture=UpduinoV2.jpg
  |Omschrijving=A workshop to give people the basic knowledge needed to start developing FPGA projects.
  |Omschrijving=A workshop to give people the basic knowledge needed to start developing FPGA projects.
  |Status=Initializing
  |Status=Initializing
  |Contact=Ranzbak
  |Contact=Ranzbak
|InfoLocation=Overgoo 1, Leidschendam
|InfoOpen=13:37
|DateStart=  {{#time: 2019-04-13 14:00 }} 
|DateEnd=  {{#time: 2019-04-13 17:30 }} 
}}
}}


=== FPGA Workshop ===
== FPGA Workshop ==


I would like to have the first session of the workshop at Revspace, an Saturday 13th of April from 14:00 till +- 17:30.
I would like to have the first session of the workshop at Revspace, Saturday 13th of April from 14:00 till +- 17:30.
Since this is the first time I'm going to give this workshop, I would like to keep it small, and have people provide feedback.  
Since this is the first time I'm going to give this workshop, I would like to keep it small, and have people provide feedback.  
So 8 people is the maximal amount of people, if there are enough requests I'm going to do another workshop for more persons.
So 8 people is the maximal amount of people, if there are enough requests I'm going to do another workshop for more persons.


If you want to take part, please add your name below.
If you want to take part, please [[UPDUino_FPGA_workshop#Attendees|add your name below]].


Prerequisites:
=== Prerequisites: ===
* Installed Icestorm toolchain, that supports the Lattice ICE40UP5K FPGA. For instructions [http://www.clifford.at/icestorm/#install]
* Installed Icestorm toolchain, that supports the Lattice ICE40UP5K FPGA. For instructions [http://www.clifford.at/icestorm/#install read here] or use a [https://github.com/ddm/icetools script that does the work]
* A micro usb cable
* 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)
* 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, an Saturday the 13th (There will be some breaks)
* 4 hours of your time, an Saturday the 13th (There will be some breaks)
* Some basic knowledge about programming
* Some basic knowledge about programming


Appreciated:
#benadski tried to build the toolchain in windows but failed...
 
=== Appreciated: ===
* Feedback
* Feedback


If you have your own UPDuino, it's fine to join in, if not you can buy a kit from me for '''20 euros''', containing :
If you have your own UPDuino, it's fine to join in, if not you can buy a kit from me for '''20 euros''', containing :


* A UPDuino V2 FPGA development board [[http://www.gnarlygrey.com/]]
* A [http://www.gnarlygrey.com/ UPDuino V2 FPGA development board]
* Breadboard to install the UPDuino on
* Breadboard to install the UPDuino on
* DS18B20 temperature sensor
* DS18B20 temperature sensor
* some dupont wire
* Some dupont wire
* 2x 12kΩ 1x 4.7kΩ resistor
* 2x 12kΩ 1x 4.7kΩ resistor


Topics: (If I can fit them all in)
=== Topics: (If I can fit them all in) ===
* Basic IO
* Basic IO
* Modules
* Modules
Line 45: Line 51:
* Building a simple state machine using case statements
* Building a simple state machine using case statements


=== Please install the toolchain before showing up ===
== 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.
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.


Line 68: Line 74:
</nowiki>
</nowiki>
</pre>
</pre>
[https://github.com/ranzbak/fpga-workshop 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.
'''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.
If not try to find a newer version and install it before the workshop.


=== Attendees ===


{|class="wikitable"
{|class="wikitable"
Line 79: Line 88:
|Anus Jan
|Anus Jan
|Only the board
|Only the board
|-
|PiepPiep
|No
|-
|-
|Benadski
|Benadski
Line 89: Line 95:
|No
|No
|-
|-
|pbx
|No
|-
|AnonyMou5e
|No
|-
|hnbr!s
|No
|-
|minicom
|No
|-
|cmpxchg
|No
|}
|}

Latest revision as of 18:00, 11 April 2019

Event FPGA workshop
UpduinoV2.jpg
Name FPGA workshop
Contact Ranzbak
Duration 2019-04-13 14:00 - 2019-04-13 17:30
Information


* Location: Overgoo 1, Leidschendam
* Open from: 13:37

FPGA Workshop

I would like to have the first session of the workshop at Revspace, Saturday 13th of April from 14:00 till +- 17:30. Since this is the first time I'm going to give this workshop, I would like to keep it small, and have people provide feedback. So 8 people is the maximal amount of people, if there are enough requests I'm going to do another workshop for more persons.

If you want to take part, please add your name below.

Prerequisites:

  • 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, an Saturday the 13th (There will be some breaks)
  • Some basic knowledge about programming
  1. benadski tried to build the toolchain in windows but failed...

Appreciated:

  • Feedback

If you have your own UPDuino, it's fine to join in, if not you can buy a kit from me for 20 euros, containing :

Topics: (If I can fit them all in)

  • Basic IO
  • Modules
  • Constraint files
  • The clock
  • Using simulation
  • Module parameters
  • Wires registers and variables
  • Arrays
  • 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

(Nick)Name Has UPDuino V2
Anus Jan Only the board
Benadski Yes
Renze No
pbx No
AnonyMou5e No
hnbr!s No
minicom No
cmpxchg No