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

Introduce basic Verilator support #48

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Introduce basic Verilator support #48

wants to merge 1 commit into from

Conversation

kulp
Copy link
Owner

@kulp kulp commented Aug 6, 2020

Running on Verilator may or may not give tenyr an obvous immediate advantage, but given how quickly its generated C++ code can run, it may be a reasonable way to introduce a cycle-accurate simulator alternative to the (time-agnostic) functional simulator that is tsim.

The current pull request will introduce basic "Verilated" functionality only.

Demo (stops correctly after executing ~112469 cycles).

make -C ex qsort_demo.memh
cp ex/qsort_demo.memh hw/verilator/default.memh
cd hw/verilator
make
./Vtop

@kulp kulp added this to the v1.1 milestone Aug 6, 2020
@codecov

This comment has been minimized.

@kulp

This comment was marked as outdated.

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.

None yet

1 participant