Adds capability to independently delay the Auto T/R switching signal
authorjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>
Mon, 16 Apr 2007 21:30:13 +0000 (21:30 +0000)
committerjcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5>
Mon, 16 Apr 2007 21:30:13 +0000 (21:30 +0000)
commit9e04f8e3bfe584f87c4e4f5cc40781ae6a217f00
tree2ac8c45795006e2664dd96049c2c4cef5d846190
parent36c0ba64703776f4cc2a77adc00740b05e0b055d
Adds capability to independently delay the Auto T/R switching signal
by a configurable number of clock ticks, to allow users to precisely
align their T/R output with the pipeline delays in the transmitter.

There are two new registers:

FR_ATR_TX_DELAY (7'd2)
FR_ATR_RX_DELAY (7'd3)

...and the corresponding db_base.py methods to set them:

db_base.set_atr_tx_delay(clock_ticks)
db_base.set_atr_rx_delay(clock_ticks)

These methods are inherited by all the daughterboard objects so you can
call them from your scripts as:

subdev.set_atr_tx_delay(...)

...where 'subdev' represents the daughtercard object you're working with.

The FPGA synthesis for the 2 RXHB, 2 TX case expands from 95% to 96%,
with no additional synthesis messages or impact on timing.

git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@5022 221aa14e-8319-0410-a670-987f0aec2ac5
gr-usrp/src/db_base.py
usrp/firmware/include/fpga_regs_common.h
usrp/firmware/include/fpga_regs_common.v
usrp/fpga/rbf/rev2/std_2rxhb_2tx.rbf
usrp/fpga/rbf/rev4/std_2rxhb_2tx.rbf
usrp/fpga/sdr_lib/atr_delay.v [new file with mode: 0644]
usrp/fpga/sdr_lib/master_control.v
usrp/fpga/toplevel/usrp_std/usrp_std.qsf