Skip to content

Commit

Permalink
Merge pull request #107 from os-fpga/blackbox_fix
Browse files Browse the repository at this point in the history
removed ifdef from blackbox file
  • Loading branch information
moinijaz authored Aug 8, 2024
2 parents 9468578 + 63a2397 commit 2c4b919
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions blackbox_models/cell_sim_blackbox.v
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,7 @@ endmodule
(* blackbox *)
module I_BUF #(
parameter WEAK_KEEPER = "NONE" // Specify Pull-up/Pull-down on input (NONE/PULLUP/PULLDOWN)
`ifdef RAPIDSILICON_INTERNAL
, parameter IOSTANDARD = "DEFAULT" // IO Standard
`endif // RAPIDSILICON_INTERNAL
, parameter IOSTANDARD = "DEFAULT" // IO Standard
) (
(* iopad_external_pin *)
input logic I,
Expand Down Expand Up @@ -523,10 +521,8 @@ endmodule
(* blackbox *)
module O_BUFT_DS #(
parameter WEAK_KEEPER = "NONE" // Enable pull-up/pull-down on output (NONE/PULLUP/PULLDOWN)
`ifdef RAPIDSILICON_INTERNAL
, parameter IOSTANDARD = "DEFAULT", // IO Standard
, parameter IOSTANDARD = "DEFAULT", // IO Standard
parameter DIFFERENTIAL_TERMINATION = "TRUE" // Enable differential termination
`endif // RAPIDSILICON_INTERNAL
) (
input logic I,
input logic T,
Expand All @@ -547,11 +543,9 @@ endmodule
(* blackbox *)
module O_BUFT #(
parameter WEAK_KEEPER = "NONE" // Enable pull-up/pull-down on output (NONE/PULLUP/PULLDOWN)
`ifdef RAPIDSILICON_INTERNAL
, parameter IOSTANDARD = "DEFAULT", // IO Standard
, parameter IOSTANDARD = "DEFAULT", // IO Standard
parameter DRIVE_STRENGTH = 2, // Drive strength in mA for LVCMOS standards
parameter SLEW_RATE = "SLOW" // Transition rate for LVCMOS standards
`endif // RAPIDSILICON_INTERNAL
) (
input logic I,
input logic T,
Expand All @@ -569,13 +563,11 @@ endmodule
`celldefine
(* blackbox *)
module O_BUF
`ifdef RAPIDSILICON_INTERNAL
#(
parameter IOSTANDARD = "DEFAULT", // IO Standard
parameter DRIVE_STRENGTH = 2, // Drive strength in mA for LVCMOS standards
parameter SLEW_RATE = "SLOW" // Transition rate for LVCMOS standards
)
`endif // RAPIDSILICON_INTERNAL
(
input logic I,
(* iopad_external_pin *)
Expand Down

0 comments on commit 2c4b919

Please sign in to comment.