forked from github/verilator
Fix $readmem file not found to be warning not error (#3310).
This commit is contained in:
parent
decfa6bd7a
commit
e52a4ac74f
1
Changes
1
Changes
@ -17,6 +17,7 @@ Verilator 4.219 devel
|
||||
* Removed the deprecated "fl" attribute in XML output; use "loc" attribute instead.
|
||||
* Suppress WIDTH warning on negate using carry bit (#3295). [Peter Monsson]
|
||||
* Fix skipping public enum values with four-state values (#3303).
|
||||
* Fix $readmem file not found to be warning not error (#3310). [Alexander Grobman]
|
||||
|
||||
|
||||
Verilator 4.218 2022-01-17
|
||||
|
@ -1844,7 +1844,7 @@ VlReadMem::VlReadMem(bool hex, int bits, const std::string& filename, QData star
|
||||
m_fp = std::fopen(filename.c_str(), "r");
|
||||
if (VL_UNLIKELY(!m_fp)) {
|
||||
// We don't report the Verilog source filename as it slow to have to pass it down
|
||||
VL_FATAL_MT(filename.c_str(), 0, "", "$readmem file not found");
|
||||
VL_WARN_MT(filename.c_str(), 0, "", "$readmem file not found");
|
||||
// cppcheck-suppress resourceLeak // m_fp is nullptr - bug in cppcheck
|
||||
return;
|
||||
}
|
||||
|
@ -1,2 +1,2 @@
|
||||
%Error: t/t_sys_readmem_bad_NOTFOUND.mem:0: $readmem file not found
|
||||
Aborting...
|
||||
%Warning: t/t_sys_readmem_bad_NOTFOUND.mem:0: $readmem file not found
|
||||
*-* All Finished *-*
|
||||
|
@ -14,7 +14,6 @@ compile(
|
||||
);
|
||||
|
||||
execute(
|
||||
fails => $Self->{vlt_all},
|
||||
expect_filename => $Self->{golden_filename},
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user