mirror of https://github.com/YosysHQ/yosys.git
fix generated blackboxes for ecp5
This commit is contained in:
parent
2f82e8eaed
commit
b168ff99d0
|
@ -1580,7 +1580,6 @@ module EXTREFB (...);
|
||||||
(* iopad_external_pin *)
|
(* iopad_external_pin *)
|
||||||
input REFCLKN;
|
input REFCLKN;
|
||||||
output REFCLKO;
|
output REFCLKO;
|
||||||
output ;
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
(* blackbox *) (* keep *)
|
(* blackbox *) (* keep *)
|
||||||
|
@ -2172,6 +2171,5 @@ module DCUA (...);
|
||||||
output D_COUT19;
|
output D_COUT19;
|
||||||
input D_REFCLKI;
|
input D_REFCLKI;
|
||||||
output D_FFS_PLOL;
|
output D_FFS_PLOL;
|
||||||
output ;
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
|
@ -815,6 +815,8 @@ def xtract_cells_decl(device, cells, dirs, outf):
|
||||||
if l.endswith((';', ',', ")")):
|
if l.endswith((';', ',', ")")):
|
||||||
l = l[:-1]
|
l = l[:-1]
|
||||||
l = l.replace(")","")
|
l = l.replace(")","")
|
||||||
|
if l == "":
|
||||||
|
continue
|
||||||
if ';' in l:
|
if ';' in l:
|
||||||
print('Weird port line in {} [{}].'.format(fname, l))
|
print('Weird port line in {} [{}].'.format(fname, l))
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in New Issue