You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO:SoC:Controller ctrl added.
Traceback (most recent call last):
File "/home/kscz/litex_test/colorlite/./colorlite.py", line 148, in <module>
main()
~~~~^^
File "/home/kscz/litex_test/colorlite/./colorlite.py", line 133, in main
soc = ColorLite(ip_address=args.ip_address, mac_address=int(args.mac_address, 0))
File "/home/kscz/litex_test/colorlite/./colorlite.py", line 72, in __init__
SoCMini.__init__(self, platform, clk_freq=sys_clk_freq)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/integration/soc_core.py", line 395, in __init__
SoCCore.__init__(self, *args, **kwargs)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/integration/soc_core.py", line 215, in __init__
self.add_controller("ctrl")
~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/integration/soc.py", line 1054, in add_controller
self.add_module(name=name, module=SoCController(**kwargs))
~~~~~~~~~~~~~^^^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/integration/soc.py", line 889, in __init__
self._reset = CSRStorage(fields=[
~~~~~~~~~~^^^^^^^^^
CSRField("soc_rst", size=1, offset=0, pulse=True, description="""Write `1` to this register to reset the full SoC (Pulse Reset)"""),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
CSRField("cpu_rst", size=1, offset=1, description="""Write `1` to this register to reset the CPU(s) of the SoC (Hold Reset)"""),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
])
^^
File "/home/kscz/litex_test/litex/litex/soc/interconnect/csr.py", line 388, in __init__
_CompoundCSR.__init__(self, size, name, n)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/interconnect/csr.py", line 136, in __init__
_CSRBase.__init__(self, size, name, n)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "/home/kscz/litex_test/litex/litex/soc/interconnect/csr.py", line 53, in __init__
raise ValueError("Cannot extract CSR name from code, need to specify.")
ValueError: Cannot extract CSR name from code, need to specify.
The text was updated successfully, but these errors were encountered:
Taking the latest version of litex and attempting to build this repository gives the error "Cannot extract CSR name from code, need to specify."
I tried to play around a bit with the code - I removed the
scripts/csr.csv
parameter here: https://github.com/enjoy-digital/colorlite/blob/master/colorlite.py#L134 - but it didn't change anything about the behavior.Full trace below:
The text was updated successfully, but these errors were encountered: