diff options
author | Josh Blum <josh@joshknows.com> | 2012-07-19 20:35:37 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-07-19 20:35:37 -0700 |
commit | a8a02f97a89597aac8310dd1adff6909e62cb7b4 (patch) | |
tree | 484f9c8f1e7e1547a22c5d8c53ecd92442e723df /usrp2/gpmc | |
parent | bd807be75170ef3b97264c3ac6b2693b6c6b2e13 (diff) | |
download | uhd-a8a02f97a89597aac8310dd1adff6909e62cb7b4.tar.gz uhd-a8a02f97a89597aac8310dd1adff6909e62cb7b4.tar.bz2 uhd-a8a02f97a89597aac8310dd1adff6909e62cb7b4.zip |
e100: tighten timing - less routing on EM_A
There were a few places it was ok to use addr over EM_A.
This makes routing sligtly easier for GPMC signals.
Diffstat (limited to 'usrp2/gpmc')
-rw-r--r-- | usrp2/gpmc/fifo_to_gpmc.v | 2 | ||||
-rw-r--r-- | usrp2/gpmc/gpmc_to_fifo.v | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usrp2/gpmc/fifo_to_gpmc.v b/usrp2/gpmc/fifo_to_gpmc.v index 27252b970..26443a702 100644 --- a/usrp2/gpmc/fifo_to_gpmc.v +++ b/usrp2/gpmc/fifo_to_gpmc.v @@ -82,7 +82,7 @@ module fifo_to_gpmc end GPMC_STATE_EMPTY: begin - if (EM_A == LAST_ADDR) begin + if (addr == LAST_ADDR) begin gpmc_state <= GPMC_STATE_START; gpmc_ptr <= next_gpmc_ptr; addr <= 0; diff --git a/usrp2/gpmc/gpmc_to_fifo.v b/usrp2/gpmc/gpmc_to_fifo.v index 680095620..3932b81ac 100644 --- a/usrp2/gpmc/gpmc_to_fifo.v +++ b/usrp2/gpmc/gpmc_to_fifo.v @@ -75,7 +75,7 @@ module gpmc_to_fifo case(gpmc_state) GPMC_STATE_START: begin - if (EM_A == XFER_OFFSET) begin + if (data_i[16]) begin gpmc_state <= GPMC_STATE_FILL; vita_len <= EM_D; next_gpmc_ptr <= gpmc_ptr + 1; |