Scott,
yes I think we could consider this case
as inadequate description of PICSR in architecture manual. In OR1200 RTL
PICSR needs to be cleared in SW. Same is implemented in or1ksim. However
there is possibility that PICSR is not implemented, or perhaps entire PIC is not
implemented. In this case device driver would only have to clear interrupt in
the device itself and not in the PIC. So this needs to be fixed somehow, either
by better explanation in the manual or by a requirement that PICSR always needs
to be implemented (which in a way a like because it simplifies things and in a
way I don't like because it puts restrictions on HW
implementations)
regards,
Damjan
|