forked from cores/microwatt
register_file: Report value being written before asserting it's not X
If a bug causes an indeterminate value to be written to a GPR, an assert causes simulation to abort. Move the assert after the report of the GPR index and value so that we get to know what the bad value is before the simulation terminates. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>jtag-port
parent
12a257f01e
commit
5a00029519
Loading…
Reference in New Issue