diff options
author | 2022-10-23 14:06:38 -0400 | |
---|---|---|
committer | 2022-10-23 14:06:38 -0400 | |
commit | 6459fc5c2a87a997557d91e7e4c2538743f2e093 (patch) | |
tree | 44136ba78fed48ae8ebb2ee980a83a2523dc6270 | |
parent | add error return for tests (diff) |
metastability comment
-rw-r--r-- | spi_master.v | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/spi_master.v b/spi_master.v index 82e5ee8..0f07d8a 100644 --- a/spi_master.v +++ b/spi_master.v @@ -44,7 +44,13 @@ spi_master ); `ifndef SPI_MASTER_NO_READ -/* MISO is almost always an external wire, so buffer it. */ +/* MISO is almost always an external wire, so buffer it. + * This might not be necessary, since the master and slave do not respond + * immediately to changes in the wires, but this is just to be safe. + * It is trivial to change, just do + * wire read_miso = miso; + */ + reg miso_hot = 0; reg read_miso = 0; |