diff options
author | Matt Ettus <matt@ettus.com> | 2010-07-01 23:40:27 -0700 |
---|---|---|
committer | Matt Ettus <matt@ettus.com> | 2011-05-26 17:31:19 -0700 |
commit | 900f8cd5528bd92e1b00c1cdd2a923234bed8466 (patch) | |
tree | 9bbae71553aa62bef8c24e301604a74ab00b7e5e /usrp2/gpif | |
parent | 2d67e1453a47a54cf2c9ae651fc7c03d0292ab68 (diff) | |
download | uhd-900f8cd5528bd92e1b00c1cdd2a923234bed8466.tar.gz uhd-900f8cd5528bd92e1b00c1cdd2a923234bed8466.tar.bz2 uhd-900f8cd5528bd92e1b00c1cdd2a923234bed8466.zip |
added a loopback control port, will do full wishbone interface later
Diffstat (limited to 'usrp2/gpif')
-rw-r--r-- | usrp2/gpif/gpif.v | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/usrp2/gpif/gpif.v b/usrp2/gpif/gpif.v index bd813126f..9697a7f8b 100644 --- a/usrp2/gpif/gpif.v +++ b/usrp2/gpif/gpif.v @@ -17,7 +17,7 @@ module gpif output [35:0] tx_data_o, output tx_src_rdy_o, input tx_dst_rdy_i, input [35:0] rx_data_i, input rx_src_rdy_i, output rx_dst_rdy_o, - output [31:0] debug + output [31:0] debug0, output [31:0] debug1 ); wire WR = gpif_ctl[0]; @@ -105,5 +105,12 @@ module gpif // //////////////////////////////////////////////////////////////////// // FIFO to Wishbone interface + fifo_to_wb fifo_to_wb + (.clk(fifo_clk), .reset(fifo_rst), .clear(0), + .data_i(ctrl_data), .src_rdy_i(ctrl_src_rdy), .dst_rdy_o(ctrl_dst_rdy), + .data_o(resp_data), .src_rdy_o(resp_src_rdy), .dst_rdy_i(resp_dst_rdy), + .wb_adr_o(), .wb_dat_mosi(), .wb_dat_miso(), + .wb_sel_o(), .wb_cyc_o(), .wb_stb_o(), .wb_we_o(), .wb_ack_i(), + .debug0(), .debug1()); endmodule // gpif |