Skip to content

Commit 222676a

Browse files
committed
Shorten Verilator FPGA initial reset delay
- Makes run_simulation happy in tracing mode. There's still a bit of a race hiding here (slowness of trace mode means that we start talking to SPI DPI before the system is ready) -- but functional for now until we have a real fix. Change-Id: I0c6de068fb0af379eeebf554f6b068b2a4822e46
1 parent c2385da commit 222676a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fpga/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main(int argc, char **argv) {
5454
memutil.RegisterMemoryArea("dtcm", dtcm_addr, &dtcm);
5555
simctrl.RegisterExtension(&memutil);
5656

57-
simctrl.SetInitialResetDelay(2000);
57+
simctrl.SetInitialResetDelay(20);
5858
simctrl.SetResetDuration(10);
5959

6060
std::cout << "Simulation of CoralNPU SoC" << std::endl

0 commit comments

Comments
 (0)