diff options
author | Matt Ettus <matt@ettus.com> | 2009-11-18 15:24:02 -0800 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2009-11-18 15:24:02 -0800 |
commit | 72cc0e23976c03627877f9bdfc26e81b333ae012 (patch) | |
tree | eb07c18cc7bf9c2524d59d4d33696bd0e4912539 /vrt/vita_tx_control.v | |
parent | 80610d42fc8b0a7e9ee424fb6c01d5f34f925fc3 (diff) | |
download | uhd-72cc0e23976c03627877f9bdfc26e81b333ae012.tar.gz uhd-72cc0e23976c03627877f9bdfc26e81b333ae012.tar.bz2 uhd-72cc0e23976c03627877f9bdfc26e81b333ae012.zip |
mostly just copied over from the rx side. Still needs a lot of work.
Diffstat (limited to 'vrt/vita_tx_control.v')
-rw-r--r-- | vrt/vita_tx_control.v | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/vrt/vita_tx_control.v b/vrt/vita_tx_control.v index 2e96e6d42..5c5ad9fc9 100644 --- a/vrt/vita_tx_control.v +++ b/vrt/vita_tx_control.v @@ -1,28 +1,24 @@ -module vita_rx_control +module vita_tx_control #(parameter BASE=0, parameter WIDTH=32) (input clk, input reset, input clear, input set_stb, input [7:0] set_addr, input [31:0] set_data, input [63:0] vita_time, - output overrun, + output underrun, - // To vita_rx_framer - output [4+64+WIDTH-1:0] sample_fifo_o, - output sample_fifo_src_rdy_o, - input sample_fifo_dst_rdy_i, + // From vita_tx_deframer + input [4+64+WIDTH-1:0] sample_fifo_o, + input sample_fifo_src_rdy_i, + output sample_fifo_dst_rdy_o, - // From DSP Core - input [WIDTH-1:0] sample, + // To DSP Core + output [WIDTH-1:0] sample, output run, - input strobe, - - output [31:0] debug_rx + input strobe ); - // FIXME add TX Interruption (halt, pause, continue) functionality - wire [63:0] new_time; wire [31:0] new_command; wire sc_pre1, clear_int, clear_reg; |