Commit 77fe555
committed
[rtl] Fix handshake on compressed decoder
The handshake only considered whether the ID stage would be ready. But
the actual pipeline register will also take the `pc_set_i` signal into
account, which signals a jump. Since the compressed decoder has state
now (through the Zcmp extension), this improper handshake led to some of
the expanded instructions to get lost.
At the same time, we also take this signal into account for the enable
signal of the pipeline stage to avoid unnecessary switching.1 parent 9484da6 commit 77fe555
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
418 | | - | |
| 418 | + | |
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
| 493 | + | |
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| |||
0 commit comments