From cab6fce99c429cf30946c4a2ace4083a0cd89267 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Wed, 17 Nov 2010 17:12:09 -0800 Subject: packet_router: use control register bit for master mode flag --- usrp2/fifo/packet_router.v | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usrp2/fifo/packet_router.v') 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; -- cgit v1.2.3