From 4f813c49772490eb003632f210fc9809e8135251 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 29 Nov 2016 18:11:38 +0100 Subject: [PATCH] test/sawg: rtio_output_wide fixes --- artiq/test/gateware/test_sawg_fe.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artiq/test/gateware/test_sawg_fe.py b/artiq/test/gateware/test_sawg_fe.py index 21230c97f..f381dcfd4 100644 --- a/artiq/test/gateware/test_sawg_fe.py +++ b/artiq/test/gateware/test_sawg_fe.py @@ -16,13 +16,13 @@ class RTIOManager: def rtio_output(self, now, channel, addr, data): self.outputs.append((now, channel, addr, data)) - def rtio_output_list(self, *args, **kwargs): + def rtio_output_wide(self, *args, **kwargs): self.rtio_output(*args, **kwargs) def patch(self, mod): assert not hasattr(mod, "_saved") mod._saved = {} - for name in "rtio_output rtio_output_list".split(): + for name in "rtio_output rtio_output_wide".split(): mod._saved[name] = getattr(mod, name, None) setattr(mod, name, getattr(self, name)) @@ -130,9 +130,9 @@ class SAWGTest(unittest.TestCase): def test_linear(self): d = self.driver - d.offset.set_list_mu([100, 10]) + d.offset.set_coeff_mu([100, 10]) delay_mu(10*8) - d.offset.set_list([0]) + d.offset.set_coeff([0]) delay_mu(1*8) out = self.run_channel(self.rtio_manager.outputs) for i in range(len(out)//2):