aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/periph_manager/n3xx.py
diff options
context:
space:
mode:
authorBrent Stapleton <brent.stapleton@ettus.com>2018-08-28 10:15:48 -0700
committerBrent Stapleton <bstapleton@g.hmc.edu>2018-09-06 15:59:25 -0700
commitad0bd0d9151b7ea86eadac45528cfbea16a01f37 (patch)
tree3ab0c36c4d374bc8e190f23baa08f5fe81af70e6 /mpm/python/usrp_mpm/periph_manager/n3xx.py
parentec0bf1add38e56381293f7a69f6f02447ed9746d (diff)
downloaduhd-ad0bd0d9151b7ea86eadac45528cfbea16a01f37.tar.gz
uhd-ad0bd0d9151b7ea86eadac45528cfbea16a01f37.tar.bz2
uhd-ad0bd0d9151b7ea86eadac45528cfbea16a01f37.zip
n3xx: Get RFNoC crossbar baseport from FPGA
Diffstat (limited to 'mpm/python/usrp_mpm/periph_manager/n3xx.py')
-rw-r--r--mpm/python/usrp_mpm/periph_manager/n3xx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mpm/python/usrp_mpm/periph_manager/n3xx.py b/mpm/python/usrp_mpm/periph_manager/n3xx.py
index 08ddf6e9e..04014f5b2 100644
--- a/mpm/python/usrp_mpm/periph_manager/n3xx.py
+++ b/mpm/python/usrp_mpm/periph_manager/n3xx.py
@@ -35,7 +35,7 @@ N3XX_DEFAULT_TIME_SOURCE = 'internal'
N3XX_DEFAULT_ENABLE_GPS = True
N3XX_DEFAULT_ENABLE_FPGPIO = True
N3XX_DEFAULT_ENABLE_PPS_EXPORT = True
-N3XX_FPGA_COMPAT = (5, 2)
+N3XX_FPGA_COMPAT = (5, 3)
N3XX_MONITOR_THREAD_INTERVAL = 1.0 # seconds
# Import daughterboard PIDs from their respective classes
@@ -122,7 +122,6 @@ class n3xx(ZynqComponents, PeriphManagerBase):
'temp': 'get_temp_sensor',
'fan': 'get_fan_sensor',
}
- crossbar_base_port = 3 # It's 3 because 0,1,2 are SFP,SFP,DMA
dboard_eeprom_addr = "e0004000.i2c"
dboard_eeprom_offset = 0
dboard_eeprom_max_len = 64
@@ -320,6 +319,7 @@ class n3xx(ZynqComponents, PeriphManagerBase):
self.mboard_regs_control.get_build_timestamp()
self._check_fpga_compat()
self._update_fpga_type()
+ self.crossbar_base_port = self.mboard_regs_control.get_xbar_baseport()
# Init clocking
self.enable_ref_clock(enable=True)
self._ext_clock_freq = None