Ignore uvm_macros.svh | we don't support UVM in included veriog

This commit is contained in:
Jerry Zhao
2024-03-19 23:42:01 -07:00
parent 0ae484af35
commit ad838f0c83

View File

@@ -34,7 +34,8 @@ def process(inF, outF):
# for each include found, search through all dirs and replace if found, error if not
for num, line in enumerate(inFile, 1):
match = re.match(r"^ *`include +\"(.*)\"", line)
if match:
if match and match.group(1) != "uvm_macros.svh":
print("[INFO] Replacing includes for {}".format(match.group(1)))
# search for include and replace
found = False
for d in incDirs: