From 9deddbdfbc91cee904c97e5a8f7140ae5adfbca9 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 24 Mar 2014 09:32:27 -0600 Subject: [PATCH] test/test_cordic: fix for new Simulation API --- migen/test/test_cordic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/migen/test/test_cordic.py b/migen/test/test_cordic.py index 2110ec8f4..2073a88e8 100644 --- a/migen/test/test_cordic.py +++ b/migen/test/test_cordic.py @@ -44,9 +44,9 @@ class CordicCase(SimCase, unittest.TestCase): xo = floor(xo*c*g) yo = floor(yo*c*g) zo = floor(zo*c/zm) - xo1 = s.rd(tb.dut.xo) - yo1 = s.rd(tb.dut.yo) - zo1 = s.rd(tb.dut.zo) + xo1 = tbp.dut.xo + yo1 = tbp.dut.yo + zo1 = tbp.dut.zo print((xi, yi, zi), (xo, yo, zo), (xo1, yo1, zo1)) self.assertAlmostEqual(xo, xo1, delta=delta) self.assertAlmostEqual(yo, yo1, delta=delta)