diff options
author | Josh Blum <josh@joshknows.com> | 2012-03-15 17:57:18 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-03-16 11:29:18 -0700 |
commit | 6d70e5b3ad4c973a798dd00335fb8785b8c84ff3 (patch) | |
tree | 3874fc406285c9c28448fb69cfadfb5fa0f02517 /usrp2/control_lib | |
parent | 28e0a0e38cecdb3e05c9a15ed43bef1cfce7734b (diff) | |
download | uhd-6d70e5b3ad4c973a798dd00335fb8785b8c84ff3.tar.gz uhd-6d70e5b3ad4c973a798dd00335fb8785b8c84ff3.tar.bz2 uhd-6d70e5b3ad4c973a798dd00335fb8785b8c84ff3.zip |
spi core: ready logic low one cycle earlier
FIFO ctrl can poke registers every other cycle,
the extra time to register not ready for spi core was too long.
And it with ~trigger to get the not-ready one cycle earlier,
so FIFO ctrl can block on the 2nd potential spi transaction.
Diffstat (limited to 'usrp2/control_lib')
-rw-r--r-- | usrp2/control_lib/simple_spi_core.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usrp2/control_lib/simple_spi_core.v b/usrp2/control_lib/simple_spi_core.v index 208fceb23..3c0ed60b9 100644 --- a/usrp2/control_lib/simple_spi_core.v +++ b/usrp2/control_lib/simple_spi_core.v @@ -106,7 +106,7 @@ module simple_spi_core reg [2:0] state; reg ready_reg; - assign ready = ready_reg; + assign ready = ready_reg && ~trigger_spi; //serial clock either idles or is in one of two clock states reg sclk_reg; |