diff options
author | Matt Ettus <matt@ettus.com> | 2010-09-21 23:15:53 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-05-26 17:31:19 -0700 |
commit | af9c419ec95c665b9f7921957115c870aea0ce46 (patch) | |
tree | faa93fd0331d51c4071f6b826ae31ca3da9a8ad2 | |
parent | 8e6bbbbcd295af744c47304ed305d1676bea1375 (diff) | |
download | uhd-af9c419ec95c665b9f7921957115c870aea0ce46.tar.gz uhd-af9c419ec95c665b9f7921957115c870aea0ce46.tar.bz2 uhd-af9c419ec95c665b9f7921957115c870aea0ce46.zip |
first steps to a command packet handler for u1+
-rw-r--r-- | usrp2/gpif/Makefile.srcs | 1 | ||||
-rw-r--r-- | usrp2/gpif/ctrl_resp.v | 16 |
2 files changed, 17 insertions, 0 deletions
diff --git a/usrp2/gpif/Makefile.srcs b/usrp2/gpif/Makefile.srcs index 9bcbb29f3..1055baaa8 100644 --- a/usrp2/gpif/Makefile.srcs +++ b/usrp2/gpif/Makefile.srcs @@ -9,4 +9,5 @@ GPIF_SRCS = $(abspath $(addprefix $(BASE_DIR)/../gpif/, \ gpif.v \ gpif_wr.v \ gpif_rd.v \ +ctrl_resp.v \ )) diff --git a/usrp2/gpif/ctrl_resp.v b/usrp2/gpif/ctrl_resp.v new file mode 100644 index 000000000..1877478e6 --- /dev/null +++ b/usrp2/gpif/ctrl_resp.v @@ -0,0 +1,16 @@ + + +module ctrl_resp + (input clk, input reset, + input [17:0] ctrl_i, input ctrl_src_rdy_i, output ctrl_dst_rdy_o, + output [17:0] resp_i, output resp_src_rdy_o, input resp_dst_rdy_i, + + output [15:0] wb_adr_o, output [15:0] wb_dat_mosi, input [15:0] wb_dat_miso, + output [1:0] wb_sel_o, output wb_cyc_o, output wb_stb_o, output wb_we_o, input wb_ack_i, + + input [3:0] trigger_i + ); + + + +endmodule // ctrl_resp |