ml507: readmemh does not support dynamic paths on ISE
This commit is contained in:
parent
4ba8acb4aa
commit
6df42fc360
@ -23,9 +23,6 @@ module {name}(
|
||||
reg [{output_width_minus_1}:0] rom [0:{depth_minus_1}];
|
||||
|
||||
|
||||
// 1024 is the maximum length of $readmemh filename supported by Cadence Incisive
|
||||
reg [1024 * 8 - 1:0] path;
|
||||
|
||||
integer i;
|
||||
initial begin
|
||||
`ifdef RANDOMIZE
|
||||
@ -35,10 +32,7 @@ module {name}(
|
||||
end
|
||||
`endif
|
||||
`endif
|
||||
if (!$value$plusargs("maskromhex=%s", path)) begin
|
||||
path = "{rom_hex_file}";
|
||||
end
|
||||
$readmemh(path, rom);
|
||||
$readmemh("{rom_hex_file}", rom);
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user