Open wzab opened 3 years ago
It seems that using the Verilator has significantly changed between the versions 4.038 and 4.210. This is a comparison of a single example file: https://github.com/verilator/verilator/compare/v4.038...v4.210 . You can scroll down and load the diff for the examples/make_tracing_c/sim_main.cpp .
When I try to compile J1B (via
make
inj1b/swapforth/j1b/verilator
), I get the old error:it can be easily fixed as described in https://github.com/jamesbowman/swapforth/issues/67 - there is a commit https://github.com/wzab/swapforth/commit/4a705b0d44aaf532f68a378b27aefc85b47d1290 that can be cherry-picked to fix it. Afterwards the J1B builds with Verilator 4.038, but an attempt to build it with 4.210 still leads to an error:
The
l2-name
option does not help. Inspection of files generated in obj_dir shows that t he whole class structure has changed.