Nelson Rodriguez
03/13/2023, 3:58 AMFIXED_BBOX
and port attributes class, use
but I have a doubt about some properties it seems were added on the layout [Fig 2] that I don't understand. I found in Magic documentation a description for LEFclass
and LEFsource
[Fig 3] but are not clear for me. Same for LEFsite
. Could anyone help me with them?Tim Edwards
03/13/2023, 1:06 PMCORE
for all standard cells but may have a 2nd keyword TIEHIGH
, TIELOW
, SPACER
, ANTENNACELL
, WELLTAP
, or FEEDTHRU
, for special-purpose standard cells. There is no LEFsource
and I obviously need to remove it from the documentation (which I will go do as soon as I finish writing this). LEFsymmetry
tells a placement tool whether cells can be flipped; usually this is set to X Y
(cells can be flipped either way). (I've also seen X Y R90
but it's not clear to me what a placement tool would ever be able to do with R90
). LEFsite
points to the name of a SITE
which is usually defined in the technology LEF file; it's a definition of a bounding box for a unit size cell.Manuel M
03/13/2023, 2:05 PMLEFsource
has been set in any custom standard cell, it can safely be removed because it is never used?
In this LEF/DEF ref (https://www.ispd.cc/contests/18/lefdefref.pdf) page 250 there is a reference to a SOURCE
parameter in the DEFsyntax chapter (not LEF), but LEFsource
was set in a few github repository workshop documentations I've seen (and so did I)..Tim Edwards
03/13/2023, 2:11 PMLEFsource
is not one of them, it will never be output. I suspect that the documented name is just a typo. There were references in the same file (lef
command reference) to "LEFshape" and "LEFuse". These all correspond to pin properties, not macro properties. They might have been dropped into the documentation during some early development work on the LEF/DEF parsers.Manuel M
03/13/2023, 2:15 PMNelson Rodriguez
03/13/2023, 6:17 PMLEFsite
I was checking the technology LEF file for libraries _hd_
and _hvl_
. They have as SITE
property unithd
and unithv
respectively. If my cells are custom (they doesn't share the same dimensions of sky130 libraries, only the _hd_
X-GRID
(0.46um), what value could I assign to this property?Tim Edwards
03/13/2023, 7:12 PMNelson Rodriguez
03/13/2023, 10:18 PMLEFsite
. The LEF files in sky libraries have these strings assigned [Fig1, 2, 3], that's what I don't know, where do they come from?Tim Edwards
03/14/2023, 2:37 AM/usr/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/techlef/sky130_fd_sc_hd__nom.tlef
):
# High density, single height
SITE unithd
SYMMETRY Y ;
CLASS CORE ;
SIZE 0.46 BY 2.72 ;
END unithd
Nelson Rodriguez
03/14/2023, 6:56 AMSIZE 0.46 BY 4.8
do I have to add the following lines in that file?
SITE unitcustom
SYMMETRY Y ;
CLASS CORE ;
SIZE 0.46 BY 4.8 ;
END unitcustom
Tim Edwards
03/14/2023, 12:30 PM