Re: Question about CSR hedeleg and hideleg
No.toggle quoted message Show quoted text
Assuming bit 10 of hideleg is one, vsip.SEIP is an alias of hip.VSEIP.
mip.VSEIP is an alias of hip.VSEIP.
Bit 10 in mideleg is read-only one, so mip.VSEIP is visible as sip.VSEIP.
Therefore both sip.VSEIP and mip.VSEIP will be 1.
An implementation really only needs to have one set of state for mip and that will cover all the other *ip CSRs, which are all views into that one set of bits.