diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-12-01 18:50:12 +0100 |
---|---|---|
committer | Wade Fife <wade.fife@ettus.com> | 2021-01-04 13:28:36 -0600 |
commit | ca68195b5d12c5410cfac8d459a0b0902c4c72c7 (patch) | |
tree | d50d2bd7541000fa0a0470c4f1f4610c93d3b410 /fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py | |
parent | 3b9ced8f07c068faf1f494ce170cb44edaa47075 (diff) | |
download | uhd-ca68195b5d12c5410cfac8d459a0b0902c4c72c7.tar.gz uhd-ca68195b5d12c5410cfac8d459a0b0902c4c72c7.tar.bz2 uhd-ca68195b5d12c5410cfac8d459a0b0902c4c72c7.zip |
fpga: Remove Python2 support from build system
- 2to3 was used to convert the Python scripts, except where the tool
choked and manual intervention was required
- All references to "python" where replaced with "python3"
- buffer() was replaced by memoryview()
Diffstat (limited to 'fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py')
-rw-r--r-- | fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py b/fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py index d841cc06b..a55a84cd2 100644 --- a/fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py +++ b/fpga/usrp3/tools/utils/rfnoc-system-sim/rfnocsim.py @@ -623,7 +623,7 @@ class Visualizer(): for c in sorted(comps): comp = self.__sim_core.lookup(c) for s in sorted(comp.get_items()): - print(' - %s: (%s) Latency = %gs'%(s,c,comp.get_latency(s))) + print((' - %s: (%s) Latency = %gs' % (s, c, comp.get_latency(s)))) print('=================================================================') def dump_debug_audit_log(self, ctype, name_filt='.*'): @@ -645,7 +645,7 @@ class Visualizer(): status = 'WARNING (Used but Undriven)' else: status = 'Unused' - print(' - %s: Status = %s'%(c,status)) + print((' - %s: Status = %s'%(c,status))) print('=================================================================') def new_figure(self, grid_dims=[1,1], fignum=1, figsize=(16, 9), dpi=72): |