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

Init behavior between interpreter and verilator simulations is different. #110

Open
chick opened this issue Feb 5, 2018 · 1 comment
Open

Comments

@chick
Copy link
Contributor

chick commented Feb 5, 2018

See example in Issue #109 for example traces.
The interpreter currently changes reset only on trailing edge of clock.
Verilator seems to do it at different times. I have examples from chisel tests with SimpleVending machine where interpreter does not match verilator behavior
Interpreter only allows reset changes based on it's peek poke interface
Verilator build does not appear to be restricted in the same way.

@jackkoenig notes that sometimes this can be non-deterministic and that it is important to have your DUT come out of reset in a deterministic way after reset had lowered.

@chick
Copy link
Contributor Author

chick commented Feb 5, 2018

I need to dig deeper on this.
See also chisel-testers Issue chisel testers issue 159

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant