diff --git a/bin/verilator_includer b/bin/verilator_includer index f6b9bd98b..a14838a5e 100755 --- a/bin/verilator_includer +++ b/bin/verilator_includer @@ -20,9 +20,11 @@ print("#define VERILATOR_INCLUDED") re_arg_d = re.compile(r'^-D([^=]+)=(.*)') + def include(arg): print("#include \"%s\"" % (arg)) + for arg in sys.argv[1:]: match_d = re_arg_d.match(arg) if match_d: