From 5df8202c0cb88fb5c7629fbf0ce5bed32c96e70d Mon Sep 17 00:00:00 2001 From: Samuel O'Brien Date: Thu, 30 Jul 2020 13:53:44 -0500 Subject: sim: Move Hardware Specific to Config File This commit moves various magic numbers and hardware specific settings into the configuration file. It also provides default presets for said configuration files which can be inherited from. Signed-off-by: Samuel O'Brien --- mpm/python/usrp_mpm/simulator/hardware_presets.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 mpm/python/usrp_mpm/simulator/hardware_presets.py (limited to 'mpm/python/usrp_mpm/simulator/hardware_presets.py') diff --git a/mpm/python/usrp_mpm/simulator/hardware_presets.py b/mpm/python/usrp_mpm/simulator/hardware_presets.py new file mode 100644 index 000000000..b6747bb88 --- /dev/null +++ b/mpm/python/usrp_mpm/simulator/hardware_presets.py @@ -0,0 +1,10 @@ +presets = {} + +presets['E320'] = { + 'product': "e320", + 'uhd_device_type': "e3xx", + 'description': "E320-Series Device - SIMULATED", + 'pid': 0xE320, + 'dboard_class': "SimulatedCatalinaDboard", + 'rfnoc_device_type': 0xE320 +} -- cgit v1.2.3