verilog: Fixing ordering of ports in primitives.
Verilog requires the first signal in a primitive's pin list must be the output.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
diff --git a/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.blackbox.v b/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.blackbox.v
index 6dce239..176927f 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.blackbox.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.blackbox.v
@@ -32,16 +32,16 @@
(* blackbox *)
module sky130_fd_sc_lp__udp_mux_2to1_N (
+ Y ,
A0,
A1,
- S ,
- Y
+ S
);
+ output Y ;
input A0;
input A1;
input S ;
- output Y ;
endmodule
`default_nettype wire
diff --git a/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.v b/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.v
index 8135f89..cc49e67 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_lp__udp_mux_2to1_n.v
@@ -34,16 +34,16 @@
`include "./sky130_fd_sc_lp__udp_mux_2to1_n.blackbox.v"
`else
primitive sky130_fd_sc_lp__udp_mux_2to1_N (
+ Y ,
A0,
A1,
- S ,
- Y
+ S
);
+ output Y ;
input A0;
input A1;
input S ;
- output Y ;
table
// A0 A1 S : Y
diff --git a/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.blackbox.v b/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.blackbox.v
index 481db7c..63ac5a0 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.blackbox.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.blackbox.v
@@ -32,22 +32,22 @@
(* blackbox *)
module sky130_fd_sc_lp__udp_mux_4to2 (
+ X ,
A0,
A1,
A2,
A3,
S0,
- S1,
- X
+ S1
);
+ output X ;
input A0;
input A1;
input A2;
input A3;
input S0;
input S1;
- output X ;
endmodule
`default_nettype wire
diff --git a/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.v b/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.v
index e825d8e..ec8c77b 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_lp__udp_mux_4to2.v
@@ -34,22 +34,22 @@
`include "./sky130_fd_sc_lp__udp_mux_4to2.blackbox.v"
`else
primitive sky130_fd_sc_lp__udp_mux_4to2 (
+ X ,
A0,
A1,
A2,
A3,
S0,
- S1,
- X
+ S1
);
+ output X ;
input A0;
input A1;
input A2;
input A3;
input S0;
input S1;
- output X ;
table
// A0 A1 A2 A3 S0 S1 : X