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_hs__udp_mux_2to1_n.blackbox.v b/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.blackbox.v
index 9600ffd..9814169 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.blackbox.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.blackbox.v
@@ -32,16 +32,16 @@
(* blackbox *)
module sky130_fd_sc_hs__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_hs__udp_mux_2to1_n.v b/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.v
index ff60f3f..97e9d16 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_hs__udp_mux_2to1_n.v
@@ -34,16 +34,16 @@
`include "./sky130_fd_sc_hs__udp_mux_2to1_n.blackbox.v"
`else
primitive sky130_fd_sc_hs__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_hs__udp_mux_4to2.blackbox.v b/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.blackbox.v
index 5d50777..2d4ac7d 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.blackbox.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.blackbox.v
@@ -32,22 +32,22 @@
(* blackbox *)
module sky130_fd_sc_hs__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_hs__udp_mux_4to2.v b/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.v
index cc28b89..a40e906 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_hs__udp_mux_4to2.v
@@ -34,22 +34,22 @@
`include "./sky130_fd_sc_hs__udp_mux_4to2.blackbox.v"
`else
primitive sky130_fd_sc_hs__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