forked from erebus-labs/blocks-o-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Communication Contract
Tyler Thomas Hart edited this page Mar 13, 2015
·
2 revisions
-
Defined Interfaces
- Daisy-Chain to Daisy-Chain (incl' CPU)
- Global Bus to CPU
- CPU Daisy-Chain code CPU global bus code
-
Start Commandtakes 2unsigned intsxtheny. - Returns a
unsigned int == 1if there was a block there.
-
- CPU Global Bus Code to Lexer
- Lexer asks Global bus for function at arbitrary location
- Lexer responds with either a function or NULL (no block at location) == enum`
- Currently the CPUs
unsigned intimplementation.
-
Start Commandto propagate, returns the same as point #3's return val
- Lexer asks Global bus for function at arbitrary location
- On-Block Daisy-Chain to Global Bus
- Daisy Chain calls a global bus function that sets comm address.
- Function returns failure so the daisy knows not to propagate.
- Timing and orchestration will be decided on separate contract.
- Daisy Chain calls a global bus function that sets comm address.
- Parser to CPU Global Bus Code (For error lights).
- Interpreter to CPU Global Bus Code (For program outputs).
"BLOCKS-O-CODE" is a PSU ECE Senior Capstone Project Sponsored by Erebus Labs
All Content Licensed By GNU GPL V2