fix 'Object is not an nMigen signal' error in test_sim.py
authorTobias Platen <tplaten@posteo.de>
Thu, 9 Apr 2020 09:12:34 +0000 (11:12 +0200)
committerTobias Platen <tplaten@posteo.de>
Thu, 9 Apr 2020 09:12:34 +0000 (11:12 +0200)
src/soc/simulator/test_sim.py

index 1c31075a134411ce8a143fe33d12ea244ebc93d3..068beacd8a1f6d25ce33b00efc661601b5d5152d 100644 (file)
@@ -46,7 +46,7 @@ class DecoderTestCase(FHDLTestCase):
 
         sim.add_process(process)
         with sim.write_vcd("simulator.vcd", "simulator.gtkw",
-                           traces=[pdecode2.ports()]):
+                           traces=pdecode2.ports()):
             sim.run()
 
     def test_example(self):