leonardt / silica-old

Other
2 stars 0 forks source link

Implement unit testing framework #7

Open leonardt opened 7 years ago

leonardt commented 7 years ago

On device logic that listens on an IO port (start with UART for icestick). Decodes messages of format (cmd, address, value) that, depending on the value of cmd, reads or sets the value of the register at address, or toggles the clock (ignoring address and value)

Host driver sets the value of input registers, toggles the clock to trigger logic, reads the value of output registers based on input/output test vectors. Also supports an interactive frontend that supports setting/reading register values and toggling the clock.