From 6df42fc36078d6ff60c1610b6fb89b24d668f134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klemens=20Sch=C3=B6lhorn?= Date: Tue, 1 May 2018 00:10:15 +0200 Subject: [PATCH] ml507: readmemh does not support dynamic paths on ISE --- scripts/vlsi_rom_gen | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/scripts/vlsi_rom_gen b/scripts/vlsi_rom_gen index 3e97070d..812744b7 100755 --- a/scripts/vlsi_rom_gen +++ b/scripts/vlsi_rom_gen @@ -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