diff options
author | Matt Ettus <matt@ettus.com> | 2010-04-15 17:55:22 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2010-04-15 17:55:22 -0700 |
commit | beccd823da07b7c8b8d95b4688c6e05732f66165 (patch) | |
tree | cfa42bcdf17e8abfd89a06266a43f31fb0c1957d /usrp2/gpmc/fifo_to_gpmc_async.v | |
parent | 449a420f4024004abc49f3a17d224910710def92 (diff) | |
download | uhd-beccd823da07b7c8b8d95b4688c6e05732f66165.tar.gz uhd-beccd823da07b7c8b8d95b4688c6e05732f66165.tar.bz2 uhd-beccd823da07b7c8b8d95b4688c6e05732f66165.zip |
async seems to work with packet lengths now. Still need to do wishbone regs for gpmc
Diffstat (limited to 'usrp2/gpmc/fifo_to_gpmc_async.v')
-rw-r--r-- | usrp2/gpmc/fifo_to_gpmc_async.v | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/usrp2/gpmc/fifo_to_gpmc_async.v b/usrp2/gpmc/fifo_to_gpmc_async.v index 4f253e1b5..5ac8b19bd 100644 --- a/usrp2/gpmc/fifo_to_gpmc_async.v +++ b/usrp2/gpmc/fifo_to_gpmc_async.v @@ -8,7 +8,7 @@ module fifo_to_gpmc_async (input clk, input reset, input clear, input [17:0] data_i, input src_rdy_i, output dst_rdy_o, output [15:0] EM_D, input EM_NCS, input EM_NOE, - input [15:0] frame_len, output reg bus_error); + input [15:0] frame_len); // Synchronize the async control signals reg [1:0] cs_del, oe_del; @@ -35,11 +35,4 @@ module fifo_to_gpmc_async assign dst_rdy_o = do_read; - always @(posedge clk) - if(reset) - bus_error <= 0; - else if(dst_rdy_o & ~src_rdy_i) - bus_error <= 1; - - endmodule // fifo_to_gpmc_async |