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

Verilator #39

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Verilator #39

wants to merge 6 commits into from

Conversation

joennlae
Copy link
Contributor

very drafty :-) no yet complete in any way

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
Copy link
Contributor

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

Copy link
Contributor Author

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 > $@
Copy link
Contributor

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?

Copy link
Contributor Author

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.

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

Successfully merging this pull request may close these issues.

2 participants