mirror of https://github.com/YosysHQ/icestorm.git
Added pcf --warn-no-port support to icebox_vlog
This commit is contained in:
parent
1eccb0240f
commit
fddc54800c
|
|
@ -91,6 +91,8 @@ for o, a in opts:
|
||||||
if o == "-P" and not re.search(" # ICE_(GB_)?IO", line):
|
if o == "-P" and not re.search(" # ICE_(GB_)?IO", line):
|
||||||
continue
|
continue
|
||||||
line = re.sub(r"#.*", "", line.strip()).split()
|
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":
|
if len(line) and line[0] == "set_io":
|
||||||
p = line[1]
|
p = line[1]
|
||||||
if o == "-P":
|
if o == "-P":
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue