[Libre-soc-dev] Libre-soc Environment Installation

Santhosh Kumar V V . 123040015 at sastra.ac.in
Thu Jun 16 19:31:26 BST 2022


Good Afternoon sir, I have run the scripts as exactly given by your scripts
still there are 3 errors.

1)  ======================================================================
ERROR: test_memory_write_through
(tests.test_sim.SimulatorIntegrationTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/santhosh/src/nmigen/tests/test_sim.py", line 730, in
test_memory_write_through
    sim.add_sync_process(process)
  File "/usr/lib/python3.7/contextlib.py", line 119, in __exit__
    next(self.gen)
  File "/home/santhosh/src/nmigen/tests/test_sim.py", line 405, in
assertSimulation
    with sim.write_vcd("test.vcd", "test.gtkw"):
  File "/usr/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/home/santhosh/src/nmigen/nmigen/sim/pysim.py", line 330, in
write_vcd
    vcd_file=vcd_file, gtkw_file=gtkw_file, traces=traces)
  File "/home/santhosh/src/nmigen/nmigen/sim/pysim.py", line 111, in
__init__
    self.vcd_writer.register_alias(
AttributeError: 'VCDWriter' object has no attribute 'register_alias'

----------------------------------------------------------------------
Ran 630 tests in 20.559s

FAILED (errors=15)


2)    File "/home/santhosh/src/nmigen/examples/basic/ctr_en.py", line 2, in
<module>
    from nmigen.sim import *
ModuleNotFoundError: No module named 'nmigen.sim'

3)  ======================================================================
ERROR: test_ctr_en (tests.test_examples.ExamplesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/santhosh/src/nmigen/tests/test_examples.py", line 12, in
test_function
    stdout=subprocess.DEVNULL)
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/usr/bin/python3',
'/home/santhosh/src/nmigen/examples/basic/ctr_en.py', 'generate', '-t',
'v']' returned non-zero exit status 1.

I have installed coriolis successfully and viewed the chip_r file in 3d
viewer.




On Wed, Jun 15, 2022 at 7:21 AM lkcl <luke.leighton at gmail.com> wrote:

> On Wed, Jun 15, 2022 at 5:56 AM Santhosh Kumar V V .
> <123040015 at sastra.ac.in> wrote:
> >
> > Thanks for clarifying me sir, Now I understand the source of errors,
> I'll try to run as you instructed.
>
> several people have also learned this :)
>
> even as simple a thing as missing out one early command, pip3 is so broken
> a concept that it tries to "fix" the missing package by searching for the
> "latest" version.  that "latest" version may be completely and hopelessly
> incompatible (pyvcd-0.1.18 instead of pyvcd-0.2.2)
>
> the worst part is: that the actual problem occurs *much later* than the
> early mistake of missing out one of the very first commands to install
> dependencies.
>
> l.
>


More information about the Libre-soc-dev mailing list