chipsalliance / rocket-chip

Rocket Chip Generator
Other
3.27k stars 1.13k forks source link

HasAPBControlRegMap hangs processor #2304

Open hqax opened 4 years ago

hqax commented 4 years ago

Type of issue: bug report

Impact: API modification

Development Phase: request

Other information

If the current behavior is a bug, please provide the steps to reproduce the problem:

What is the current behavior?

What is the expected behavior? The processor should not hang.

Please tell us about your environment:

What is the use case for changing the behavior? To make it so a processor doesn't hang when using this utility. Additionally, helping me understand why this happens.

mwachs5 commented 4 years ago

Can you produce a waveform of traffic hitting the TL2APB? Are you expecting traffic to go to the TL2APB?

hqax commented 4 years ago

Thanks for the quick reply. The tests we're running don't try to talk to anything on the APB bus. It's talking to an SRAM on another AXI4 bus. It looks like there's still activity, but the simulation stalls and nothing is moving through the instruction pipeline. It's never going into the bootrom after reset.

snip1 snip2 snip3