Skip to content

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.

2 participants