mirror of https://github.com/efabless/caravel.git
293 lines
7.2 KiB
Plaintext
293 lines
7.2 KiB
Plaintext
VERSION 5.7 ;
|
|
NOWIREEXTENSIONATPIN ON ;
|
|
DIVIDERCHAR "/" ;
|
|
BUSBITCHARS "[]" ;
|
|
MACRO caravel_clocking
|
|
CLASS BLOCK ;
|
|
FOREIGN caravel_clocking ;
|
|
ORIGIN 0.000 0.000 ;
|
|
SIZE 100.000 BY 60.000 ;
|
|
PIN VGND
|
|
DIRECTION INPUT ;
|
|
USE GROUND ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 0.000 24.060 94.300 25.660 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 0.000 40.960 94.300 42.560 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 23.270 -0.240 24.870 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 38.770 -0.240 40.370 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 54.270 -0.240 55.870 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 69.770 -0.240 71.370 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 85.270 -0.240 86.870 54.640 ;
|
|
END
|
|
END VGND
|
|
PIN VPWR
|
|
DIRECTION INPUT ;
|
|
USE POWER ;
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 0.000 15.610 94.300 17.210 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 0.000 32.510 94.300 34.110 ;
|
|
END
|
|
PORT
|
|
LAYER met5 ;
|
|
RECT 0.000 49.410 94.300 51.010 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 15.520 -0.240 17.120 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 31.020 -0.240 32.620 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 46.520 -0.240 48.120 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 62.020 -0.240 63.620 54.640 ;
|
|
END
|
|
PORT
|
|
LAYER met4 ;
|
|
RECT 77.520 -0.240 79.120 54.640 ;
|
|
END
|
|
END VPWR
|
|
PIN core_clk
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 35.510 56.000 35.790 60.000 ;
|
|
END
|
|
END core_clk
|
|
PIN ext_clk
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 21.250 56.000 21.530 60.000 ;
|
|
END
|
|
END ext_clk
|
|
PIN ext_clk_sel
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 3.440 100.000 4.040 ;
|
|
END
|
|
END ext_clk_sel
|
|
PIN ext_reset
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 55.800 100.000 56.400 ;
|
|
END
|
|
END ext_reset
|
|
PIN pll_clk
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 78.290 56.000 78.570 60.000 ;
|
|
END
|
|
END pll_clk
|
|
PIN pll_clk90
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 92.550 56.000 92.830 60.000 ;
|
|
END
|
|
END pll_clk90
|
|
PIN resetb
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 6.990 56.000 7.270 60.000 ;
|
|
END
|
|
END resetb
|
|
PIN resetb_sync
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 64.030 56.000 64.310 60.000 ;
|
|
END
|
|
END resetb_sync
|
|
PIN sel2[0]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 33.360 100.000 33.960 ;
|
|
END
|
|
END sel2[0]
|
|
PIN sel2[1]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 40.840 100.000 41.440 ;
|
|
END
|
|
END sel2[1]
|
|
PIN sel2[2]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 48.320 100.000 48.920 ;
|
|
END
|
|
END sel2[2]
|
|
PIN sel[0]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 10.920 100.000 11.520 ;
|
|
END
|
|
END sel[0]
|
|
PIN sel[1]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 18.400 100.000 19.000 ;
|
|
END
|
|
END sel[1]
|
|
PIN sel[2]
|
|
DIRECTION INPUT ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met3 ;
|
|
RECT 96.000 25.880 100.000 26.480 ;
|
|
END
|
|
END sel[2]
|
|
PIN user_clk
|
|
DIRECTION OUTPUT TRISTATE ;
|
|
USE SIGNAL ;
|
|
PORT
|
|
LAYER met2 ;
|
|
RECT 49.770 56.000 50.050 60.000 ;
|
|
END
|
|
END user_clk
|
|
OBS
|
|
LAYER nwell ;
|
|
RECT -0.190 50.265 94.490 53.095 ;
|
|
RECT -0.190 44.825 94.490 47.655 ;
|
|
RECT -0.190 39.385 94.490 42.215 ;
|
|
RECT -0.190 33.945 94.490 36.775 ;
|
|
RECT -0.190 28.505 94.490 31.335 ;
|
|
RECT -0.190 23.065 94.490 25.895 ;
|
|
RECT -0.190 17.625 94.490 20.455 ;
|
|
RECT -0.190 12.185 94.490 15.015 ;
|
|
RECT -0.190 6.745 94.490 9.575 ;
|
|
RECT -0.190 1.305 94.490 4.135 ;
|
|
LAYER pwell ;
|
|
RECT 0.145 -0.085 0.315 0.085 ;
|
|
RECT 1.525 -0.085 1.695 0.085 ;
|
|
RECT 5.215 -0.050 5.375 0.060 ;
|
|
RECT 6.585 -0.085 6.755 0.085 ;
|
|
RECT 12.565 -0.085 12.735 0.085 ;
|
|
RECT 16.700 -0.085 16.870 0.085 ;
|
|
RECT 17.175 -0.050 17.335 0.060 ;
|
|
RECT 19.470 -0.085 19.640 0.085 ;
|
|
RECT 19.925 -0.085 20.095 0.085 ;
|
|
RECT 23.600 -0.055 23.720 0.055 ;
|
|
RECT 24.525 -0.085 24.695 0.085 ;
|
|
RECT 26.365 -0.085 26.535 0.085 ;
|
|
RECT 29.580 -0.055 29.700 0.055 ;
|
|
RECT 30.780 -0.085 30.950 0.085 ;
|
|
RECT 34.645 -0.085 34.815 0.085 ;
|
|
RECT 36.485 -0.085 36.655 0.085 ;
|
|
RECT 45.685 -0.085 45.855 0.085 ;
|
|
RECT 46.145 -0.085 46.315 0.085 ;
|
|
RECT 48.445 -0.085 48.615 0.085 ;
|
|
RECT 50.285 -0.085 50.455 0.085 ;
|
|
RECT 53.500 -0.055 53.620 0.055 ;
|
|
RECT 54.425 -0.085 54.595 0.085 ;
|
|
RECT 60.400 -0.055 60.520 0.055 ;
|
|
RECT 60.865 -0.085 61.035 0.085 ;
|
|
RECT 64.545 -0.085 64.715 0.085 ;
|
|
RECT 66.385 -0.085 66.555 0.085 ;
|
|
RECT 72.375 -0.050 72.535 0.060 ;
|
|
RECT 75.585 -0.085 75.755 0.085 ;
|
|
RECT 76.045 -0.085 76.215 0.085 ;
|
|
RECT 78.345 -0.085 78.515 0.085 ;
|
|
RECT 84.325 -0.085 84.495 0.085 ;
|
|
RECT 86.170 -0.085 86.340 0.085 ;
|
|
RECT 88.935 -0.050 89.095 0.060 ;
|
|
RECT 90.310 -0.085 90.480 0.085 ;
|
|
RECT 93.985 -0.085 94.155 0.085 ;
|
|
LAYER li1 ;
|
|
RECT 0.000 0.085 94.300 54.485 ;
|
|
LAYER li1 ;
|
|
RECT 0.000 -0.085 94.300 0.085 ;
|
|
LAYER met1 ;
|
|
RECT 0.000 -0.240 94.300 54.640 ;
|
|
LAYER met2 ;
|
|
RECT 1.480 55.720 6.710 56.285 ;
|
|
RECT 7.550 55.720 20.970 56.285 ;
|
|
RECT 21.810 55.720 35.230 56.285 ;
|
|
RECT 36.070 55.720 49.490 56.285 ;
|
|
RECT 50.330 55.720 63.750 56.285 ;
|
|
RECT 64.590 55.720 78.010 56.285 ;
|
|
RECT 78.850 55.720 92.270 56.285 ;
|
|
RECT 93.110 55.720 94.210 56.285 ;
|
|
RECT 1.480 0.000 94.210 55.720 ;
|
|
RECT 23.300 -0.240 24.840 0.000 ;
|
|
RECT 38.800 -0.240 40.340 0.000 ;
|
|
RECT 54.300 -0.240 55.840 0.000 ;
|
|
RECT 69.800 -0.240 71.340 0.000 ;
|
|
RECT 85.300 -0.240 86.840 0.000 ;
|
|
LAYER met3 ;
|
|
RECT 12.025 55.400 95.600 56.265 ;
|
|
RECT 12.025 49.320 96.000 55.400 ;
|
|
RECT 12.025 47.920 95.600 49.320 ;
|
|
RECT 12.025 41.840 96.000 47.920 ;
|
|
RECT 12.025 40.440 95.600 41.840 ;
|
|
RECT 12.025 34.360 96.000 40.440 ;
|
|
RECT 12.025 32.960 95.600 34.360 ;
|
|
RECT 12.025 26.880 96.000 32.960 ;
|
|
RECT 12.025 25.480 95.600 26.880 ;
|
|
RECT 12.025 19.400 96.000 25.480 ;
|
|
RECT 12.025 18.000 95.600 19.400 ;
|
|
RECT 12.025 11.920 96.000 18.000 ;
|
|
RECT 12.025 10.520 95.600 11.920 ;
|
|
RECT 12.025 4.440 96.000 10.520 ;
|
|
RECT 12.025 3.040 95.600 4.440 ;
|
|
RECT 12.025 0.000 96.000 3.040 ;
|
|
RECT 23.270 -0.165 24.870 0.000 ;
|
|
RECT 38.770 -0.165 40.370 0.000 ;
|
|
RECT 54.270 -0.165 55.870 0.000 ;
|
|
RECT 69.770 -0.165 71.370 0.000 ;
|
|
RECT 85.270 -0.165 86.870 0.000 ;
|
|
END
|
|
END caravel_clocking
|
|
END LIBRARY
|
|
|