Skip to content

Commit

Permalink
Update Xilinx cell definitions, fixes #3699
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko authored and gatecat committed Mar 23, 2023
1 parent 23826e5 commit f35bdaa
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
11 changes: 8 additions & 3 deletions techlibs/xilinx/cells_sim.v
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,12 @@ module IBUF(
output O,
(* iopad_external_pin *)
input I);
parameter IOSTANDARD = "default";
parameter IBUF_LOW_PWR = 0;
parameter CCIO_EN = "TRUE";
parameter CAPACITANCE = "DONT_CARE";
parameter IBUF_DELAY_VALUE = "0";
parameter IBUF_LOW_PWR = "TRUE";
parameter IFD_DELAY_VALUE = "AUTO";
parameter IOSTANDARD = "DEFAULT";
assign O = I;
specify
(I => O) = 0;
Expand All @@ -56,7 +60,8 @@ module OBUF(
(* iopad_external_pin *)
output O,
input I);
parameter IOSTANDARD = "default";
parameter CAPACITANCE = "DONT_CARE";
parameter IOSTANDARD = "DEFAULT";
parameter DRIVE = 12;
parameter SLEW = "SLOW";
assign O = I;
Expand Down
2 changes: 1 addition & 1 deletion techlibs/xilinx/cells_xtra.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def xtract_cell_decl(cell, dirs, outf):

if __name__ == '__main__':
parser = ArgumentParser(description='Extract Xilinx blackbox cell definitions from ISE and Vivado.')
parser.add_argument('vivado_dir', nargs='?', default='/opt/Xilinx/Vivado/2018.1')
parser.add_argument('vivado_dir', nargs='?', default='/opt/Xilinx/Vivado/2022.2')
parser.add_argument('ise_dir', nargs='?', default='/opt/Xilinx/ISE/14.7')
args = parser.parse_args()

Expand Down
9 changes: 7 additions & 2 deletions techlibs/xilinx/cells_xtra.v
Original file line number Diff line number Diff line change
Expand Up @@ -7550,10 +7550,12 @@ module IBUF_ANALOG (...);
endmodule

module IBUFE3 (...);
parameter CCIO_EN = "TRUE";
parameter IBUF_LOW_PWR = "TRUE";
parameter IOSTANDARD = "DEFAULT";
parameter USE_IBUFDISABLE = "FALSE";
parameter SIM_DEVICE = "ULTRASCALE";
parameter integer SIM_INPUT_BUFFER_OFFSET = 0;
parameter USE_IBUFDISABLE = "FALSE";
output O;
(* iopad_external_pin *)
input I;
Expand Down Expand Up @@ -7760,8 +7762,9 @@ module IOBUFE3 (...);
parameter integer DRIVE = 12;
parameter IBUF_LOW_PWR = "TRUE";
parameter IOSTANDARD = "DEFAULT";
parameter USE_IBUFDISABLE = "FALSE";
parameter SIM_DEVICE = "ULTRASCALE";
parameter integer SIM_INPUT_BUFFER_OFFSET = 0;
parameter USE_IBUFDISABLE = "FALSE";
output O;
(* iopad_external_pin *)
inout IO;
Expand Down Expand Up @@ -19721,6 +19724,7 @@ module HSADC (...);
endmodule

module RFDAC (...);
parameter integer LD_DEVICE = 0;
parameter integer OPT_CLK_DIST = 0;
parameter SIM_DEVICE = "ULTRASCALE_PLUS";
parameter integer XPA_ACTIVE_DUTYCYCLE = 100;
Expand Down Expand Up @@ -19784,6 +19788,7 @@ module RFDAC (...);
endmodule

module RFADC (...);
parameter integer LD_DEVICE = 0;
parameter integer OPT_ANALOG = 0;
parameter integer OPT_CLK_DIST = 0;
parameter SIM_DEVICE = "ULTRASCALE_PLUS";
Expand Down

0 comments on commit f35bdaa

Please sign in to comment.