Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Why msgclr does not set UsesSPR in iuq_fxu_decode.vhdl #50

Open
Grubby-CPU opened this issue Apr 14, 2022 · 0 comments
Open

Why msgclr does not set UsesSPR in iuq_fxu_decode.vhdl #50

Grubby-CPU opened this issue Apr 14, 2022 · 0 comments

Comments

@Grubby-CPU
Copy link

Hi,

I find that msgclr does not set UsesSPR signal in iuq_fxu_decode.vhdl. This cause an error when "mtspr, CCR2, 0x20000; msgclr 0" is executed.
In particular, "mtspr CCR2, 0x20000" sets EN_PC to enable the msgclr instruction. However, since msgclr does not set UsersSPR in iuq_fxu_decode, the dependency check module fails. Thus, msgclr is executed with EN_PC is 0. An error happened.
Any comments?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant