-
Notifications
You must be signed in to change notification settings - Fork 47
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
Verilator #39
base: main
Are you sure you want to change the base?
Conversation
chs-verilate: chs-verilate-pickle | ||
rm -rf $(CHS_ROOT)/target/verilator/obj_dir | ||
$(chs-verilate-command) | ||
cd $(CHS_ROOT)/target/verilator/obj_dir && $(MAKE) -f Vcheshire_testharness.mk Vcheshire_testharness |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
verilator has a --build
and -o
option to do that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah nice :-) Thanks for the feedback :-)
|
||
$(CHS_ROOT)/target/verilator/build/sources.json: | ||
@mkdir -p $(@D) | ||
$(BENDER) sources -f -t sim -t cv64a6_imafdc_sv39 -t cva6 -t verilator > $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason again that bender script verilator
doesn't work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At the moment (if I remember correctly), it is out of convenience due to morty being able to remove unused stuff, and we have to patch some things, which makes it easier with morty. But the goal should be to use bender script verilator
at some point.
very drafty :-) no yet complete in any way