Blocks Used
Block |
Function |
spi_master |
Generates SCLK, MOSI, and CS_n; sends incremental byte values |
spi_slave |
Samples MOSI on SCLK rising edge; outputs data_valid pulse |
data_register |
Synchronously latches input d into q when load = 1 |
LEDs |
Displays the 8-bit output from the register |
Slave Blocks: On one workstation, instantiate and configure the spi_slave and data_register blocks. Record a GIF showing:
Master Block: On a separate workstation, instantiate and configure the spi_master block. Record a GIF that demonstrates:
No Comments