summaryrefslogtreecommitdiffstats
path: root/usrp2/fifo
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-17 17:12:09 -0800
committerJosh Blum <josh@joshknows.com>2010-11-23 19:06:58 -0800
commitcab6fce99c429cf30946c4a2ace4083a0cd89267 (patch)
tree2cabf8db8ffabb85d6b5528c45bfe556d4f254d1 /usrp2/fifo
parentac40436a45c9568094dd6518a858793d0c76bd7e (diff)
downloaduhd-cab6fce99c429cf30946c4a2ace4083a0cd89267.tar.gz
uhd-cab6fce99c429cf30946c4a2ace4083a0cd89267.tar.bz2
uhd-cab6fce99c429cf30946c4a2ace4083a0cd89267.zip
packet_router: use control register bit for master mode flag
Diffstat (limited to 'usrp2/fifo')
-rw-r--r--usrp2/fifo/packet_router.v3
1 files changed, 1 insertions, 2 deletions
diff --git a/usrp2/fifo/packet_router.v b/usrp2/fifo/packet_router.v
index e8c6dd959..595ec2015 100644
--- a/usrp2/fifo/packet_router.v
+++ b/usrp2/fifo/packet_router.v
@@ -43,8 +43,6 @@ module packet_router
//which buffer: 0 = CPU read buffer, 1 = CPU write buffer
wire which_buf = wb_adr_i[BUF_SIZE+2];
- wire master_mode_flag = 1'b1; //TODO should come from input or register
-
////////////////////////////////////////////////////////////////////
// CPU interface to this packet router
////////////////////////////////////////////////////////////////////
@@ -70,6 +68,7 @@ module packet_router
////////////////////////////////////////////////////////////////////
wire cpu_out_hs_ctrl = control[0];
wire cpu_inp_hs_ctrl = control[1];
+ wire master_mode_flag = control[2];
wire [BUF_SIZE-1:0] cpu_inp_line_count = control[BUF_SIZE-1+16:0+16];
wire cpu_out_hs_stat;