Skip to content

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.

@paulsc96 paulsc96 mentioned this pull request Feb 26, 2025
11 tasks
@paulsc96
Copy link
Member

To be superseded by #182.

@paulsc96 paulsc96 closed this Mar 31, 2025
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.

4 participants