added constant_block view

This commit is contained in:
mo-hosni 2022-10-08 12:05:53 -07:00
parent b88648bbae
commit dde6e034e0
10 changed files with 1113 additions and 0 deletions

153
def/constant_block.def Normal file
View File

@ -0,0 +1,153 @@
VERSION 5.8 ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
DESIGN constant_block ;
UNITS DISTANCE MICRONS 1000 ;
DIEAREA ( 0 0 ) ( 14000 13000 ) ;
ROW ROW_0 unithd 460 2720 N DO 28 BY 1 STEP 460 0 ;
ROW ROW_1 unithd 460 5440 FS DO 28 BY 1 STEP 460 0 ;
ROW ROW_2 unithd 460 8160 N DO 28 BY 1 STEP 460 0 ;
TRACKS X 230 DO 30 STEP 460 LAYER li1 ;
TRACKS Y 170 DO 38 STEP 340 LAYER li1 ;
TRACKS X 170 DO 41 STEP 340 LAYER met1 ;
TRACKS Y 170 DO 38 STEP 340 LAYER met1 ;
TRACKS X 230 DO 30 STEP 460 LAYER met2 ;
TRACKS Y 230 DO 28 STEP 460 LAYER met2 ;
TRACKS X 340 DO 21 STEP 680 LAYER met3 ;
TRACKS Y 340 DO 19 STEP 680 LAYER met3 ;
TRACKS X 460 DO 15 STEP 920 LAYER met4 ;
TRACKS Y 460 DO 14 STEP 920 LAYER met4 ;
TRACKS X 1700 DO 4 STEP 3400 LAYER met5 ;
TRACKS Y 1700 DO 4 STEP 3400 LAYER met5 ;
GCELLGRID X 0 DO 2 STEP 6900 ;
GCELLGRID Y 0 DO 1 STEP 6900 ;
VIAS 3 ;
- via2_3_900_480_1_2_320_320 + VIARULE M1M2_PR + CUTSIZE 150 150 + LAYERS met1 via met2 + CUTSPACING 170 170 + ENCLOSURE 85 165 55 85 + ROWCOL 1 2 ;
- via3_4_900_480_1_2_400_400 + VIARULE M2M3_PR + CUTSIZE 200 200 + LAYERS met2 via2 met3 + CUTSPACING 200 200 + ENCLOSURE 40 85 65 65 + ROWCOL 1 2 ;
- via4_5_900_480_1_2_400_400 + VIARULE M3M4_PR + CUTSIZE 200 200 + LAYERS met3 via3 met4 + CUTSPACING 200 200 + ENCLOSURE 90 60 150 65 + ROWCOL 1 2 ;
END VIAS
COMPONENTS 16 ;
- FILLER_0_0 sky130_fd_sc_hd__fill_2 + SOURCE DIST + PLACED ( 460 2720 ) N ;
- FILLER_0_24 sky130_fd_sc_hd__fill_2 + SOURCE DIST + PLACED ( 11500 2720 ) N ;
- FILLER_0_27 sky130_fd_sc_hd__fill_1 + SOURCE DIST + PLACED ( 12880 2720 ) N ;
- FILLER_1_0 sky130_fd_sc_hd__fill_4 + SOURCE DIST + PLACED ( 460 5440 ) FS ;
- FILLER_1_16 sky130_fd_sc_hd__fill_8 + SOURCE DIST + PLACED ( 7820 5440 ) FS ;
- FILLER_1_24 sky130_fd_sc_hd__fill_4 + SOURCE DIST + PLACED ( 11500 5440 ) FS ;
- FILLER_1_4 sky130_fd_sc_hd__fill_1 + SOURCE DIST + PLACED ( 2300 5440 ) FS ;
- FILLER_1_8 sky130_fd_sc_hd__fill_8 + SOURCE DIST + PLACED ( 4140 5440 ) FS ;
- FILLER_2_0 sky130_fd_sc_hd__fill_2 + SOURCE DIST + PLACED ( 460 8160 ) N ;
- FILLER_2_24 sky130_fd_sc_hd__fill_2 + SOURCE DIST + PLACED ( 11500 8160 ) N ;
- FILLER_2_27 sky130_fd_sc_hd__fill_1 + SOURCE DIST + PLACED ( 12880 8160 ) N ;
- TAP_0 sky130_fd_sc_hd__tapvpwrvgnd_1 + SOURCE DIST + FIXED ( 12420 2720 ) N ;
- TAP_1 sky130_fd_sc_hd__tapvpwrvgnd_1 + SOURCE DIST + FIXED ( 12420 8160 ) N ;
- const_one_buf sky130_fd_sc_hd__buf_16 + PLACED ( 1380 8160 ) N ;
- const_source sky130_fd_sc_hd__conb_1 + PLACED ( 2760 5440 ) S ;
- const_zero_buf sky130_fd_sc_hd__buf_16 + PLACED ( 1380 2720 ) N ;
END COMPONENTS
PINS 4 ;
- one + NET one + DIRECTION OUTPUT + USE SIGNAL
+ PORT
+ LAYER met3 ( -2000 -300 ) ( 2000 300 )
+ PLACED ( 12000 6460 ) N ;
- vccd + NET vccd + SPECIAL + DIRECTION INOUT + USE POWER
+ PORT
+ LAYER met4 ( -450 -4320 ) ( 450 4320 )
+ LAYER met4 ( -5450 -4320 ) ( -4550 4320 )
+ LAYER met4 ( -10450 -4320 ) ( -9550 4320 )
+ FIXED ( 11460 6800 ) N ;
- vssd + NET vssd + SPECIAL + DIRECTION INOUT + USE GROUND
+ PORT
+ LAYER met4 ( -450 -4320 ) ( 450 4320 )
+ LAYER met4 ( -5450 -4320 ) ( -4550 4320 )
+ FIXED ( 8960 6800 ) N ;
- zero + NET zero + DIRECTION OUTPUT + USE SIGNAL
+ PORT
+ LAYER met3 ( -2000 -300 ) ( 2000 300 )
+ PLACED ( 2000 6460 ) N ;
END PINS
SPECIALNETS 2 ;
- vccd ( PIN vccd ) ( * VPB ) ( * VPWR ) + USE POWER
+ ROUTED met1 480 + SHAPE FOLLOWPIN ( 460 10880 ) ( 13340 10880 )
NEW met1 480 + SHAPE FOLLOWPIN ( 460 5440 ) ( 13340 5440 )
NEW met4 900 + SHAPE STRIPE ( 11460 2480 ) ( 11460 11120 )
NEW met4 900 + SHAPE STRIPE ( 6460 2480 ) ( 6460 11120 )
NEW met4 900 + SHAPE STRIPE ( 1460 2480 ) ( 1460 11120 )
NEW met3 330 + SHAPE STRIPE ( 11070 10880 ) ( 11850 10880 )
NEW met3 0 + SHAPE STRIPE ( 11460 10880 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 11460 10880 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 11460 10880 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 11070 5440 ) ( 11850 5440 )
NEW met3 0 + SHAPE STRIPE ( 11460 5440 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 11460 5440 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 11460 5440 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 6070 10880 ) ( 6850 10880 )
NEW met3 0 + SHAPE STRIPE ( 6460 10880 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 6460 10880 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 6460 10880 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 6070 5440 ) ( 6850 5440 )
NEW met3 0 + SHAPE STRIPE ( 6460 5440 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 6460 5440 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 6460 5440 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 1070 10880 ) ( 1850 10880 )
NEW met3 0 + SHAPE STRIPE ( 1460 10880 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 1460 10880 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 1460 10880 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 1070 5440 ) ( 1850 5440 )
NEW met3 0 + SHAPE STRIPE ( 1460 5440 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 1460 5440 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 1460 5440 ) via2_3_900_480_1_2_320_320 ;
- vssd ( PIN vssd ) ( * VNB ) ( * VGND ) + USE GROUND
+ ROUTED met1 480 + SHAPE FOLLOWPIN ( 460 8160 ) ( 13340 8160 )
NEW met1 480 + SHAPE FOLLOWPIN ( 460 2720 ) ( 13340 2720 )
NEW met4 900 + SHAPE STRIPE ( 8960 2480 ) ( 8960 11120 )
NEW met4 900 + SHAPE STRIPE ( 3960 2480 ) ( 3960 11120 )
NEW met3 330 + SHAPE STRIPE ( 8570 8160 ) ( 9350 8160 )
NEW met3 0 + SHAPE STRIPE ( 8960 8160 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 8960 8160 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 8960 8160 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 8570 2720 ) ( 9350 2720 )
NEW met3 0 + SHAPE STRIPE ( 8960 2720 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 8960 2720 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 8960 2720 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 3570 8160 ) ( 4350 8160 )
NEW met3 0 + SHAPE STRIPE ( 3960 8160 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 3960 8160 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 3960 8160 ) via2_3_900_480_1_2_320_320
NEW met3 330 + SHAPE STRIPE ( 3570 2720 ) ( 4350 2720 )
NEW met3 0 + SHAPE STRIPE ( 3960 2720 ) via4_5_900_480_1_2_400_400
NEW met2 0 + SHAPE STRIPE ( 3960 2720 ) via3_4_900_480_1_2_400_400
NEW met1 0 + SHAPE STRIPE ( 3960 2720 ) via2_3_900_480_1_2_320_320 ;
END SPECIALNETS
NETS 4 ;
- one ( PIN one ) ( const_one_buf X ) + USE SIGNAL
+ ROUTED met2 ( 7130 6460 ) ( * 8670 )
NEW met3 ( 7130 6460 ) ( 10580 * 0 )
NEW li1 ( 7130 8670 ) L1M1_PR_MR
NEW met1 ( 7130 8670 ) M1M2_PR
NEW met2 ( 7130 6460 ) M2M3_PR
NEW met1 ( 7130 8670 ) RECT ( -355 -70 0 70 ) ;
- one_unbuf ( const_source HI ) ( const_one_buf A ) + USE SIGNAL
+ ROUTED met2 ( 2990 7650 ) ( * 9350 )
NEW met1 ( 2990 7650 ) ( 3910 * )
NEW li1 ( 2990 9350 ) L1M1_PR_MR
NEW met1 ( 2990 9350 ) M1M2_PR
NEW met1 ( 2990 7650 ) M1M2_PR
NEW li1 ( 3910 7650 ) L1M1_PR_MR
NEW met1 ( 2990 9350 ) RECT ( -355 -70 0 70 ) ;
- zero ( PIN zero ) ( const_zero_buf X ) + USE SIGNAL
+ ROUTED met3 ( 3220 6460 0 ) ( 4830 * )
NEW met2 ( 4830 4250 ) ( * 6460 )
NEW met2 ( 4830 6460 ) M2M3_PR
NEW li1 ( 4830 4250 ) L1M1_PR_MR
NEW met1 ( 4830 4250 ) M1M2_PR
NEW met1 ( 4830 4250 ) RECT ( -355 -70 0 70 ) ;
- zero_unbuf ( const_zero_buf A ) ( const_source LO ) + USE SIGNAL
+ ROUTED met2 ( 2990 3910 ) ( * 5950 )
NEW li1 ( 2990 3910 ) L1M1_PR_MR
NEW met1 ( 2990 3910 ) M1M2_PR
NEW li1 ( 2990 5950 ) L1M1_PR_MR
NEW met1 ( 2990 5950 ) M1M2_PR
NEW met1 ( 2990 3910 ) RECT ( -355 -70 0 70 )
NEW met1 ( 2990 5950 ) RECT ( -355 -70 0 70 ) ;
END NETS
END DESIGN

68
lef/constant_block.lef Normal file
View File

@ -0,0 +1,68 @@
VERSION 5.7 ;
NOWIREEXTENSIONATPIN ON ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
MACRO constant_block
CLASS BLOCK ;
FOREIGN constant_block ;
ORIGIN 0.000 0.000 ;
SIZE 14.000 BY 13.000 ;
PIN one
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
PORT
LAYER met3 ;
RECT 10.000 6.160 14.000 6.760 ;
END
END one
PIN vccd
DIRECTION INOUT ;
USE POWER ;
PORT
LAYER met4 ;
RECT 1.010 2.480 1.910 11.120 ;
END
PORT
LAYER met4 ;
RECT 6.010 2.480 6.910 11.120 ;
END
PORT
LAYER met4 ;
RECT 11.010 2.480 11.910 11.120 ;
END
END vccd
PIN vssd
DIRECTION INOUT ;
USE GROUND ;
PORT
LAYER met4 ;
RECT 3.510 2.480 4.410 11.120 ;
END
PORT
LAYER met4 ;
RECT 8.510 2.480 9.410 11.120 ;
END
END vssd
PIN zero
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
PORT
LAYER met3 ;
RECT 0.000 6.160 4.000 6.760 ;
END
END zero
OBS
LAYER li1 ;
RECT 0.460 2.635 13.340 10.965 ;
LAYER met1 ;
RECT 0.460 2.480 13.340 11.120 ;
LAYER met2 ;
RECT 1.120 2.535 11.800 11.065 ;
LAYER met3 ;
RECT 1.070 7.160 11.850 11.045 ;
RECT 4.400 5.760 9.600 7.160 ;
RECT 1.070 2.555 11.850 5.760 ;
END
END constant_block
END LIBRARY

48
lib/constant_block.lib Normal file
View File

@ -0,0 +1,48 @@
library (constant_block) {
comment : "";
delay_model : table_lookup;
simulation : false;
capacitive_load_unit (1,pF);
leakage_power_unit : 1pW;
current_unit : "1A";
pulling_resistance_unit : "1kohm";
time_unit : "1ns";
voltage_unit : "1v";
library_features(report_delay_calculation);
input_threshold_pct_rise : 50;
input_threshold_pct_fall : 50;
output_threshold_pct_rise : 50;
output_threshold_pct_fall : 50;
slew_lower_threshold_pct_rise : 20;
slew_lower_threshold_pct_fall : 20;
slew_upper_threshold_pct_rise : 80;
slew_upper_threshold_pct_fall : 80;
slew_derate_from_library : 1.0;
nom_process : 1.0;
nom_temperature : 25.0;
nom_voltage : 1.80;
cell ("constant_block") {
pin("one") {
direction : output;
capacitance : 0.0334;
}
pin("zero") {
direction : output;
capacitance : 0.0334;
}
pin("vccd") {
direction : input;
capacitance : 0.0002;
}
pin("vssd") {
direction : input;
capacitance : 0.0002;
}
}
}

570
mag/constant_block.mag Normal file
View File

@ -0,0 +1,570 @@
magic
tech sky130A
magscale 1 2
timestamp 1665254080
<< viali >>
rect 581 1853 615 1887
rect 1409 1717 1443 1751
rect 765 1513 799 1547
rect 581 1173 615 1207
rect 949 833 983 867
rect 581 765 615 799
<< metal1 >>
rect 92 2202 2668 2224
rect 92 2150 234 2202
rect 286 2150 298 2202
rect 350 2150 1234 2202
rect 1286 2150 1298 2202
rect 1350 2150 2234 2202
rect 2286 2150 2298 2202
rect 2350 2150 2668 2202
rect 92 2128 2668 2150
rect 566 1884 572 1896
rect 527 1856 572 1884
rect 566 1844 572 1856
rect 624 1844 630 1896
rect 1394 1748 1400 1760
rect 1355 1720 1400 1748
rect 1394 1708 1400 1720
rect 1452 1708 1458 1760
rect 92 1658 2668 1680
rect 92 1606 734 1658
rect 786 1606 798 1658
rect 850 1606 1734 1658
rect 1786 1606 1798 1658
rect 1850 1606 2668 1658
rect 92 1584 2668 1606
rect 566 1504 572 1556
rect 624 1544 630 1556
rect 753 1547 811 1553
rect 753 1544 765 1547
rect 624 1516 765 1544
rect 624 1504 630 1516
rect 753 1513 765 1516
rect 799 1513 811 1547
rect 753 1507 811 1513
rect 566 1204 572 1216
rect 527 1176 572 1204
rect 566 1164 572 1176
rect 624 1164 630 1216
rect 92 1114 2668 1136
rect 92 1062 234 1114
rect 286 1062 298 1114
rect 350 1062 1234 1114
rect 1286 1062 1298 1114
rect 1350 1062 2234 1114
rect 2286 1062 2298 1114
rect 2350 1062 2668 1114
rect 92 1040 2668 1062
rect 934 864 940 876
rect 895 836 940 864
rect 934 824 940 836
rect 992 824 998 876
rect 566 796 572 808
rect 527 768 572 796
rect 566 756 572 768
rect 624 756 630 808
rect 92 570 2668 592
rect 92 518 734 570
rect 786 518 798 570
rect 850 518 1734 570
rect 1786 518 1798 570
rect 1850 518 2668 570
rect 92 496 2668 518
<< via1 >>
rect 234 2150 286 2202
rect 298 2150 350 2202
rect 1234 2150 1286 2202
rect 1298 2150 1350 2202
rect 2234 2150 2286 2202
rect 2298 2150 2350 2202
rect 572 1887 624 1896
rect 572 1853 581 1887
rect 581 1853 615 1887
rect 615 1853 624 1887
rect 572 1844 624 1853
rect 1400 1751 1452 1760
rect 1400 1717 1409 1751
rect 1409 1717 1443 1751
rect 1443 1717 1452 1751
rect 1400 1708 1452 1717
rect 734 1606 786 1658
rect 798 1606 850 1658
rect 1734 1606 1786 1658
rect 1798 1606 1850 1658
rect 572 1504 624 1556
rect 572 1207 624 1216
rect 572 1173 581 1207
rect 581 1173 615 1207
rect 615 1173 624 1207
rect 572 1164 624 1173
rect 234 1062 286 1114
rect 298 1062 350 1114
rect 1234 1062 1286 1114
rect 1298 1062 1350 1114
rect 2234 1062 2286 1114
rect 2298 1062 2350 1114
rect 940 867 992 876
rect 940 833 949 867
rect 949 833 983 867
rect 983 833 992 867
rect 940 824 992 833
rect 572 799 624 808
rect 572 765 581 799
rect 581 765 615 799
rect 615 765 624 799
rect 572 756 624 765
rect 734 518 786 570
rect 798 518 850 570
rect 1734 518 1786 570
rect 1798 518 1850 570
<< metal2 >>
rect 224 2204 360 2213
rect 280 2202 304 2204
rect 286 2150 298 2202
rect 280 2148 304 2150
rect 224 2139 360 2148
rect 1224 2204 1360 2213
rect 1280 2202 1304 2204
rect 1286 2150 1298 2202
rect 1280 2148 1304 2150
rect 1224 2139 1360 2148
rect 2224 2204 2360 2213
rect 2280 2202 2304 2204
rect 2286 2150 2298 2202
rect 2280 2148 2304 2150
rect 2224 2139 2360 2148
rect 572 1896 624 1902
rect 572 1838 624 1844
rect 584 1562 612 1838
rect 1400 1760 1452 1766
rect 1400 1702 1452 1708
rect 724 1660 860 1669
rect 780 1658 804 1660
rect 786 1606 798 1658
rect 780 1604 804 1606
rect 724 1595 860 1604
rect 572 1556 624 1562
rect 572 1498 624 1504
rect 1412 1329 1440 1702
rect 1724 1660 1860 1669
rect 1780 1658 1804 1660
rect 1786 1606 1798 1658
rect 1780 1604 1804 1606
rect 1724 1595 1860 1604
rect 938 1320 994 1329
rect 938 1255 994 1264
rect 1398 1320 1454 1329
rect 1398 1255 1454 1264
rect 572 1216 624 1222
rect 572 1158 624 1164
rect 224 1116 360 1125
rect 280 1114 304 1116
rect 286 1062 298 1114
rect 280 1060 304 1062
rect 224 1051 360 1060
rect 584 814 612 1158
rect 952 882 980 1255
rect 1224 1116 1360 1125
rect 1280 1114 1304 1116
rect 1286 1062 1298 1114
rect 1280 1060 1304 1062
rect 1224 1051 1360 1060
rect 2224 1116 2360 1125
rect 2280 1114 2304 1116
rect 2286 1062 2298 1114
rect 2280 1060 2304 1062
rect 2224 1051 2360 1060
rect 940 876 992 882
rect 940 818 992 824
rect 572 808 624 814
rect 572 750 624 756
rect 724 572 860 581
rect 780 570 804 572
rect 786 518 798 570
rect 780 516 804 518
rect 724 507 860 516
rect 1724 572 1860 581
rect 1780 570 1804 572
rect 1786 518 1798 570
rect 1780 516 1804 518
rect 1724 507 1860 516
<< via2 >>
rect 224 2202 280 2204
rect 304 2202 360 2204
rect 224 2150 234 2202
rect 234 2150 280 2202
rect 304 2150 350 2202
rect 350 2150 360 2202
rect 224 2148 280 2150
rect 304 2148 360 2150
rect 1224 2202 1280 2204
rect 1304 2202 1360 2204
rect 1224 2150 1234 2202
rect 1234 2150 1280 2202
rect 1304 2150 1350 2202
rect 1350 2150 1360 2202
rect 1224 2148 1280 2150
rect 1304 2148 1360 2150
rect 2224 2202 2280 2204
rect 2304 2202 2360 2204
rect 2224 2150 2234 2202
rect 2234 2150 2280 2202
rect 2304 2150 2350 2202
rect 2350 2150 2360 2202
rect 2224 2148 2280 2150
rect 2304 2148 2360 2150
rect 724 1658 780 1660
rect 804 1658 860 1660
rect 724 1606 734 1658
rect 734 1606 780 1658
rect 804 1606 850 1658
rect 850 1606 860 1658
rect 724 1604 780 1606
rect 804 1604 860 1606
rect 1724 1658 1780 1660
rect 1804 1658 1860 1660
rect 1724 1606 1734 1658
rect 1734 1606 1780 1658
rect 1804 1606 1850 1658
rect 1850 1606 1860 1658
rect 1724 1604 1780 1606
rect 1804 1604 1860 1606
rect 938 1264 994 1320
rect 1398 1264 1454 1320
rect 224 1114 280 1116
rect 304 1114 360 1116
rect 224 1062 234 1114
rect 234 1062 280 1114
rect 304 1062 350 1114
rect 350 1062 360 1114
rect 224 1060 280 1062
rect 304 1060 360 1062
rect 1224 1114 1280 1116
rect 1304 1114 1360 1116
rect 1224 1062 1234 1114
rect 1234 1062 1280 1114
rect 1304 1062 1350 1114
rect 1350 1062 1360 1114
rect 1224 1060 1280 1062
rect 1304 1060 1360 1062
rect 2224 1114 2280 1116
rect 2304 1114 2360 1116
rect 2224 1062 2234 1114
rect 2234 1062 2280 1114
rect 2304 1062 2350 1114
rect 2350 1062 2360 1114
rect 2224 1060 2280 1062
rect 2304 1060 2360 1062
rect 724 570 780 572
rect 804 570 860 572
rect 724 518 734 570
rect 734 518 780 570
rect 804 518 850 570
rect 850 518 860 570
rect 724 516 780 518
rect 804 516 860 518
rect 1724 570 1780 572
rect 1804 570 1860 572
rect 1724 518 1734 570
rect 1734 518 1780 570
rect 1804 518 1850 570
rect 1850 518 1860 570
rect 1724 516 1780 518
rect 1804 516 1860 518
<< metal3 >>
rect 214 2208 370 2209
rect 214 2144 220 2208
rect 284 2144 300 2208
rect 364 2144 370 2208
rect 214 2143 370 2144
rect 1214 2208 1370 2209
rect 1214 2144 1220 2208
rect 1284 2144 1300 2208
rect 1364 2144 1370 2208
rect 1214 2143 1370 2144
rect 2214 2208 2370 2209
rect 2214 2144 2220 2208
rect 2284 2144 2300 2208
rect 2364 2144 2370 2208
rect 2214 2143 2370 2144
rect 714 1664 870 1665
rect 714 1600 720 1664
rect 784 1600 800 1664
rect 864 1600 870 1664
rect 714 1599 870 1600
rect 1714 1664 1870 1665
rect 1714 1600 1720 1664
rect 1784 1600 1800 1664
rect 1864 1600 1870 1664
rect 1714 1599 1870 1600
rect 0 1322 800 1352
rect 933 1322 999 1325
rect 0 1320 999 1322
rect 0 1264 938 1320
rect 994 1264 999 1320
rect 0 1262 999 1264
rect 0 1232 800 1262
rect 933 1259 999 1262
rect 1393 1322 1459 1325
rect 2000 1322 2800 1352
rect 1393 1320 2800 1322
rect 1393 1264 1398 1320
rect 1454 1264 2800 1320
rect 1393 1262 2800 1264
rect 1393 1259 1459 1262
rect 2000 1232 2800 1262
rect 214 1120 370 1121
rect 214 1056 220 1120
rect 284 1056 300 1120
rect 364 1056 370 1120
rect 214 1055 370 1056
rect 1214 1120 1370 1121
rect 1214 1056 1220 1120
rect 1284 1056 1300 1120
rect 1364 1056 1370 1120
rect 1214 1055 1370 1056
rect 2214 1120 2370 1121
rect 2214 1056 2220 1120
rect 2284 1056 2300 1120
rect 2364 1056 2370 1120
rect 2214 1055 2370 1056
rect 714 576 870 577
rect 714 512 720 576
rect 784 512 800 576
rect 864 512 870 576
rect 714 511 870 512
rect 1714 576 1870 577
rect 1714 512 1720 576
rect 1784 512 1800 576
rect 1864 512 1870 576
rect 1714 511 1870 512
<< via3 >>
rect 220 2204 284 2208
rect 220 2148 224 2204
rect 224 2148 280 2204
rect 280 2148 284 2204
rect 220 2144 284 2148
rect 300 2204 364 2208
rect 300 2148 304 2204
rect 304 2148 360 2204
rect 360 2148 364 2204
rect 300 2144 364 2148
rect 1220 2204 1284 2208
rect 1220 2148 1224 2204
rect 1224 2148 1280 2204
rect 1280 2148 1284 2204
rect 1220 2144 1284 2148
rect 1300 2204 1364 2208
rect 1300 2148 1304 2204
rect 1304 2148 1360 2204
rect 1360 2148 1364 2204
rect 1300 2144 1364 2148
rect 2220 2204 2284 2208
rect 2220 2148 2224 2204
rect 2224 2148 2280 2204
rect 2280 2148 2284 2204
rect 2220 2144 2284 2148
rect 2300 2204 2364 2208
rect 2300 2148 2304 2204
rect 2304 2148 2360 2204
rect 2360 2148 2364 2204
rect 2300 2144 2364 2148
rect 720 1660 784 1664
rect 720 1604 724 1660
rect 724 1604 780 1660
rect 780 1604 784 1660
rect 720 1600 784 1604
rect 800 1660 864 1664
rect 800 1604 804 1660
rect 804 1604 860 1660
rect 860 1604 864 1660
rect 800 1600 864 1604
rect 1720 1660 1784 1664
rect 1720 1604 1724 1660
rect 1724 1604 1780 1660
rect 1780 1604 1784 1660
rect 1720 1600 1784 1604
rect 1800 1660 1864 1664
rect 1800 1604 1804 1660
rect 1804 1604 1860 1660
rect 1860 1604 1864 1660
rect 1800 1600 1864 1604
rect 220 1116 284 1120
rect 220 1060 224 1116
rect 224 1060 280 1116
rect 280 1060 284 1116
rect 220 1056 284 1060
rect 300 1116 364 1120
rect 300 1060 304 1116
rect 304 1060 360 1116
rect 360 1060 364 1116
rect 300 1056 364 1060
rect 1220 1116 1284 1120
rect 1220 1060 1224 1116
rect 1224 1060 1280 1116
rect 1280 1060 1284 1116
rect 1220 1056 1284 1060
rect 1300 1116 1364 1120
rect 1300 1060 1304 1116
rect 1304 1060 1360 1116
rect 1360 1060 1364 1116
rect 1300 1056 1364 1060
rect 2220 1116 2284 1120
rect 2220 1060 2224 1116
rect 2224 1060 2280 1116
rect 2280 1060 2284 1116
rect 2220 1056 2284 1060
rect 2300 1116 2364 1120
rect 2300 1060 2304 1116
rect 2304 1060 2360 1116
rect 2360 1060 2364 1116
rect 2300 1056 2364 1060
rect 720 572 784 576
rect 720 516 724 572
rect 724 516 780 572
rect 780 516 784 572
rect 720 512 784 516
rect 800 572 864 576
rect 800 516 804 572
rect 804 516 860 572
rect 860 516 864 572
rect 800 512 864 516
rect 1720 572 1784 576
rect 1720 516 1724 572
rect 1724 516 1780 572
rect 1780 516 1784 572
rect 1720 512 1784 516
rect 1800 572 1864 576
rect 1800 516 1804 572
rect 1804 516 1860 572
rect 1860 516 1864 572
rect 1800 512 1864 516
<< metal4 >>
rect 202 2208 382 2224
rect 202 2144 220 2208
rect 284 2144 300 2208
rect 364 2144 382 2208
rect 202 1120 382 2144
rect 202 1056 220 1120
rect 284 1056 300 1120
rect 364 1056 382 1120
rect 202 496 382 1056
rect 702 1664 882 2224
rect 702 1600 720 1664
rect 784 1600 800 1664
rect 864 1600 882 1664
rect 702 576 882 1600
rect 702 512 720 576
rect 784 512 800 576
rect 864 512 882 576
rect 702 496 882 512
rect 1202 2208 1382 2224
rect 1202 2144 1220 2208
rect 1284 2144 1300 2208
rect 1364 2144 1382 2208
rect 1202 1120 1382 2144
rect 1202 1056 1220 1120
rect 1284 1056 1300 1120
rect 1364 1056 1382 1120
rect 1202 496 1382 1056
rect 1702 1664 1882 2224
rect 1702 1600 1720 1664
rect 1784 1600 1800 1664
rect 1864 1600 1882 1664
rect 1702 576 1882 1600
rect 1702 512 1720 576
rect 1784 512 1800 576
rect 1864 512 1882 576
rect 1702 496 1882 512
rect 2202 2208 2382 2224
rect 2202 2144 2220 2208
rect 2284 2144 2300 2208
rect 2364 2144 2382 2208
rect 2202 1120 2382 2144
rect 2202 1056 2220 1120
rect 2284 1056 2300 1120
rect 2364 1056 2382 1120
rect 2202 496 2382 1056
use sky130_fd_sc_hd__fill_2 FILLER_0_0 $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 92 0 1 544
box -38 -48 222 592
use sky130_fd_sc_hd__fill_2 FILLER_0_24
timestamp 1663720911
transform 1 0 2300 0 1 544
box -38 -48 222 592
use sky130_fd_sc_hd__fill_1 FILLER_0_27 $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 2576 0 1 544
box -38 -48 130 592
use sky130_fd_sc_hd__fill_4 FILLER_1_0 $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 92 0 -1 1632
box -38 -48 406 592
use sky130_fd_sc_hd__fill_1 FILLER_1_4
timestamp 1663720911
transform 1 0 460 0 -1 1632
box -38 -48 130 592
use sky130_fd_sc_hd__fill_8 FILLER_1_8 $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 828 0 -1 1632
box -38 -48 774 592
use sky130_fd_sc_hd__fill_8 FILLER_1_16
timestamp 1663720911
transform 1 0 1564 0 -1 1632
box -38 -48 774 592
use sky130_fd_sc_hd__fill_4 FILLER_1_24
timestamp 1663720911
transform 1 0 2300 0 -1 1632
box -38 -48 406 592
use sky130_fd_sc_hd__fill_2 FILLER_2_0
timestamp 1663720911
transform 1 0 92 0 1 1632
box -38 -48 222 592
use sky130_fd_sc_hd__fill_2 FILLER_2_24
timestamp 1663720911
transform 1 0 2300 0 1 1632
box -38 -48 222 592
use sky130_fd_sc_hd__fill_1 FILLER_2_27
timestamp 1663720911
transform 1 0 2576 0 1 1632
box -38 -48 130 592
use sky130_fd_sc_hd__tapvpwrvgnd_1 TAP_0 $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 2484 0 1 544
box -38 -48 130 592
use sky130_fd_sc_hd__tapvpwrvgnd_1 TAP_1
timestamp 1663720911
transform 1 0 2484 0 1 1632
box -38 -48 130 592
use sky130_fd_sc_hd__buf_16 const_one_buf $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform 1 0 276 0 1 1632
box -38 -48 2062 592
use sky130_fd_sc_hd__conb_1 const_source $PDKPATH/libs.ref/sky130_fd_sc_hd/mag
timestamp 1663720911
transform -1 0 828 0 -1 1632
box -38 -48 314 592
use sky130_fd_sc_hd__buf_16 const_zero_buf
timestamp 1663720911
transform 1 0 276 0 1 544
box -38 -48 2062 592
<< labels >>
flabel metal3 s 2000 1232 2800 1352 0 FreeSans 480 0 0 0 one
port 0 nsew signal tristate
flabel metal4 s 202 496 382 2224 0 FreeSans 960 90 0 0 vccd
port 1 nsew power bidirectional
flabel metal4 s 1202 496 1382 2224 0 FreeSans 960 90 0 0 vccd
port 1 nsew power bidirectional
flabel metal4 s 2202 496 2382 2224 0 FreeSans 960 90 0 0 vccd
port 1 nsew power bidirectional
flabel metal4 s 702 496 882 2224 0 FreeSans 960 90 0 0 vssd
port 2 nsew ground bidirectional
flabel metal4 s 1702 496 1882 2224 0 FreeSans 960 90 0 0 vssd
port 2 nsew ground bidirectional
flabel metal3 s 0 1232 800 1352 0 FreeSans 480 0 0 0 zero
port 3 nsew signal tristate
<< properties >>
string FIXED_BBOX 0 0 2800 2600
<< end >>

47
maglef/constant_block.mag Normal file
View File

@ -0,0 +1,47 @@
magic
tech sky130A
magscale 1 2
timestamp 1665254081
<< obsli1 >>
rect 92 527 2668 2193
<< obsm1 >>
rect 92 496 2668 2224
<< obsm2 >>
rect 224 507 2360 2213
<< metal3 >>
rect 0 1232 800 1352
rect 2000 1232 2800 1352
<< obsm3 >>
rect 214 1432 2370 2209
rect 880 1152 1920 1432
rect 214 511 2370 1152
<< metal4 >>
rect 202 496 382 2224
rect 702 496 882 2224
rect 1202 496 1382 2224
rect 1702 496 1882 2224
rect 2202 496 2382 2224
<< labels >>
rlabel metal3 s 2000 1232 2800 1352 6 one
port 1 nsew signal output
rlabel metal4 s 202 496 382 2224 6 vccd
port 2 nsew power bidirectional
rlabel metal4 s 1202 496 1382 2224 6 vccd
port 2 nsew power bidirectional
rlabel metal4 s 2202 496 2382 2224 6 vccd
port 2 nsew power bidirectional
rlabel metal4 s 702 496 882 2224 6 vssd
port 3 nsew ground bidirectional
rlabel metal4 s 1702 496 1882 2224 6 vssd
port 3 nsew ground bidirectional
rlabel metal3 s 0 1232 800 1352 6 zero
port 4 nsew signal output
<< properties >>
string FIXED_BBOX 0 0 2800 2600
string LEFclass BLOCK
string LEFview TRUE
string GDS_END 39178
string GDS_FILE /openlane/designs/constant_block/runs/RUN_2022.10.08_18.34.19/results/signoff/constant_block.magic.gds
string GDS_START 27268
<< end >>

23
sdc/constant_block.sdc Normal file
View File

@ -0,0 +1,23 @@
###############################################################################
# Created by write_sdc
# Sat Oct 8 18:34:24 2022
###############################################################################
current_design constant_block
###############################################################################
# Timing Constraints
###############################################################################
create_clock -name __VIRTUAL_CLK__ -period 10.0000
set_clock_uncertainty 0.2500 __VIRTUAL_CLK__
set_output_delay 2.0000 -clock [get_clocks {__VIRTUAL_CLK__}] -add_delay [get_ports {one}]
set_output_delay 2.0000 -clock [get_clocks {__VIRTUAL_CLK__}] -add_delay [get_ports {zero}]
###############################################################################
# Environment
###############################################################################
set_load -pin_load 0.0334 [get_ports {one}]
set_load -pin_load 0.0334 [get_ports {zero}]
set_timing_derate -early 0.9500
set_timing_derate -late 1.0500
###############################################################################
# Design Rules
###############################################################################
set_max_fanout 10.0000 [current_design]

43
sdf/constant_block.sdf Normal file
View File

@ -0,0 +1,43 @@
(DELAYFILE
(SDFVERSION "3.0")
(DESIGN "constant_block")
(DATE "Sat Oct 8 18:34:39 2022")
(VENDOR "Parallax")
(PROGRAM "STA")
(VERSION "2.3.1")
(DIVIDER .)
(VOLTAGE 1.800::1.800)
(PROCESS "1.000::1.000")
(TEMPERATURE 25.000::25.000)
(TIMESCALE 1ns)
(CELL
(CELLTYPE "constant_block")
(INSTANCE)
(DELAY
(ABSOLUTE
(INTERCONNECT const_one_buf.X one (0.000:0.000:0.000))
(INTERCONNECT const_source.HI const_one_buf.A (0.000:0.000:0.000))
(INTERCONNECT const_source.LO const_zero_buf.A (0.000:0.000:0.000))
(INTERCONNECT const_zero_buf.X zero (0.000:0.000:0.000))
)
)
)
(CELL
(CELLTYPE "sky130_fd_sc_hd__buf_16")
(INSTANCE const_one_buf)
(DELAY
(ABSOLUTE
(IOPATH A X (0.000:0.000:0.000))
)
)
)
(CELL
(CELLTYPE "sky130_fd_sc_hd__buf_16")
(INSTANCE const_zero_buf)
(DELAY
(ABSOLUTE
(IOPATH A X (0.000:0.000:0.000))
)
)
)
)

84
spef/constant_block.spef Normal file
View File

@ -0,0 +1,84 @@
*SPEF "ieee 1481-1999"
*DESIGN "constant_block"
*DATE "11:11:11 Fri 11 11, 1111"
*VENDOR "OpenRCX"
*PROGRAM "Parallel Extraction"
*VERSION "1.0"
*DESIGN_FLOW "NAME_SCOPE LOCAL" "PIN_CAP NONE"
*DIVIDER /
*DELIMITER :
*BUS_DELIMITER []
*T_UNIT 1 NS
*C_UNIT 1 PF
*R_UNIT 1 OHM
*L_UNIT 1 HENRY
*NAME_MAP
*1 one
*4 zero
*5 one_unbuf
*6 zero_unbuf
*7 FILLER_0_0
*8 FILLER_0_24
*9 FILLER_0_27
*10 FILLER_1_0
*11 FILLER_1_16
*12 FILLER_1_24
*13 FILLER_1_4
*14 FILLER_1_8
*15 FILLER_2_0
*16 FILLER_2_24
*17 FILLER_2_27
*18 TAP_0
*19 TAP_1
*20 const_one_buf
*21 const_source
*22 const_zero_buf
*PORTS
one O
zero O
*D_NET *1 0.000496181
*CONN
*P one O
*I *20:X O *D sky130_fd_sc_hd__buf_16
*CAP
1 one 0.00024809
2 *20:X 0.00024809
*RES
1 *20:X one 19.8722
*END
*D_NET *4 0.000337027
*CONN
*P zero O
*I *22:X O *D sky130_fd_sc_hd__buf_16
*CAP
1 zero 0.000168514
2 *22:X 0.000168514
*RES
1 *22:X zero 19.5839
*END
*D_NET *5 0.000235339
*CONN
*I *20:A I *D sky130_fd_sc_hd__buf_16
*I *21:HI O *D sky130_fd_sc_hd__conb_1
*CAP
1 *20:A 0.000117669
2 *21:HI 0.000117669
*RES
1 *21:HI *20:A 30.1893
*END
*D_NET *6 0.000171306
*CONN
*I *22:A I *D sky130_fd_sc_hd__buf_16
*I *21:LO O *D sky130_fd_sc_hd__conb_1
*CAP
1 *22:A 8.56529e-05
2 *21:LO 8.56529e-05
*RES
1 *21:LO *22:A 29.5464
*END

View File

@ -0,0 +1,49 @@
* NGSPICE file created from constant_block.ext - technology: sky130A
* Black-box entry subcircuit for sky130_fd_sc_hd__fill_2 abstract view
.subckt sky130_fd_sc_hd__fill_2 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__fill_4 abstract view
.subckt sky130_fd_sc_hd__fill_4 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__fill_1 abstract view
.subckt sky130_fd_sc_hd__fill_1 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__buf_16 abstract view
.subckt sky130_fd_sc_hd__buf_16 A VGND VNB VPB VPWR X
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__conb_1 abstract view
.subckt sky130_fd_sc_hd__conb_1 VGND VNB VPB VPWR HI LO
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__fill_8 abstract view
.subckt sky130_fd_sc_hd__fill_8 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hd__tapvpwrvgnd_1 abstract view
.subckt sky130_fd_sc_hd__tapvpwrvgnd_1 VGND VPWR
.ends
.subckt constant_block one vccd vssd zero
XFILLER_0_24 vssd vssd vccd vccd sky130_fd_sc_hd__fill_2
XFILLER_1_0 vssd vssd vccd vccd sky130_fd_sc_hd__fill_4
XFILLER_0_27 vssd vssd vccd vccd sky130_fd_sc_hd__fill_1
Xconst_zero_buf const_source/LO vssd vssd vccd vccd zero sky130_fd_sc_hd__buf_16
XFILLER_1_4 vssd vssd vccd vccd sky130_fd_sc_hd__fill_1
Xconst_source vssd vssd vccd vccd const_source/HI const_source/LO sky130_fd_sc_hd__conb_1
XFILLER_1_8 vssd vssd vccd vccd sky130_fd_sc_hd__fill_8
XFILLER_1_24 vssd vssd vccd vccd sky130_fd_sc_hd__fill_4
XFILLER_1_16 vssd vssd vccd vccd sky130_fd_sc_hd__fill_8
Xconst_one_buf const_source/HI vssd vssd vccd vccd one sky130_fd_sc_hd__buf_16
XTAP_0 vssd vccd sky130_fd_sc_hd__tapvpwrvgnd_1
XTAP_1 vssd vccd sky130_fd_sc_hd__tapvpwrvgnd_1
XFILLER_2_0 vssd vssd vccd vccd sky130_fd_sc_hd__fill_2
XFILLER_0_0 vssd vssd vccd vccd sky130_fd_sc_hd__fill_2
XFILLER_2_24 vssd vssd vccd vccd sky130_fd_sc_hd__fill_2
XFILLER_2_27 vssd vssd vccd vccd sky130_fd_sc_hd__fill_1
.ends

View File

@ -0,0 +1,28 @@
module constant_block (one,
zero);
output one;
output zero;
wire one_unbuf;
wire zero_unbuf;
sky130_fd_sc_hd__buf_16 const_one_buf (.A(one_unbuf),
.X(one));
sky130_fd_sc_hd__conb_1 const_source (.HI(one_unbuf),
.LO(zero_unbuf));
sky130_fd_sc_hd__buf_16 const_zero_buf (.A(zero_unbuf),
.X(zero));
sky130_fd_sc_hd__tapvpwrvgnd_1 TAP_0 ();
sky130_fd_sc_hd__tapvpwrvgnd_1 TAP_1 ();
sky130_fd_sc_hd__fill_2 FILLER_0_0 ();
sky130_fd_sc_hd__fill_2 FILLER_0_24 ();
sky130_fd_sc_hd__fill_1 FILLER_0_27 ();
sky130_fd_sc_hd__fill_4 FILLER_1_0 ();
sky130_fd_sc_hd__fill_1 FILLER_1_4 ();
sky130_fd_sc_hd__fill_8 FILLER_1_8 ();
sky130_fd_sc_hd__fill_8 FILLER_1_16 ();
sky130_fd_sc_hd__fill_4 FILLER_1_24 ();
sky130_fd_sc_hd__fill_2 FILLER_2_0 ();
sky130_fd_sc_hd__fill_2 FILLER_2_24 ();
sky130_fd_sc_hd__fill_1 FILLER_2_27 ();
endmodule