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/grpVerification/unitLogger
- from Rev 145 to Rev 158
- ↔ Reverse comparison
Rev 145 → Rev 158
/src/Logger.sv
28,10 → 28,14
function void error(string msg); |
$write("Error at %t: ", $time); |
$display(msg); |
errors++; |
endfunction |
|
function void terminate(); |
$display("Simulation %0sED", (errors) ? "FAIL" : "PASS" ); |
$display("Simulation %0sED", (errors) ? "FAIL" : "PASS"); |
if (errors > 0) begin |
$display("%d errors.", errors); |
end |
endfunction |
|
endclass |