diff options
author | Matt Ettus <matt@ettus.com> | 2009-12-08 22:58:49 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2009-12-08 22:58:49 -0800 |
commit | 2de05770dfa11bfbe787a9d9e442d898980fb06a (patch) | |
tree | d8094d9a4c26d754210e991cf1eb35f7921d9659 /vrt/vita_rx_tb.v | |
parent | f31b84fb006ca7614a5fe1885b6e5b1cdc25d2a5 (diff) | |
download | uhd-2de05770dfa11bfbe787a9d9e442d898980fb06a.tar.gz uhd-2de05770dfa11bfbe787a9d9e442d898980fb06a.tar.bz2 uhd-2de05770dfa11bfbe787a9d9e442d898980fb06a.zip |
make the testbench work in this environment, without the crossclock settings bus
Diffstat (limited to 'vrt/vita_rx_tb.v')
-rw-r--r-- | vrt/vita_rx_tb.v | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/vrt/vita_rx_tb.v b/vrt/vita_rx_tb.v index bc62c6898..b4fda9622 100644 --- a/vrt/vita_rx_tb.v +++ b/vrt/vita_rx_tb.v @@ -29,24 +29,26 @@ module vita_rx_tb; wire [7:0] set_addr_dsp; wire [31:0] set_data_dsp; + /* settings_bus_crossclock settings_bus_xclk_dsp (.clk_i(clk), .rst_i(reset), .set_stb_i(set_stb), .set_addr_i(set_addr), .set_data_i(set_data), .clk_o(clk), .rst_o(reset), .set_stb_o(set_stb_dsp), .set_addr_o(set_addr_dsp), .set_data_o(set_data_dsp)); - + */ + wire sample_dst_rdy, sample_src_rdy; //wire [99:0] sample_data_o; wire [64+4+(MAXCHAN*32)-1:0] sample_data_o; vita_rx_control #(.BASE(0), .WIDTH(32*MAXCHAN)) vita_rx_control (.clk(clk), .reset(reset), .clear(0), - .set_stb(set_stb_dsp), .set_addr(set_addr_dsp), .set_data(set_data_dsp), + .set_stb(set_stb), .set_addr(set_addr), .set_data(set_data), .vita_time(vita_time), .overrun(overrun), .sample_fifo_o(sample_data_o), .sample_fifo_dst_rdy_i(sample_dst_rdy), .sample_fifo_src_rdy_o(sample_src_rdy), .sample(sample), .run(run), .strobe(strobe)); vita_rx_framer #(.BASE(0), .MAXCHAN(MAXCHAN)) vita_rx_framer (.clk(clk), .reset(reset), .clear(0), - .set_stb(set_stb_dsp), .set_addr(set_addr_dsp), .set_data(set_data_dsp), + .set_stb(set_stb), .set_addr(set_addr), .set_data(set_data), .data_o(data_o), .dst_rdy_i(dst_rdy), .src_rdy_o(src_rdy), .sample_fifo_i(sample_data_o), .sample_fifo_dst_rdy_o(sample_dst_rdy), .sample_fifo_src_rdy_i(sample_src_rdy), .fifo_occupied(), .fifo_full(), .fifo_empty() ); @@ -61,7 +63,7 @@ module vita_rx_tb; time_64bit #(.TICKS_PER_SEC(120000000), .BASE(0)) time_64bit (.clk(clk), .rst(reset), - .set_stb(set_stb_dsp), .set_addr(set_addr_dsp), .set_data(set_data_dsp), + .set_stb(set_stb), .set_addr(set_addr), .set_data(set_data), .pps(0), .vita_time(vita_time)); always @(posedge clk) |