1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-02-14 11:54:28 +00:00
Files
antonblanchard.microwatt/writeback.vhdl
Paul Mackerras fc58559ee8 writeback: Eliminate unintentional inferred latch
By not assigning to interrupt_out.srr1 in some circumstances, the
writeback_1 process creates an inferred latch, which is not
desirable.  Eliminate it by restructuring the code so
interrupt_out.srr1 is always set, to zeroes if nothing else.

Fixes: bc4d02cb0d ("Start removing SPRs from register file", 2022-07-12)
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2022-08-09 19:48:30 +10:00

6.7 KiB