3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-14 21:08:47 +00:00

Gowin. BUGFIX. Restore MUXes.

I mistakenly listed MUXes as unplanned. This did not lead to
catastrophic consequences - all apicula and uLinux examples compile and
work, but the quality of synthesis was significantly reduced, which
affected the compilation time badly.

Restoring the MUXes will bring the compilation time back to normal.

Signed-off-by: YRabbit <rabbit@yrabbit.cyou>
This commit is contained in:
YRabbit 2025-03-29 14:52:53 +10:00
parent 1b25e1cee0
commit 5821ca265a
4 changed files with 142 additions and 2 deletions

View file

@ -26,8 +26,7 @@ _skip = { # These are already described, no need to extract them from the vendor
'RAM16SDP1', 'RAM16SDP2', 'RAM16SDP4', 'rPLL', 'SDP',
'SDPX9', 'SP', 'SPX9', 'TBUF', 'TLVDS_OBUF', 'VCC', 'DCS', 'EMCU',
# These are not planned for implementation
'MUX2_MUX8', 'MUX2_MUX16', 'MUX2_MUX32', 'MUX4', 'MUX8', 'MUX16',
'MUX32', 'DL', 'DLE', 'DLC', 'DLCE', 'DLP', 'DLPE', 'DLN', 'DLNE',
'DL', 'DLE', 'DLC', 'DLCE', 'DLP', 'DLPE', 'DLN', 'DLNE',
'DLNC', 'DLNCE', 'DLNP', 'DLNPE', 'rSDP', 'rSDPX9', 'rROM', 'rROMX9',
'TLVDS_OEN_BK', 'DLL', 'DCC', 'I3C', 'IODELAYA', 'IODELAYC', 'IODELAYB',
'SPMI', 'PLLO', 'DCCG', 'MIPI_DPHY_RX', 'CLKDIVG', 'PWRGRD', 'FLASH96KA',

View file

@ -1,6 +1,53 @@
// Created by cells_xtra.py
module MUX2_MUX8 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX16 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX32 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX4 (...);
input I0, I1, I2, I3;
input S0, S1;
output O;
endmodule
module MUX8 (...);
input I0, I1, I2, I3, I4, I5, I6, I7;
input S0, S1, S2;
output O;
endmodule
module MUX16 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15;
input S0, S1, S2, S3;
output O;
endmodule
module MUX32 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31;
input S0, S1, S2, S3, S4;
output O;
endmodule
module LUT5 (...);
parameter INIT = 32'h00000000;
input I0, I1, I2, I3, I4;

View file

@ -1,6 +1,53 @@
// Created by cells_xtra.py
module MUX2_MUX8 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX16 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX32 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX4 (...);
input I0, I1, I2, I3;
input S0, S1;
output O;
endmodule
module MUX8 (...);
input I0, I1, I2, I3, I4, I5, I6, I7;
input S0, S1, S2;
output O;
endmodule
module MUX16 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15;
input S0, S1, S2, S3;
output O;
endmodule
module MUX32 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31;
input S0, S1, S2, S3, S4;
output O;
endmodule
module LUT5 (...);
parameter INIT = 32'h00000000;
input I0, I1, I2, I3, I4;

View file

@ -1,6 +1,53 @@
// Created by cells_xtra.py
module MUX2_MUX8 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX16 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX2_MUX32 (...);
input I0,I1;
input S0;
output O;
endmodule
module MUX4 (...);
input I0, I1, I2, I3;
input S0, S1;
output O;
endmodule
module MUX8 (...);
input I0, I1, I2, I3, I4, I5, I6, I7;
input S0, S1, S2;
output O;
endmodule
module MUX16 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15;
input S0, S1, S2, S3;
output O;
endmodule
module MUX32 (...);
input I0, I1, I2, I3, I4, I5, I6, I7, I8, I9, I10, I11, I12, I13, I14, I15, I16, I17, I18, I19, I20, I21, I22, I23, I24, I25, I26, I27, I28, I29, I30, I31;
input S0, S1, S2, S3, S4;
output O;
endmodule
module LUT5 (...);
parameter INIT = 32'h00000000;
input I0, I1, I2, I3, I4;