[Libre-soc-bugs] [Bug 1086] ls2 verilator sim - setting up chroot and documentation

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri May 26 11:12:50 BST 2023


--- Comment #15 from Andrey Miroshnikov <andrey at technepisteme.xyz> ---
(In reply to Andrey Miroshnikov from comment #13)
> (In reply to Andrey Miroshnikov from comment #12)
> >
> > Calling 'make microwatt-verilator' fails
> > %Error: Exiting due to too many errors encountered; --error-limit=50
> > 
> > The errors that are occuring at to do with the timescale:
> > %Error-TIMESCALEMOD: ls2.v:5:8: Timescale missing on this module as other
> > modules have it (IEEE 1800-2017
> ...snip...
> Tobias had not mentioned how he fixed it.

Finally figured it out... The Makefile was missing the "-Wno-TIMESCALEMOD"

I did see Tobias' commit which added this flag (dated 26th April 2022):

But I didn't spot that the commit being used by the ls2 tutorial is from the
4th April 2022:

Now that I added the flag, verilator is producing the .cpp files correctly.

Familiarising myself with the gtkwave traces for now, as the hello world didn't
run as expected.

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

More information about the libre-soc-bugs mailing list