add antenna ratios in the lef files of the macros.

This commit is contained in:
mo-hosni 2023-03-26 02:54:31 -07:00
parent 77669e899e
commit 03e08ea62e
10 changed files with 1817 additions and 2498 deletions

View File

@ -34,6 +34,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[0]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 3.770 25.000 4.050 31.000 ;
@ -42,6 +43,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[10]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 21.120 3.000 21.720 ;
@ -50,6 +52,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[11]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 3.770 -3.000 4.050 3.000 ;
@ -58,6 +61,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[12]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 5.610 -3.000 5.890 3.000 ;
@ -66,6 +70,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 5.610 25.000 5.890 31.000 ;
@ -74,6 +79,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[2]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 4.800 3.000 5.400 ;
@ -82,6 +88,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[3]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 6.160 3.000 6.760 ;
@ -90,6 +97,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[4]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 7.520 3.000 8.120 ;
@ -98,6 +106,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[5]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 11.600 3.000 12.200 ;
@ -106,6 +115,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[6]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 12.960 3.000 13.560 ;
@ -114,6 +124,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[7]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 14.320 3.000 14.920 ;
@ -122,6 +133,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[8]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 18.400 3.000 19.000 ;
@ -130,6 +142,7 @@ MACRO gpio_defaults_block
PIN gpio_defaults[9]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT -3.000 19.760 3.000 20.360 ;

View File

@ -10,6 +10,7 @@ MACRO gpio_logic_high
PIN gpio_logic1
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 10.670 0.000 10.950 2.000 ;

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ MACRO mprj2_logic_high
PIN HI
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 3.440 4.000 4.040 ;

View File

@ -50,6 +50,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[0]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 39.650 46.000 39.930 50.000 ;
@ -58,6 +59,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[10]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 12.050 46.000 12.330 50.000 ;
@ -66,6 +68,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[11]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 9.290 46.000 9.570 50.000 ;
@ -74,6 +77,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[12]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 6.530 46.000 6.810 50.000 ;
@ -82,6 +86,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[13]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 3.770 46.000 4.050 50.000 ;
@ -90,6 +95,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[14]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 0.000 41.520 4.000 42.120 ;
@ -98,6 +104,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[15]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 0.000 34.720 4.000 35.320 ;
@ -106,6 +113,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[16]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 0.000 27.920 4.000 28.520 ;
@ -114,6 +122,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[17]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 0.000 17.720 4.000 18.320 ;
@ -122,6 +131,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[18]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 0.000 7.520 4.000 8.120 ;
@ -130,6 +140,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[1]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 36.890 46.000 37.170 50.000 ;
@ -138,6 +149,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[2]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 34.130 46.000 34.410 50.000 ;
@ -146,6 +158,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[3]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 31.370 46.000 31.650 50.000 ;
@ -154,6 +167,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[4]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 28.610 46.000 28.890 50.000 ;
@ -162,6 +176,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[5]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 25.850 46.000 26.130 50.000 ;
@ -170,6 +185,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[6]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 23.090 46.000 23.370 50.000 ;
@ -178,6 +194,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[7]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 20.330 46.000 20.610 50.000 ;
@ -186,6 +203,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[8]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 17.570 46.000 17.850 50.000 ;
@ -194,6 +212,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in[9]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 14.810 46.000 15.090 50.000 ;
@ -202,6 +221,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[0]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 8.880 45.000 9.480 ;
@ -210,6 +230,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[10]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 29.280 45.000 29.880 ;
@ -218,6 +239,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[11]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 31.320 45.000 31.920 ;
@ -226,6 +248,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[12]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 33.360 45.000 33.960 ;
@ -234,6 +257,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[13]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 35.400 45.000 36.000 ;
@ -242,6 +266,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[14]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 37.440 45.000 38.040 ;
@ -250,6 +275,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[15]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 39.480 45.000 40.080 ;
@ -258,6 +284,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[16]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 41.520 45.000 42.120 ;
@ -266,6 +293,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[17]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 43.560 45.000 44.160 ;
@ -274,6 +302,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[18]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 45.600 45.000 46.200 ;
@ -282,6 +311,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 10.920 45.000 11.520 ;
@ -290,6 +320,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[2]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 12.960 45.000 13.560 ;
@ -298,6 +329,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[3]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 15.000 45.000 15.600 ;
@ -306,6 +338,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[4]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 17.040 45.000 17.640 ;
@ -314,6 +347,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[5]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 19.080 45.000 19.680 ;
@ -322,6 +356,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[6]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 21.120 45.000 21.720 ;
@ -330,6 +365,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[7]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 23.160 45.000 23.760 ;
@ -338,6 +374,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[8]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 25.200 45.000 25.800 ;
@ -346,6 +383,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_in_buf[9]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 41.000 27.240 45.000 27.840 ;
@ -354,6 +392,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb[0]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 41.000 2.760 45.000 3.360 ;
@ -362,6 +401,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb[1]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 41.000 4.800 45.000 5.400 ;
@ -370,6 +410,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb[2]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met3 ;
RECT 41.000 6.840 45.000 7.440 ;
@ -378,6 +419,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb_buf[0]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 21.120 4.000 21.720 ;
@ -386,6 +428,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb_buf[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 10.920 4.000 11.520 ;
@ -394,6 +437,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_oeb_buf[2]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 4.120 4.000 4.720 ;
@ -402,6 +446,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[0]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 1.470 0.000 1.750 4.000 ;
@ -410,6 +455,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[10]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 24.470 0.000 24.750 4.000 ;
@ -418,6 +464,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[11]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 26.770 0.000 27.050 4.000 ;
@ -426,6 +473,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[12]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 29.070 0.000 29.350 4.000 ;
@ -434,6 +482,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[13]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 31.370 0.000 31.650 4.000 ;
@ -442,6 +491,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[14]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 33.670 0.000 33.950 4.000 ;
@ -450,6 +500,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[15]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 35.970 0.000 36.250 4.000 ;
@ -458,6 +509,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[16]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 38.270 0.000 38.550 4.000 ;
@ -466,6 +518,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[17]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 40.570 0.000 40.850 4.000 ;
@ -474,6 +527,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[18]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 42.870 0.000 43.150 4.000 ;
@ -482,6 +536,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[1]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 3.770 0.000 4.050 4.000 ;
@ -490,6 +545,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[2]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 6.070 0.000 6.350 4.000 ;
@ -498,6 +554,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[3]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 8.370 0.000 8.650 4.000 ;
@ -506,6 +563,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[4]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 10.670 0.000 10.950 4.000 ;
@ -514,6 +572,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[5]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 12.970 0.000 13.250 4.000 ;
@ -522,6 +581,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[6]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 15.270 0.000 15.550 4.000 ;
@ -530,6 +590,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[7]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 17.570 0.000 17.850 4.000 ;
@ -538,6 +599,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[8]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 19.870 0.000 20.150 4.000 ;
@ -546,6 +608,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out[9]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 22.170 0.000 22.450 4.000 ;
@ -554,6 +617,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[0]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 41.030 46.000 41.310 50.000 ;
@ -562,6 +626,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[10]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 13.430 46.000 13.710 50.000 ;
@ -570,6 +635,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[11]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 10.670 46.000 10.950 50.000 ;
@ -578,6 +644,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[12]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 7.910 46.000 8.190 50.000 ;
@ -586,6 +653,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[13]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 5.150 46.000 5.430 50.000 ;
@ -594,6 +662,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[14]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 44.920 4.000 45.520 ;
@ -602,6 +671,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[15]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 38.120 4.000 38.720 ;
@ -610,6 +680,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[16]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 31.320 4.000 31.920 ;
@ -618,6 +689,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[17]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 24.520 4.000 25.120 ;
@ -626,6 +698,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[18]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 0.000 14.320 4.000 14.920 ;
@ -634,6 +707,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 38.270 46.000 38.550 50.000 ;
@ -642,6 +716,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[2]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 35.510 46.000 35.790 50.000 ;
@ -650,6 +725,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[3]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 32.750 46.000 33.030 50.000 ;
@ -658,6 +734,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[4]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 29.990 46.000 30.270 50.000 ;
@ -666,6 +743,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[5]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 27.230 46.000 27.510 50.000 ;
@ -674,6 +752,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[6]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 24.470 46.000 24.750 50.000 ;
@ -682,6 +761,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[7]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 21.710 46.000 21.990 50.000 ;
@ -690,6 +770,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[8]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 18.950 46.000 19.230 50.000 ;
@ -698,6 +779,7 @@ MACRO mprj_io_buffer
PIN mgmt_gpio_out_buf[9]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 16.190 46.000 16.470 50.000 ;

View File

@ -6,7 +6,7 @@ MACRO simple_por
CLASS BLOCK ;
FOREIGN simple_por ;
ORIGIN 0.000 0.000 ;
SIZE 56.720 BY 41.690 ;
SIZE 63.720 BY 41.690 ;
PIN vdd3v3
DIRECTION INOUT ;
USE POWER ;
@ -34,6 +34,7 @@ MACRO simple_por
PIN porb_h
DIRECTION OUTPUT ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 54.545 33.825 56.710 34.170 ;
@ -42,6 +43,7 @@ MACRO simple_por
PIN por_l
DIRECTION OUTPUT ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 53.960 37.455 56.720 37.755 ;
@ -50,6 +52,7 @@ MACRO simple_por
PIN porb_l
DIRECTION OUTPUT ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met3 ;
RECT 51.855 39.280 56.715 39.580 ;

File diff suppressed because it is too large Load Diff

3281
lef/user_project_wrapper_empty.lef Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ MACRO xres_buf
PIN A
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met2 ;
RECT 16.420 13.000 16.700 19.000 ;
@ -18,6 +19,7 @@ MACRO xres_buf
PIN X
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.340600 ;
PORT
LAYER met2 ;
RECT 2.980 -2.000 3.260 4.000 ;

View File

@ -0,0 +1,37 @@
import os
# Set the directory path
directory_path = "./../lef/"
# Loop through all files in the directory
for filename in os.listdir(directory_path):
# Check if the file is a lef file
if filename.endswith(".lef"):
# Open the file for reading and editing
with open(os.path.join(directory_path, filename), "r+") as f:
lines = f.readlines()
print("Processing the lef file: ", os.path.join(directory_path, filename))
# define the lines to search for and the lines to insert
input_lines = ["PIN", "DIRECTION INPUT", "USE SIGNAL", "ANTENNAGATEAREA"]
input_insert = " ANTENNAGATEAREA 0.196500 ;\n"
output_lines = ["PIN", "DIRECTION OUTPUT", "USE SIGNAL", "ANTENNADIFFAREA"]
output_insert = " ANTENNADIFFAREA 0.340600 ;\n"
# iterate through the lines, searching for the lines to insert after
for i in range(len(lines)):
if input_lines[0] in lines[i]:
if input_lines[1] in lines[i+1]:
if input_lines[2] in lines[i+2]:
if input_lines[3] not in lines[i+3]:
lines.insert(i+3, input_insert)
if output_lines[0] in lines[i]:
if output_lines[1] in lines[i+1]:
if output_lines[2] in lines[i+2]:
if output_lines[3] not in lines[i+3]:
lines.insert(i+3, output_insert)
# write the modified contents back to the file
with open(os.path.join(directory_path, filename), "w") as f:
f.writelines(lines)