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_ms__udp_mux_2to1_n.blackbox.v b/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.blackbox.v
index 0f8d6db..9b76dc4 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.blackbox.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.blackbox.v
@@ -32,16 +32,16 @@
(* blackbox *)
module sky130_fd_sc_ms__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_ms__udp_mux_2to1_n.v b/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.v
index 315fc7d..cdba923 100644
--- a/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.v
+++ b/models/udp_mux_2to1_n/sky130_fd_sc_ms__udp_mux_2to1_n.v
@@ -34,16 +34,16 @@
`include "./sky130_fd_sc_ms__udp_mux_2to1_n.blackbox.v"
`else
primitive sky130_fd_sc_ms__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_ms__udp_mux_4to2.blackbox.v b/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.blackbox.v
index 8e6b6ce..4c25d0e 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.blackbox.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.blackbox.v
@@ -32,22 +32,22 @@
(* blackbox *)
module sky130_fd_sc_ms__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_ms__udp_mux_4to2.v b/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.v
index 2439eaf..7dbaea2 100644
--- a/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.v
+++ b/models/udp_mux_4to2/sky130_fd_sc_ms__udp_mux_4to2.v
@@ -34,22 +34,22 @@
`include "./sky130_fd_sc_ms__udp_mux_4to2.blackbox.v"
`else
primitive sky130_fd_sc_ms__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