URL
https://opencores.org/ocsvn/sdhc-sc-core/sdhc-sc-core/trunk
Subversion Repositories sdhc-sc-core
Compare Revisions
- This comparison shows the changes necessary to convert path
/sdhc-sc-core/trunk/src/grpSd/unitSdCardModel/src
- from Rev 145 to Rev 147
- ↔ Reverse comparison
Rev 145 → Rev 147
/SdData.sv
123,6 → 123,21
end |
endtask |
|
task sendBusy(virtual ISdCard.card ICmd); |
|
@ICmd.cb; |
|
// 10 busy cycles |
ICmd.cb.Data[0] <= 0; |
|
repeat (10) @ICmd.cb; |
ICmd.cb.Data[0] <= 1; |
|
@ICmd.cb; |
ICmd.cb.Data <= 'z; |
|
endtask |
|
endclass |
|
`endif |
/SdCardModel.sv
286,6 → 286,9
end |
end |
|
repeat (8) @ICard.cb; |
sddata.sendBusy(ICard); |
|
$display("Ram at write address: %h", ram[addr]); |
|
endtask |