Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error running the Makefile.verilator.mk #64

Open
Dennishor123 opened this issue Apr 3, 2023 · 3 comments
Open

error running the Makefile.verilator.mk #64

Dennishor123 opened this issue Apr 3, 2023 · 3 comments

Comments

@Dennishor123
Copy link

im trying to run make -f Makefile.verilator.mk run and i got this error:
../Project/Verilator/obj_dir/VMain_Zynq_Wrapper
MAX_TEST_CYCLES=100000
TEST_CODE=Verification/TestCode/Asm/FP ENABLE_PC_GOAL=1 SHOW_SERIAL_OUT=1
make: ../Project/Verilator/obj_dir/VMain_Zynq_Wrapper: No such file or directory
make: *** [Makefile.verilator.mk:93: run] Error 127
im wondering where does the /Project/Verilator/obj_dir/VMain_Zynq_Wrapper comes from as i couldnt find it in this github, thanks a lot

@shioyadan
Copy link
Member

You should execute "make -f Makefile.verilator" for compilation before "make -f Makefile.verilator run."
The build and simulation example in the README was broken and has been fixed. Sorry for the inconvenience.

@aignacio
Copy link

Hey @shioyadan,

I just tried the below cmd and I'm having the following issue while running with Verilator:

 docker run -it --rm -v ./:/test/ -w /test/ aignacio/rtldev bash -c 'cd Processor/Src && make -f Makefile.verilator.mk'
image

@shioyadan
Copy link
Member

Hello,

I'm not entirely sure what the specific issue is, but it seems to relate to a known problem in newer versions of Verilator, as detailed in the following discussion:
verilator/verilator#5139

This issue has been reported multiple times, and you may be able to resolve it by downgrading to an older version from the 4.x series of Verilator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants