[Libre-soc-bugs] [Bug 50] nmigen pinmux

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Nov 18 22:59:28 GMT 2021


--- Comment #37 from andrey at technepisteme.xyz ---
I've been having issues with getting the tests from
soc/debug/test/test_jtag_tap_srv.py working.

My current task is to get the tests to run without significant modifications.

Unfortunately it required adding a lot of misc. files (at least while I

"test_jtag_tap_srv.py" requires the following files: 
from soc/debug/test/:

from soc/debug/:

I copied those files into pinmux repo (for now), however I'm getting stumped on
a dependency from "dmi.py":
-from soc.config.state import CoreState

Checking out state.py file, I see a nice wildcard import (hahaha):
from openpower.state import *

Further two files I copied from openpower-isa.git/src/openpower/:

The python script test_jtag_tap_srv.py gets further, but I now get an
AttributeError in regards to VCDWriter (from nmigen):
Traceback (most recent call last):
  File "test_jtag_tap_srv.py", line 264, in <module>
    with sim.write_vcd("dmi2jtag_test_srv.vcd"):
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/rohdo/work/nmigen/nmigen/sim/pysim.py", line 330, in write_vcd
    vcd_file=vcd_file, gtkw_file=gtkw_file, traces=traces)
  File "/home/rohdo/work/nmigen/nmigen/sim/pysim.py", line 110, in __init__
AttributeError: 'VCDWriter' object has no attribute 'register_alias'

Can you run this file on your end Luke?
I'm wondering if I borked my nmigen, or if it's something else.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list