Difference between revisions of "PLD Workshop 02 07 2013"
From Hackerspace.gr
(→Computer architecture) |
(→Computer architecture) |
||
Line 22: | Line 22: | ||
* Perhaps port the design to verilog ? | * Perhaps port the design to verilog ? | ||
* Look at the assembler and all :) | * Look at the assembler and all :) | ||
− | * We don't have any new material to present this time. I'll answer any questions on the existing stuff | + | * We don't have any new material to present this time. I'll answer any questions on the existing stuff and then we'll work on finishing our mini cpu :) |
− | + | ||
Revision as of 19:34, 28 June 2013
[Hackerspace.gr external link] |
Starts | Organizer |
---|---|---|
Tue 02 Jul 2013 19:00 | Hackerspace.gr | |
Ends | Event Owner | |
Tue 02 Jul 2013 21:00 | User:Skmp |
Switches! Lots of them!
we'll actually split into teams and all, so we'll really need the laptops this time around
Past slides are in github
Computer architecture
- Brainstorming on exactly what we'll implement
- Perhaps port the design to verilog ?
- Look at the assembler and all :)
- We don't have any new material to present this time. I'll answer any questions on the existing stuff and then we'll work on finishing our mini cpu :)
Check the code in https://github.com/pld-lessons/simple_cpu
For study
- Implement an assembler that accepts assembly in a nice, text format and outputs C code for it
- Modify tiny.cpp to read external binary files
- modify the assembler to generate binary files
Example assembly format
//this is a commend and is ignored mov r0,1 add r0,r1,r2 add r0,r2 //this is a shorthand for add r0,r0,r2 print r0
Also checkout The main page