mirror of https://github.com/efabless/caravel.git
538 lines
12 KiB
Plaintext
538 lines
12 KiB
Plaintext
VERSION 5.7 ;
|
|
NOWIREEXTENSIONATPIN ON ;
|
|
DIVIDERCHAR "/" ;
|
|
BUSBITCHARS "[]" ;
|
|
MACRO gpio_control_block
|
|
CLASS BLOCK ;
|
|
FOREIGN gpio_control_block ;
|
|
ORIGIN 0.000 0.000 ;
|
|
SIZE 170.000 BY 65.000 ;
|
|
PIN gpio_defaults[0]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 4.690 61.000 4.970 65.000 ;
|
|
END
|
|
END gpio_defaults[0]
|
|
PIN gpio_defaults[10]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 27.690 61.000 27.970 65.000 ;
|
|
END
|
|
END gpio_defaults[10]
|
|
PIN gpio_defaults[11]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 29.990 61.000 30.270 65.000 ;
|
|
END
|
|
END gpio_defaults[11]
|
|
PIN gpio_defaults[12]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 32.290 61.000 32.570 65.000 ;
|
|
END
|
|
END gpio_defaults[12]
|
|
PIN gpio_defaults[1]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 6.990 61.000 7.270 65.000 ;
|
|
END
|
|
END gpio_defaults[1]
|
|
PIN gpio_defaults[2]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 9.290 61.000 9.570 65.000 ;
|
|
END
|
|
END gpio_defaults[2]
|
|
PIN gpio_defaults[3]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 11.590 61.000 11.870 65.000 ;
|
|
END
|
|
END gpio_defaults[3]
|
|
PIN gpio_defaults[4]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 13.890 61.000 14.170 65.000 ;
|
|
END
|
|
END gpio_defaults[4]
|
|
PIN gpio_defaults[5]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 16.190 61.000 16.470 65.000 ;
|
|
END
|
|
END gpio_defaults[5]
|
|
PIN gpio_defaults[6]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 18.490 61.000 18.770 65.000 ;
|
|
END
|
|
END gpio_defaults[6]
|
|
PIN gpio_defaults[7]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 20.790 61.000 21.070 65.000 ;
|
|
END
|
|
END gpio_defaults[7]
|
|
PIN gpio_defaults[8]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 23.090 61.000 23.370 65.000 ;
|
|
END
|
|
END gpio_defaults[8]
|
|
PIN gpio_defaults[9]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 25.390 61.000 25.670 65.000 ;
|
|
END
|
|
END gpio_defaults[9]
|
|
PIN mgmt_gpio_in
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 6.160 170.000 6.760 ;
|
|
END
|
|
END mgmt_gpio_in
|
|
PIN mgmt_gpio_oeb
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 8.200 170.000 8.800 ;
|
|
END
|
|
END mgmt_gpio_oeb
|
|
PIN mgmt_gpio_out
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 10.240 170.000 10.840 ;
|
|
END
|
|
END mgmt_gpio_out
|
|
PIN one
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 4.120 170.000 4.720 ;
|
|
END
|
|
END one
|
|
PIN pad_gpio_ana_en
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 12.280 170.000 12.880 ;
|
|
END
|
|
END pad_gpio_ana_en
|
|
PIN pad_gpio_ana_pol
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 14.320 170.000 14.920 ;
|
|
END
|
|
END pad_gpio_ana_pol
|
|
PIN pad_gpio_ana_sel
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 16.360 170.000 16.960 ;
|
|
END
|
|
END pad_gpio_ana_sel
|
|
PIN pad_gpio_dm[0]
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 18.400 170.000 19.000 ;
|
|
END
|
|
END pad_gpio_dm[0]
|
|
PIN pad_gpio_dm[1]
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 20.440 170.000 21.040 ;
|
|
END
|
|
END pad_gpio_dm[1]
|
|
PIN pad_gpio_dm[2]
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 22.480 170.000 23.080 ;
|
|
END
|
|
END pad_gpio_dm[2]
|
|
PIN pad_gpio_holdover
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 24.520 170.000 25.120 ;
|
|
END
|
|
END pad_gpio_holdover
|
|
PIN pad_gpio_ib_mode_sel
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 26.560 170.000 27.160 ;
|
|
END
|
|
END pad_gpio_ib_mode_sel
|
|
PIN pad_gpio_in
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 28.600 170.000 29.200 ;
|
|
END
|
|
END pad_gpio_in
|
|
PIN pad_gpio_inenb
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 30.640 170.000 31.240 ;
|
|
END
|
|
END pad_gpio_inenb
|
|
PIN pad_gpio_out
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 32.680 170.000 33.280 ;
|
|
END
|
|
END pad_gpio_out
|
|
PIN pad_gpio_outenb
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 34.720 170.000 35.320 ;
|
|
END
|
|
END pad_gpio_outenb
|
|
PIN pad_gpio_slow_sel
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 36.760 170.000 37.360 ;
|
|
END
|
|
END pad_gpio_slow_sel
|
|
PIN pad_gpio_vtrip_sel
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 38.800 170.000 39.400 ;
|
|
END
|
|
END pad_gpio_vtrip_sel
|
|
PIN resetn
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 40.840 170.000 41.440 ;
|
|
END
|
|
END resetn
|
|
PIN resetn_out
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 42.880 170.000 43.480 ;
|
|
END
|
|
END resetn_out
|
|
PIN serial_clock
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 44.920 170.000 45.520 ;
|
|
END
|
|
END serial_clock
|
|
PIN serial_clock_out
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 46.960 170.000 47.560 ;
|
|
END
|
|
END serial_clock_out
|
|
PIN serial_data_in
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 49.000 170.000 49.600 ;
|
|
END
|
|
END serial_data_in
|
|
PIN serial_data_out
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 51.040 170.000 51.640 ;
|
|
END
|
|
END serial_data_out
|
|
PIN serial_load
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 53.080 170.000 53.680 ;
|
|
END
|
|
END serial_load
|
|
PIN serial_load_out
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 55.120 170.000 55.720 ;
|
|
END
|
|
END serial_load_out
|
|
PIN user_gpio_in
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 57.160 170.000 57.760 ;
|
|
END
|
|
END user_gpio_in
|
|
PIN user_gpio_oeb
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 59.200 170.000 59.800 ;
|
|
END
|
|
END user_gpio_oeb
|
|
PIN user_gpio_out
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 61.240 170.000 61.840 ;
|
|
END
|
|
END user_gpio_out
|
|
PIN vccd
|
|
DIRECTION INPUT ;
|
|
USE POWER ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 5.900 49.220 7.500 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 22.800 49.220 24.400 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 39.700 49.220 41.300 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 12.800 5.440 14.400 57.360 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 28.300 5.200 29.900 57.360 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 43.800 5.200 45.400 57.360 ;
|
|
END
|
|
END vccd
|
|
PIN vccd1
|
|
DIRECTION INPUT ;
|
|
USE POWER ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 11.140 49.220 12.740 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 28.040 49.220 29.640 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 44.940 49.220 46.540 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 17.800 5.440 19.400 57.120 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 33.300 5.440 34.900 57.120 ;
|
|
END
|
|
END vccd1
|
|
PIN vssd
|
|
DIRECTION INPUT ;
|
|
USE GROUND ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 14.350 49.220 15.950 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 31.250 49.220 32.850 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 48.150 49.220 49.750 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 20.550 5.200 22.150 57.360 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 36.050 5.200 37.650 57.360 ;
|
|
END
|
|
END vssd
|
|
PIN vssd1
|
|
DIRECTION INPUT ;
|
|
USE GROUND ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 19.590 49.220 21.190 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 36.490 49.220 38.090 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 4.600 53.390 49.220 54.990 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 25.550 5.440 27.150 57.120 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 41.050 5.440 42.650 57.120 ;
|
|
END
|
|
END vssd1
|
|
PIN zero
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 70.000 2.080 170.000 2.680 ;
|
|
END
|
|
END zero
|
|
OBS
|
|
LAYER li1 ;
|
|
RECT 3.825 5.355 49.995 57.205 ;
|
|
LAYER met1 ;
|
|
RECT 3.750 4.120 110.790 59.800 ;
|
|
LAYER met2 ;
|
|
RECT 3.780 60.720 4.410 61.725 ;
|
|
RECT 5.250 60.720 6.710 61.725 ;
|
|
RECT 7.550 60.720 9.010 61.725 ;
|
|
RECT 9.850 60.720 11.310 61.725 ;
|
|
RECT 12.150 60.720 13.610 61.725 ;
|
|
RECT 14.450 60.720 15.910 61.725 ;
|
|
RECT 16.750 60.720 18.210 61.725 ;
|
|
RECT 19.050 60.720 20.510 61.725 ;
|
|
RECT 21.350 60.720 22.810 61.725 ;
|
|
RECT 23.650 60.720 25.110 61.725 ;
|
|
RECT 25.950 60.720 27.410 61.725 ;
|
|
RECT 28.250 60.720 29.710 61.725 ;
|
|
RECT 30.550 60.720 32.010 61.725 ;
|
|
RECT 32.850 60.720 110.770 61.725 ;
|
|
RECT 3.780 2.195 110.770 60.720 ;
|
|
LAYER met3 ;
|
|
RECT 4.205 58.160 70.000 58.305 ;
|
|
RECT 4.205 56.760 69.600 58.160 ;
|
|
RECT 4.205 56.120 70.000 56.760 ;
|
|
RECT 4.205 54.720 69.600 56.120 ;
|
|
RECT 4.205 54.080 70.000 54.720 ;
|
|
RECT 4.205 52.680 69.600 54.080 ;
|
|
RECT 4.205 52.040 70.000 52.680 ;
|
|
RECT 4.205 50.640 69.600 52.040 ;
|
|
RECT 4.205 50.000 70.000 50.640 ;
|
|
RECT 4.205 48.600 69.600 50.000 ;
|
|
RECT 4.205 47.960 70.000 48.600 ;
|
|
RECT 4.205 46.560 69.600 47.960 ;
|
|
RECT 4.205 45.920 70.000 46.560 ;
|
|
RECT 4.205 44.520 69.600 45.920 ;
|
|
RECT 4.205 43.880 70.000 44.520 ;
|
|
RECT 4.205 42.480 69.600 43.880 ;
|
|
RECT 4.205 41.840 70.000 42.480 ;
|
|
RECT 4.205 40.440 69.600 41.840 ;
|
|
RECT 4.205 39.800 70.000 40.440 ;
|
|
RECT 4.205 38.400 69.600 39.800 ;
|
|
RECT 4.205 37.760 70.000 38.400 ;
|
|
RECT 4.205 36.360 69.600 37.760 ;
|
|
RECT 4.205 35.720 70.000 36.360 ;
|
|
RECT 4.205 34.320 69.600 35.720 ;
|
|
RECT 4.205 33.680 70.000 34.320 ;
|
|
RECT 4.205 32.280 69.600 33.680 ;
|
|
RECT 4.205 31.640 70.000 32.280 ;
|
|
RECT 4.205 30.240 69.600 31.640 ;
|
|
RECT 4.205 29.600 70.000 30.240 ;
|
|
RECT 4.205 28.200 69.600 29.600 ;
|
|
RECT 4.205 27.560 70.000 28.200 ;
|
|
RECT 4.205 26.160 69.600 27.560 ;
|
|
RECT 4.205 25.520 70.000 26.160 ;
|
|
RECT 4.205 24.120 69.600 25.520 ;
|
|
RECT 4.205 23.480 70.000 24.120 ;
|
|
RECT 4.205 22.080 69.600 23.480 ;
|
|
RECT 4.205 21.440 70.000 22.080 ;
|
|
RECT 4.205 20.040 69.600 21.440 ;
|
|
RECT 4.205 19.400 70.000 20.040 ;
|
|
RECT 4.205 18.000 69.600 19.400 ;
|
|
RECT 4.205 17.360 70.000 18.000 ;
|
|
RECT 4.205 15.960 69.600 17.360 ;
|
|
RECT 4.205 15.320 70.000 15.960 ;
|
|
RECT 4.205 13.920 69.600 15.320 ;
|
|
RECT 4.205 13.280 70.000 13.920 ;
|
|
RECT 4.205 11.880 69.600 13.280 ;
|
|
RECT 4.205 11.240 70.000 11.880 ;
|
|
RECT 4.205 9.840 69.600 11.240 ;
|
|
RECT 4.205 9.200 70.000 9.840 ;
|
|
RECT 4.205 7.800 69.600 9.200 ;
|
|
RECT 4.205 7.160 70.000 7.800 ;
|
|
RECT 4.205 5.760 69.600 7.160 ;
|
|
RECT 4.205 5.120 70.000 5.760 ;
|
|
RECT 4.205 3.720 69.600 5.120 ;
|
|
RECT 4.205 3.080 70.000 3.720 ;
|
|
RECT 4.205 2.215 69.600 3.080 ;
|
|
LAYER met4 ;
|
|
RECT 6.280 8.160 11.380 22.240 ;
|
|
END
|
|
END gpio_control_block
|
|
END LIBRARY
|
|
|