Jiahan Zhang
Jiahan Zhang
Were you able to find a way to get the byte pattern?
I installed from main, and still see the same error ``` Traceback (most recent call last): File "/home/jzhang/.local/bin/wal", line 8, in sys.exit(run()) ^^^^^ File "/home/jzhang/.local/lib/python3.11/site-packages/wal/wal.py", line 44, in run sys.exit(main())...
I just noticed it fails even if I comment out the array reference. Does this syntax look right to you? ``` (load "example.vcd") (in-groups '("something.something.") (print CG ":") (print SIGNALS)...
Runs now thanks. I'll close this issue.
Actually when I try to access a signal within the array of structs I just see a bunch of `None`s. Any ideas? It works fine when I print like like...
@LucasKl FWIW, this does work ``` (in-scope "something" (print #something)) ``` so maybe something wrong with the frontend parsing?
and this doesn't ``` (in-scope "something.something" (print #something)) ```
I don't think either works, are we allowed to nest in-group/in-scope within another in-groups for example? Also, in general, whether in-scope or in-group I can't access fields within a struct
It just looks like ``` struct obj { logic [2:0] something; } struct obj2 { obj data; } ``` What's confusing is the SIGNALS represents this how I would expect...
also why do undeclared signals return None values? Would it be better to throw an error? Let me know if you'd like help implementing these if you think they might...