OpenCores
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
    from Rev 158 to Rev 160
    Reverse comparison

Rev 158 → Rev 160

/unitLogger/src/Logger.sv
11,6 → 11,7
class Logger;
 
local static int errors = 0;
local static int warnings = 0;
 
function new();
endfunction
23,6 → 24,7
function void warning(string msg);
$write("Warning at %t: ", $time);
$display(msg);
warnings++;
endfunction
 
function void error(string msg);
36,6 → 38,10
if (errors > 0) begin
$display("%d errors.", errors);
end
 
if (warnings > 0) begin
$display("%d warnings.", warnings);
end
endfunction
 
endclass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.