diff options
author | Josh Blum <josh@joshknows.com> | 2012-01-27 13:20:34 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-01-27 13:20:34 -0800 |
commit | bcda4624deb5a81ba2ad338157c44855dab56397 (patch) | |
tree | 83a1157f7715dd05e426d9ab2d954d5f7cec0916 /usrp2/vrt/vita_rx_chain.v | |
parent | e633f884d728c24e6f5749d5821b9c62ec8fd17e (diff) | |
download | uhd-bcda4624deb5a81ba2ad338157c44855dab56397.tar.gz uhd-bcda4624deb5a81ba2ad338157c44855dab56397.tar.bz2 uhd-bcda4624deb5a81ba2ad338157c44855dab56397.zip |
dsp rework: implemented dsp changes for other top levels
added user registers into each toplevel (not used yet)
Diffstat (limited to 'usrp2/vrt/vita_rx_chain.v')
-rw-r--r-- | usrp2/vrt/vita_rx_chain.v | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/usrp2/vrt/vita_rx_chain.v b/usrp2/vrt/vita_rx_chain.v index 13defdbc6..150da31c9 100644 --- a/usrp2/vrt/vita_rx_chain.v +++ b/usrp2/vrt/vita_rx_chain.v @@ -21,7 +21,7 @@ module vita_rx_chain parameter UNIT=0, parameter FIFOSIZE=10, parameter PROT_ENG_FLAGS=1) - (input clk, input reset, input clear, + (input clk, input reset, input set_stb, input [7:0] set_addr, input [31:0] set_data, input [63:0] vita_time, input [31:0] sample, input strobe, @@ -35,7 +35,13 @@ module vita_rx_chain wire [35:0] rx_data_int; wire rx_src_rdy_int, rx_dst_rdy_int; - + + wire clear; + + setting_reg #(.my_addr(BASE+3)) sr + (.clk(clk),.rst(reset),.strobe(set_stb),.addr(set_addr), + .in(set_data),.out(),.changed(clear)); + vita_rx_control #(.BASE(BASE), .WIDTH(32)) vita_rx_control (.clk(clk), .reset(reset), .clear(clear), .set_stb(set_stb),.set_addr(set_addr),.set_data(set_data), |