[DATA] Add views for xres_buf

This commit is contained in:
manarabdelaty 2021-11-15 18:07:02 +02:00
parent aefa72281c
commit 6203460f57
5 changed files with 287 additions and 0 deletions

BIN
gds/xres_buf.gds.gz Normal file

Binary file not shown.

75
lef/xres_buf.lef Normal file
View File

@ -0,0 +1,75 @@
VERSION 5.7 ;
NOWIREEXTENSIONATPIN ON ;
DIVIDERCHAR "/" ;
BUSBITCHARS "[]" ;
MACRO xres_buf
CLASS BLOCK ;
FOREIGN xres_buf ;
ORIGIN 0.000 0.000 ;
SIZE 20.000 BY 17.000 ;
PIN A
DIRECTION INPUT ;
USE SIGNAL ;
PORT
LAYER met2 ;
RECT 16.420 13.000 16.700 19.000 ;
END
END A
PIN X
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
PORT
LAYER met2 ;
RECT 2.980 -2.000 3.260 4.000 ;
END
END X
PIN VPWR
DIRECTION INOUT ;
USE POWER ;
PORT
LAYER met4 ;
RECT 3.950 3.815 4.850 16.535 ;
END
END VPWR
PIN VGND
DIRECTION INOUT ;
USE GROUND ;
PORT
LAYER met4 ;
RECT 10.450 3.815 11.350 16.535 ;
END
END VGND
PIN LVPWR
DIRECTION INOUT ;
USE POWER ;
PORT
LAYER met4 ;
RECT 8.350 4.070 9.250 16.280 ;
END
END LVPWR
PIN LVGND
DIRECTION INOUT ;
USE GROUND ;
PORT
LAYER met4 ;
RECT 14.850 4.070 15.750 16.280 ;
END
END LVGND
OBS
LAYER nwell ;
RECT 2.070 10.025 10.170 14.395 ;
RECT 2.070 3.655 17.610 6.255 ;
LAYER li1 ;
RECT 2.400 3.985 17.280 16.365 ;
LAYER met1 ;
RECT 2.400 3.815 17.280 16.535 ;
LAYER met2 ;
RECT 2.990 12.720 16.140 16.535 ;
RECT 2.990 4.280 16.630 12.720 ;
RECT 3.540 3.815 16.630 4.280 ;
LAYER met3 ;
RECT 3.950 3.905 11.350 16.445 ;
END
END xres_buf
END LIBRARY

43
maglef/xres_buf.mag Normal file
View File

@ -0,0 +1,43 @@
magic
tech sky130A
magscale 1 2
timestamp 1608587524
<< obsli1 >>
rect 480 797 3456 3273
<< obsm1 >>
rect 480 763 3456 3307
<< metal2 >>
rect 3284 2600 3340 3800
rect 596 -400 652 800
<< obsm2 >>
rect 598 2544 3228 3307
rect 598 856 3326 2544
rect 708 763 3326 856
<< obsm3 >>
rect 790 781 2270 3289
<< metal4 >>
rect 790 763 970 3307
rect 1670 814 1850 3256
rect 2090 763 2270 3307
rect 2970 814 3150 3256
<< labels >>
rlabel metal2 s 3284 2600 3340 3800 6 A
port 1 nsew signal input
rlabel metal2 s 596 -400 652 800 6 X
port 2 nsew signal output
rlabel metal4 s 790 763 970 3307 6 VPWR
port 3 nsew power bidirectional
rlabel metal4 s 2090 763 2270 3307 6 VGND
port 4 nsew ground bidirectional
rlabel metal4 s 1670 814 1850 3256 6 LVPWR
port 5 nsew power bidirectional
rlabel metal4 s 2970 814 3150 3256 6 LVGND
port 6 nsew ground bidirectional
<< properties >>
string LEFclass BLOCK
string FIXED_BBOX 0 0 4000 3400
string LEFview TRUE
string GDS_FILE ../gds/xres_buf.gds
string GDS_END 48842
string GDS_START 40962
<< end >>

45
spi/lvs/xres_buf.spice Normal file
View File

@ -0,0 +1,45 @@
* NGSPICE file created from xres_buf.ext - technology: sky130A
* Black-box entry subcircuit for sky130_fd_sc_hvl__decap_4 abstract view
.subckt sky130_fd_sc_hvl__decap_4 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hvl__decap_8 abstract view
.subckt sky130_fd_sc_hvl__decap_8 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hvl__fill_2 abstract view
.subckt sky130_fd_sc_hvl__fill_2 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hvl__fill_1 abstract view
.subckt sky130_fd_sc_hvl__fill_1 VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hvl__diode_2 abstract view
.subckt sky130_fd_sc_hvl__diode_2 DIODE VGND VNB VPB VPWR
.ends
* Black-box entry subcircuit for sky130_fd_sc_hvl__lsbufhv2lv_1 abstract view
.subckt sky130_fd_sc_hvl__lsbufhv2lv_1 A LVPWR VGND VNB VPB VPWR X
.ends
.subckt xres_buf A X VPWR VGND LVPWR LVGND
XFILLER_0_24 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_4
XFILLER_1_0 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_8
XFILLER_0_28 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_2
XFILLER_0_16 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_8
XFILLER_1_30 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_1
XFILLER_1_8 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_4
XFILLER_1_12 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_1
XANTENNA_lvlshiftdown_A A VGND VGND VPWR VPWR sky130_fd_sc_hvl__diode_2
XFILLER_2_0 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_8
XFILLER_2_30 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_1
XFILLER_2_10 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_1
XFILLER_0_0 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_8
XFILLER_2_8 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_2
Xlvlshiftdown A LVPWR VGND VGND VPWR VPWR X sky130_fd_sc_hvl__lsbufhv2lv_1
XFILLER_0_8 VGND VGND VPWR VPWR sky130_fd_sc_hvl__decap_8
XFILLER_0_30 VGND VGND VPWR VPWR sky130_fd_sc_hvl__fill_1
.ends

124
verilog/gl/xres_buf.v Normal file
View File

@ -0,0 +1,124 @@
// SPDX-FileCopyrightText: 2020 Efabless Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// SPDX-License-Identifier: Apache-2.0
/* Generated by Yosys 0.9+3621 (git sha1 84e9fa7, gcc 8.3.1 -fPIC -Os) */
module xres_buf(A, X, VPWR, VGND, LVPWR, LVGND);
input A;
input LVGND;
input LVPWR;
input VGND;
input VPWR;
output X;
sky130_fd_sc_hvl__diode_2 ANTENNA_lvlshiftdown_A (
.DIODE(A),
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_8 FILLER_0_0 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_8 FILLER_0_16 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_4 FILLER_0_24 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_2 FILLER_0_28 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_1 FILLER_0_30 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_8 FILLER_0_8 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_8 FILLER_1_0 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_1 FILLER_1_12 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_1 FILLER_1_30 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_4 FILLER_1_8 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__decap_8 FILLER_2_0 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_1 FILLER_2_10 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_1 FILLER_2_30 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__fill_2 FILLER_2_8 (
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR)
);
sky130_fd_sc_hvl__lsbufhv2lv_1 lvlshiftdown (
.A(A),
.LVPWR(LVPWR),
.VGND(VGND),
.VNB(VGND),
.VPB(VPWR),
.VPWR(VPWR),
.X(X)
);
endmodule