Added pcf --warn-no-port support to icebox_vlog

This commit is contained in:
Clifford Wolf 2016-12-31 14:45:15 +01:00
parent 1eccb0240f
commit fddc54800c
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ for o, a in opts:
if o == "-P" and not re.search(" # ICE_(GB_)?IO", line):
continue
line = re.sub(r"#.*", "", line.strip()).split()
if "--warn-no-port" in line:
line.remove("--warn-no-port")
if len(line) and line[0] == "set_io":
p = line[1]
if o == "-P":