Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Can you tell me what is the use of SITE attribute in LEF

Status
Not open for further replies.

owen_li

Full Member level 3
Joined
Jul 22, 2007
Messages
150
Helped
17
Reputation
34
Reaction score
15
Trophy points
1,298
Activity points
2,301
Hi.

Can you tell me what is use of SITE attribute in LEF ?

Can you give me some example ?

Thanks in advance!
 

You can define different kind of SITES, which are where and how macros can be placed. You define a SITE type like this:
Code:
SITE siteName
CLASS {PAD | CORE} ;
[SYMMETRY {X | Y | R90} ... ;]  (will discuss this later in macro definition)
SIZE width BY height ;
END siteName
The tags should be obvious -- they define the class (in the core or in the IO / PAD region), what symmetry / rotation is allowed if any, and the size of each site. Usually your LEF file will have some SITE definitions, then your DEF file will have a ton of SITE instantiations for all the places standard cells and IO can go.

Then each MACRO definition in your LEF will say what kind of SITE the MACRO needs to sit in.
Code:
MACRO macroName
[CLASS
{ COVER [BUMP]
| RING
| BLOCK [BLACKBOX]
| PAD [INPUT | OUTPUT |INOUT | POWER | SPACER | AREAIO]
| CORE [FEEDTHRU | TIEHIGH | TIELOW | SPACER | ANTENNACELL]
| ENDCAP {PRE | POST | TOPLEFT | TOPRIGHT | BOTTOMLEFT | BOTTOMRIGHT}
}
;]
[SOURCE {USER | BLOCK} ;]
[FOREIGN foreignCellName [pt [orient]] ;] ...
[ORIGIN pt ;]
[SIZE width BY height ;]
[SYMMETRY {X | Y | R90} ... ;]
[SITE siteName ;]
[PIN statement] ...
[OBS statement] ...

You can google for LEF / DEF spec to get details if you need more info.
 

Does the "SITE" mean the placement point where the standard cells or macros can be placed ?

If so, I am very curious that why there are SIZE section in SITE attribute.
And it seems the CORE SITE is the minimal standard cells.
So why the MACRO SITE size is the same as the MACRO physical size ?


Thanks !
 

owen_li said:
Does the "SITE" mean the placement point where the standard cells or macros can be placed ?
Not placement point, but type of place something can be placed. SITE definition is a type of place in the LEF. SITE instantiations in the DEF file create each place a MACRO of certain SITE types can sit.
owen_li said:
If so, I am very curious that why there are SIZE section in SITE attribute. And it seems the CORE SITE is the minimal standard cells.
So why the MACRO SITE size is the same as the MACRO physical size ?
Thanks !
Each SITE has a SIZE of course! It's the base area that the SITE occupies. A macro with SITE X sits on a SITE of type X, and the sizes should match or be integral multipliers of the base SITE SIZE.

I think if you experiment with LEF and DEF in a layout tool you'll understand this better than my bad English description.
 

    owen_li

    Points: 2
    Helpful Answer Positive Rating
Thanks very much!
Btw, are you chinese?
 

Since I am chinese.
Thanks all the same, for your detail explanation!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top