diff options
author | Matt Ettus <matt@ettus.com> | 2010-02-17 15:00:41 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-02-17 15:00:41 -0800 |
commit | 1912ff60acd490a24204a7596e373e9aef9276cd (patch) | |
tree | bfafc8c569e7b3425746f94608fb83358e43529b /usrp2/models | |
parent | d4649caee02a1c76802dc4f8d7d76bb31b14ce09 (diff) | |
download | uhd-1912ff60acd490a24204a7596e373e9aef9276cd.tar.gz uhd-1912ff60acd490a24204a7596e373e9aef9276cd.tar.bz2 uhd-1912ff60acd490a24204a7596e373e9aef9276cd.zip |
speed up the presentation of registered wb data to the gpmc
Diffstat (limited to 'usrp2/models')
-rw-r--r-- | usrp2/models/gpmc_model.v | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/usrp2/models/gpmc_model.v b/usrp2/models/gpmc_model.v index ce3acaacf..38dde1fa5 100644 --- a/usrp2/models/gpmc_model.v +++ b/usrp2/models/gpmc_model.v @@ -25,16 +25,18 @@ module gpmc_model input [10:0] addr; input [15:0] data; begin - #2; + #2.3; EM_A <= addr[10:1]; EM_D_int <= data; - #4; + #2.01; EM_NCS6 <= 0; - #5; + #14; EM_NWE <= 0; - #41; - EM_NWE <= 1; + #77.5; EM_NCS6 <= 1; + //#1.5; + EM_NWE <= 1; + #6; EM_A <= 10'bz; EM_D_int <= 16'bz; end @@ -43,17 +45,19 @@ module gpmc_model task GPMC_Read; input [10:0] addr; begin - #2; + #1.3; EM_A <= addr[10:1]; - #4; + #3; EM_NCS6 <= 0; - #5; + #14; EM_NOE <= 0; - #41; - EM_NOE <= 1; + #77.5; EM_NCS6 <= 1; - EM_A <= 10'bz; + //#1.5; $display("Data Read from GPMC: %X",EM_D); + EM_NOE <= 1; + #254; + EM_A <= 10'bz; end endtask // GPMC_Read |