diff options
author | Martin Braun <martin.braun@ettus.com> | 2017-08-09 10:18:55 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2017-12-22 15:04:00 -0800 |
commit | 25197587f4819ff2c966d7ee65b9fbe41d336089 (patch) | |
tree | 42c00b7326c6618d6ff64d3f5f38135a23b237ac /mpm/python/n3xx_bist | |
parent | f24b7fcdbdf48bf947bde5cbf1d6532bd0979a8e (diff) | |
download | uhd-25197587f4819ff2c966d7ee65b9fbe41d336089.tar.gz uhd-25197587f4819ff2c966d7ee65b9fbe41d336089.tar.bz2 uhd-25197587f4819ff2c966d7ee65b9fbe41d336089.zip |
n3xx bist: Fixed defaults for LV compat mode
Diffstat (limited to 'mpm/python/n3xx_bist')
-rwxr-xr-x | mpm/python/n3xx_bist | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 577c0e35d..30bc1c10b 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -111,7 +111,7 @@ def filter_results_for_lv(results): 'ddr3': { 'throughput': -1, }, - 'gspdo': { + 'gpsdo': { "class": "", "time": "", "ept": -1, @@ -151,11 +151,11 @@ def filter_results_for_lv(results): 'read_patterns': [], }, 'temp': { - 'fpga-thermal-zone': 30000, + 'fpga-thermal-zone': -1, }, 'fan': { - 'cooling_device0': 10000, - 'cooling_device1': 10000, + 'cooling_device0': -1, + 'cooling_device1': -1, }, } # OK now go and brush up the results: @@ -167,7 +167,7 @@ def filter_results_for_lv(results): from ref_dict """ ref_dict['error_msg'] = "" - ref_dict['status'] = "" + ref_dict['status'] = False result_dict = { k: v for k, v in iteritems(result_dict) if k in ref_dict or k in ('error_msg', 'status') @@ -645,11 +645,12 @@ class N310BIST(object): - read_patterns: A list of patterns that were read back """ assert 'gpio' in self.tests_to_run + # patterns = list(range(64)) patterns = range(64) if self.args.dry_run: return True, { - 'write_patterns': patterns, - 'read_patterns': patterns, + 'write_patterns': list(patterns), + 'read_patterns': list(patterns), } from usrp_mpm.periph_manager import n310 gpio_tca6424 = n310.TCA6424() |