Commit 02c1af27 authored by Andrew Waterman's avatar Andrew Waterman
Browse files

Improve emulator.cc so that it will eventually tolerate async reset

As the comment in the source code explains in more detail, the
initial block in AsyncResetReg is either racy or is not handled
correctly by Verilator when the reset signal isn't a top-level pin.
I'm working around this by making sure that AsyncResetRegs will
see a rising edge of the reset signal, triggering the always block
instead of relying on the initial block.
parent 66bc7358
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment