From 929d620bc2ccb0cabf398c9224432be25685d2f4 Mon Sep 17 00:00:00 2001 From: Wade Fife Date: Thu, 27 Jan 2022 11:07:44 -0600 Subject: mpm: Fix units for DRAM BIST There was a mixture of KB/s and B/s in the DRAM BIST. The BIST now returns B/s in all cases. --- mpm/python/n3xx_bist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mpm/python/n3xx_bist') diff --git a/mpm/python/n3xx_bist b/mpm/python/n3xx_bist index 37f64bd5b..33dab3bf6 100755 --- a/mpm/python/n3xx_bist +++ b/mpm/python/n3xx_bist @@ -153,7 +153,7 @@ class N3XXBIST(bist.UsrpBIST): # the current result. if ('error_msg' not in result) \ or self.args.option.get('skip_load_fpga', False): - return result.get('throughput', 0) > 1000e3, result + return result.get('throughput', 0) > 1000e6, result # Otherwise, we load the AA FPGA image, because that's one image where # we think the DmaFIFO block is actually instantiated. self.reload_fpga_image = True @@ -169,7 +169,7 @@ class N3XXBIST(bist.UsrpBIST): 'error_msg': "Failed to load AA image: {}".format(str(ex)), } result = bist.test_ddr3_with_usrp_probe() - return result.get('throughput', 0) > 1000e3, result + return result.get('throughput', 0) > 1000e6, result def bist_gpsdo(self): """ -- cgit v1.2.3