Hi,
I am trying to simulate using the exampe software and sdcard model. In sdModel.v#L377, OCR[31] gets the reversed value of Busy. In L104, it says that Busy should be 0 when busy, so OCR[31] is 1 when Busy.
By the definition of OCR register (refer to this spec Page 17), OCR[31] is “0” = Busy “1” = Ready, the reversion is wrong.
I think L377 should be OCR[31]<=Busy;, removing the reversion.
Hi,
I am trying to simulate using the exampe software and sdcard model. In
sdModel.v#L377,OCR[31]gets the reversed value ofBusy. In L104, it says thatBusyshould be0when busy, soOCR[31]is 1 when Busy.By the definition of OCR register (refer to this spec Page 17),
OCR[31]is “0” = Busy “1” = Ready, the reversion is wrong.I think L377 should be
OCR[31]<=Busy;, removing the reversion.