fix power_pseudo.py to work with latest nmigen
authorTobias Platen <tplaten@posteo.de>
Fri, 3 Apr 2020 08:32:18 +0000 (10:32 +0200)
committerTobias Platen <tplaten@posteo.de>
Fri, 3 Apr 2020 08:32:18 +0000 (10:32 +0200)
src/soc/decoder/power_pseudo.py

index 317ab5da4e0850cb4057fcb0d8b819e1167cf698..208fa443ab254c85c76f1746b666855a66409cf9 100644 (file)
@@ -213,7 +213,7 @@ def test():
 
     sim.add_process(process)
     with sim.write_vcd("simulator.vcd", "simulator.gtkw",
-                       traces=[decode.ports()]):
+                       traces=decode.ports()):
         sim.run()
 
     for i in range(len(gsc.gpr)):