Difference between revisions of "Programmable Logic Lessons"

From Hackerspace.gr
Jump to: navigation, search
Line 37: Line 37:
 
* Verilog syntax & examples
 
* Verilog syntax & examples
 
** We'll do some hands on basic stuff on our h/w !
 
** We'll do some hands on basic stuff on our h/w !
 +
  
  
Line 46: Line 47:
 
** Buffers, fifo, pipelines, etc
 
** Buffers, fifo, pipelines, etc
 
** We'll Implement something relevant to avoid too much boring theory
 
** We'll Implement something relevant to avoid too much boring theory
 +
 +
 +
  
 
==== Computer architecture ====
 
==== Computer architecture ====
Line 55: Line 59:
 
* Think together a custom, minimal SoC
 
* Think together a custom, minimal SoC
 
** We'll actually implement this later on :)
 
** We'll actually implement this later on :)
 +
 +
 +
 +
  
 
==== Computer architecture, part 2 ====
 
==== Computer architecture, part 2 ====
Line 60: Line 68:
 
** Implement it in software, see what tools are needed etc
 
** Implement it in software, see what tools are needed etc
 
** Break it in blocks so we can work on the verilog part
 
** Break it in blocks so we can work on the verilog part
 +
 +
 +
 +
  
 
==== Computer architecture, part 3 ====
 
==== Computer architecture, part 3 ====
Line 68: Line 80:
 
* General talk about sharing/working with open source hardware
 
* General talk about sharing/working with open source hardware
 
** http://opencores.org/, etc
 
** http://opencores.org/, etc
 +
  
  
Line 77: Line 90:
 
Atlys - Spartan6 - http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,836&Prod=ATLYS&CFID=1733993&CFTOKEN=46850973
 
Atlys - Spartan6 - http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,836&Prod=ATLYS&CFID=1733993&CFTOKEN=46850973
 
* has cute hdmi output
 
* has cute hdmi output
 +
 +
 +
  
 
=== Related material ===
 
=== Related material ===
 
* http://www.doe.carleton.ca/~jknight/97.478/PetervrlK.pdf (Verilog introduction)
 
* http://www.doe.carleton.ca/~jknight/97.478/PetervrlK.pdf (Verilog introduction)
 
* http://hamsterworks.co.nz/mediawiki/index.php/FPGA_course (VHDL, we'll actually do verilog though)
 
* http://hamsterworks.co.nz/mediawiki/index.php/FPGA_course (VHDL, we'll actually do verilog though)
 +
 +
 +
  
 
=== Useful Links ===
 
=== Useful Links ===
Line 86: Line 105:
 
* https://github.com/skmp/tsc8 (A tiny cpu I implemented in vhdl a long time ago)
 
* https://github.com/skmp/tsc8 (A tiny cpu I implemented in vhdl a long time ago)
 
* http://opencores.org/ (Lots and lots of code you can stare at)
 
* http://opencores.org/ (Lots and lots of code you can stare at)
 +
 +
 +
  
 
=== Contact ===
 
=== Contact ===

Revision as of 23:58, 23 May 2013

Description

Basic introduction into fpgas and stuff. This will have a lot of new stuff if you are a total begginer, you'll have to study abit to keep up :)

The plan is to have 3 introductory sessions, and then get into more hands on stuff. Hopefully we'll have our own (tiny and minimal) working cpu by the end of this !

Prerequisite knowledge and skills

  • Basic understanding of programming
  • Basic knowledge of git (http://githowto.com/ can help you, we'll use git for examples and collaborating)
  • Github account (We'll host our stuff there)
  • A laptop (We do some some spare computers in hackerspace, but you'll need to work on your own at home)


Doodle pool for date selection

http://www.doodle.com/yp99tnvzvq7ygwmy#table -> Begining Tuesday, May 28, 2013 7:00 PM - 9:00 PM, and generally Tuesdays 7 - 9


Schedule

Digital electronics recap - Tuesday, May 28, 2013 7:00 PM - 9:00 PM



Tooling, VHDL/Verilog basics



More complicated structures

  • More digital design stuff
    • Clocked vs clockless/asynchronous design
    • Clock domains, etc
    • Buffers, fifo, pipelines, etc
    • We'll Implement something relevant to avoid too much boring theory



Computer architecture

  • Basic stuff
    • Buses/Protocols, basic design ideas
    • how is cpu design done
    • What are SoCs
    • Emulation/simulation
  • Think together a custom, minimal SoC
    • We'll actually implement this later on :)



Computer architecture, part 2

  • More work on the design we'll have
    • Implement it in software, see what tools are needed etc
    • Break it in blocks so we can work on the verilog part



Computer architecture, part 3

  • Implement the design in verilog
  • Explore perfomance/cost/etc
    • Let's make something fun with it -- perhaps a tiny brix clone or smth ?
  • General info about more complex cpu designs (closer to the curren generation of cpus) and about gpu/stream processing
  • General talk about sharing/working with open source hardware



Hardware

Papilio One - 500K - https://www.sparkfun.com/products/11158

  • Xilinx Spartan 3E/500K gates

Atlys - Spartan6 - http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,836&Prod=ATLYS&CFID=1733993&CFTOKEN=46850973

  • has cute hdmi output



Related material



Useful Links



Contact

Μέσω της λίστας γενική συζήτησης βάζοντας το label [PLD-Lessons] στην αρχή του subject.