mirror of https://github.com/efabless/caravel.git
159 lines
5.4 KiB
Modula-2
159 lines
5.4 KiB
Modula-2
VERSION 5.8 ;
|
|
DIVIDERCHAR "/" ;
|
|
BUSBITCHARS "[]" ;
|
|
DESIGN xres_buf ;
|
|
UNITS DISTANCE MICRONS 1000 ;
|
|
|
|
DIEAREA ( 0 0 ) ( 20000 17000 ) ;
|
|
|
|
ROW ROW_0 unithv 2400 4070 FS DO 31 BY 1 STEP 480 0
|
|
;
|
|
ROW ROW_1 unithv 2400 8140 N DO 31 BY 1 STEP 480 0
|
|
;
|
|
ROW ROW_2 unithv 2400 12210 FS DO 31 BY 1 STEP 480 0
|
|
;
|
|
TRACKS X 240 DO 42 STEP 480 LAYER li1 ;
|
|
TRACKS Y 240 DO 35 STEP 480 LAYER li1 ;
|
|
TRACKS X 185 DO 54 STEP 370 LAYER met1 ;
|
|
TRACKS Y 185 DO 46 STEP 370 LAYER met1 ;
|
|
TRACKS X 240 DO 42 STEP 480 LAYER met2 ;
|
|
TRACKS Y 240 DO 35 STEP 480 LAYER met2 ;
|
|
TRACKS X 370 DO 27 STEP 740 LAYER met3 ;
|
|
TRACKS Y 370 DO 23 STEP 740 LAYER met3 ;
|
|
TRACKS X 480 DO 21 STEP 960 LAYER met4 ;
|
|
TRACKS Y 480 DO 18 STEP 960 LAYER met4 ;
|
|
TRACKS X 1665 DO 6 STEP 3330 LAYER met5 ;
|
|
TRACKS Y 1665 DO 5 STEP 3330 LAYER met5 ;
|
|
|
|
VIAS 5 ;
|
|
- via2_FR
|
|
+ RECT met2 ( -140 -185 ) ( 140 185 )
|
|
+ RECT via2 ( -100 -100 ) ( 100 100 )
|
|
+ RECT met3 ( -165 -165 ) ( 165 165 )
|
|
|
|
;
|
|
- via4_FR
|
|
+ RECT met4 ( -590 -590 ) ( 590 590 )
|
|
+ RECT via4 ( -400 -400 ) ( 400 400 )
|
|
+ RECT met5 ( -710 -710 ) ( 710 710 )
|
|
|
|
;
|
|
- via_900x510
|
|
|
|
+ VIARULE M1M2_PR
|
|
+ CUTSIZE 150 150
|
|
+ LAYERS met1 via met2
|
|
+ CUTSPACING 170 170
|
|
+ ENCLOSURE 215 180 55 180
|
|
+ ROWCOL 1 2
|
|
;
|
|
- via2_900x510
|
|
|
|
+ VIARULE M2M3_PR
|
|
+ CUTSIZE 200 200
|
|
+ LAYERS met2 via2 met3
|
|
+ CUTSPACING 200 200
|
|
+ ENCLOSURE 40 155 150 65
|
|
+ ROWCOL 1 2
|
|
;
|
|
- via3_900x510
|
|
|
|
+ VIARULE M3M4_PR
|
|
+ CUTSIZE 200 200
|
|
+ LAYERS met3 via3 met4
|
|
+ CUTSPACING 200 200
|
|
+ ENCLOSURE 150 60 150 155
|
|
+ ROWCOL 1 2
|
|
;
|
|
END VIAS
|
|
|
|
COMPONENTS 16 ;
|
|
- lvlshiftdown sky130_fd_sc_hvl__lsbufhv2lv_1 + PLACED ( 8640 8140 ) N ;
|
|
- ANTENNA_lvlshiftdown_A sky130_fd_sc_hvl__diode_2 + PLACED ( 7680 12210 ) FS ;
|
|
- FILLER_0_0 sky130_fd_sc_hvl__decap_8 + PLACED ( 2400 4070 ) FS ;
|
|
- FILLER_0_8 sky130_fd_sc_hvl__decap_8 + PLACED ( 6240 4070 ) FS ;
|
|
- FILLER_0_16 sky130_fd_sc_hvl__decap_8 + PLACED ( 10080 4070 ) FS ;
|
|
- FILLER_0_24 sky130_fd_sc_hvl__decap_4 + PLACED ( 13920 4070 ) FS ;
|
|
- FILLER_0_28 sky130_fd_sc_hvl__fill_2 + PLACED ( 15840 4070 ) FS ;
|
|
- FILLER_0_30 sky130_fd_sc_hvl__fill_1 + PLACED ( 16800 4070 ) FS ;
|
|
- FILLER_1_0 sky130_fd_sc_hvl__decap_8 + PLACED ( 2400 8140 ) N ;
|
|
- FILLER_1_8 sky130_fd_sc_hvl__decap_4 + PLACED ( 6240 8140 ) N ;
|
|
- FILLER_1_12 sky130_fd_sc_hvl__fill_1 + PLACED ( 8160 8140 ) N ;
|
|
- FILLER_1_30 sky130_fd_sc_hvl__fill_1 + PLACED ( 16800 8140 ) N ;
|
|
- FILLER_2_0 sky130_fd_sc_hvl__decap_8 + PLACED ( 2400 12210 ) FS ;
|
|
- FILLER_2_8 sky130_fd_sc_hvl__fill_2 + PLACED ( 6240 12210 ) FS ;
|
|
- FILLER_2_10 sky130_fd_sc_hvl__fill_1 + PLACED ( 7200 12210 ) FS ;
|
|
- FILLER_2_30 sky130_fd_sc_hvl__fill_1 + PLACED ( 16800 12210 ) FS ;
|
|
END COMPONENTS
|
|
|
|
PINS 6 ;
|
|
- A + NET A + DIRECTION INPUT + USE SIGNAL
|
|
+ LAYER met2 ( -140 -3000 ) ( 140 3000 )
|
|
+ PLACED ( 16560 16000 ) N ;
|
|
- X + NET X + DIRECTION OUTPUT + USE SIGNAL
|
|
+ LAYER met2 ( -140 -3000 ) ( 140 3000 )
|
|
+ PLACED ( 3120 1000 ) N ;
|
|
- VPWR + NET VPWR + DIRECTION INOUT + USE POWER
|
|
+ LAYER met4 ( -450 -6360 ) ( 450 6360 )
|
|
+ FIXED ( 4400 10175 ) N + SPECIAL ;
|
|
- VGND + NET VGND + DIRECTION INOUT + USE GROUND
|
|
+ LAYER met4 ( -450 -6360 ) ( 450 6360 )
|
|
+ FIXED ( 10900 10175 ) N + SPECIAL ;
|
|
- LVPWR + NET LVPWR + DIRECTION INOUT + USE POWER
|
|
+ LAYER met4 ( -450 -6105 ) ( 450 6105 )
|
|
+ FIXED ( 8800 10175 ) N + SPECIAL ;
|
|
- LVGND + NET LVGND + DIRECTION INOUT + USE GROUND
|
|
+ LAYER met4 ( -450 -6105 ) ( 450 6105 )
|
|
+ FIXED ( 15300 10175 ) N + SPECIAL ;
|
|
END PINS
|
|
|
|
SPECIALNETS 4 ;
|
|
- VPWR ( PIN VPWR )
|
|
+ ROUTED met3 0 + SHAPE STRIPE ( 4400 12210 ) via3_900x510
|
|
NEW met2 0 + SHAPE STRIPE ( 4400 12210 ) via2_900x510
|
|
NEW met1 0 + SHAPE STRIPE ( 4400 12210 ) via_900x510
|
|
NEW met3 0 + SHAPE STRIPE ( 4400 4070 ) via3_900x510
|
|
NEW met2 0 + SHAPE STRIPE ( 4400 4070 ) via2_900x510
|
|
NEW met1 0 + SHAPE STRIPE ( 4400 4070 ) via_900x510
|
|
NEW met4 900 + SHAPE STRIPE ( 4400 3815 ) ( 4400 16535 )
|
|
NEW met1 510 + SHAPE FOLLOWPIN ( 2400 12210 ) ( 17280 12210 )
|
|
NEW met1 510 + SHAPE FOLLOWPIN ( 2400 4070 ) ( 17280 4070 )
|
|
+ USE POWER ;
|
|
- VGND ( PIN VGND )
|
|
+ ROUTED met3 0 + SHAPE STRIPE ( 10900 16280 ) via3_900x510
|
|
NEW met2 0 + SHAPE STRIPE ( 10900 16280 ) via2_900x510
|
|
NEW met1 0 + SHAPE STRIPE ( 10900 16280 ) via_900x510
|
|
NEW met3 0 + SHAPE STRIPE ( 10900 8140 ) via3_900x510
|
|
NEW met2 0 + SHAPE STRIPE ( 10900 8140 ) via2_900x510
|
|
NEW met1 0 + SHAPE STRIPE ( 10900 8140 ) via_900x510
|
|
NEW met4 900 + SHAPE STRIPE ( 10900 3815 ) ( 10900 16535 )
|
|
NEW met1 510 + SHAPE FOLLOWPIN ( 2400 16280 ) ( 17280 16280 )
|
|
NEW met1 510 + SHAPE FOLLOWPIN ( 2400 8140 ) ( 17280 8140 )
|
|
+ USE GROUND ;
|
|
- LVPWR ( PIN LVPWR )
|
|
+ ROUTED met4 900 + SHAPE STRIPE ( 8800 4070 ) ( 8800 16280 )
|
|
+ USE POWER ;
|
|
- LVGND ( PIN LVGND )
|
|
+ ROUTED met4 900 + SHAPE STRIPE ( 15300 4070 ) ( 15300 16280 )
|
|
+ USE GROUND ;
|
|
END SPECIALNETS
|
|
|
|
NETS 2 ;
|
|
- A ( PIN A ) ( ANTENNA_lvlshiftdown_A DIODE ) ( lvlshiftdown A )
|
|
+ ROUTED met1 ( 9840 13135 ) ( 16080 13135 )
|
|
NEW met2 ( 16080 12950 ) ( 16080 13135 )
|
|
NEW met2 ( 16080 12950 ) ( 16560 12950 )
|
|
NEW met2 ( 16560 12950 ) ( 16560 13690 0 )
|
|
NEW met1 ( 8400 13135 ) ( 9840 13135 )
|
|
NEW li1 ( 9840 13135 ) L1M1_PR_MR
|
|
NEW met1 ( 16080 13135 ) M1M2_PR
|
|
NEW li1 ( 8400 13135 ) L1M1_PR_MR
|
|
+ USE SIGNAL ;
|
|
- X ( PIN X ) ( lvlshiftdown X )
|
|
+ ROUTED met2 ( 3120 3330 0 ) ( 3120 9805 )
|
|
NEW met1 ( 3120 9805 ) ( 12240 9805 )
|
|
NEW met1 ( 3120 9805 ) M1M2_PR
|
|
NEW li1 ( 12240 9805 ) L1M1_PR_MR
|
|
+ USE SIGNAL ;
|
|
END NETS
|
|
END DESIGN |