type object 'VcdGenerationPass' has no attribute 'vcdwave'

31 views
Skip to first unread message

Victor P

unread,
May 17, 2021, 11:50:43 AM5/17/21
to pymtl-users
Hi, 

I am trying to run the example code and to generate the vcdwave, but it throws me the error:
11.PNG
Code:
from pymtl3.examples.ex00_quickstart import *
from pymtl3 import *
from pymtl3.passes import *

dut = RegIncr( 8 )
dut.apply( DefaultPassGroup(vcdwave="sim") )
dut.sim_reset()
for i in range(10):
    dut.in_ @= i
    dut.sim_tick()

Any help? Thank you.

Bests,
Victor

Peitian Pan

unread,
May 17, 2021, 12:28:32 PM5/17/21
to pymtl-users
Hi Victor,

Thanks for reaching out to us! We have identified this as an uncaught bug introduced in an earlier code refactoring process. This bug has been fixed in this PR(https://github.com/pymtl/pymtl3/pull/213), and the latest PyMTL3 release on pypi (pymtl3 3.1.5) has included this bug fix.

If you update your PyMTL3 installation with `pip install pymtl3 --upgrade` you should be able to get the generated vcd file (sim.vcd) with the code you have!

Best,
Peitian
Reply all
Reply to author
Forward
0 new messages