Struct lef21::LefMacro [−][src]
pub struct LefMacro {Show 14 fields
pub name: String,
pub pins: Vec<LefPin>,
pub obs: Vec<LefLayerGeometries>,
pub class: Option<LefMacroClass>,
pub foreign: Option<LefForeign>,
pub origin: Option<LefPoint>,
pub size: Option<(LefDecimal, LefDecimal)>,
pub symmetry: Option<Vec<LefSymmetry>>,
pub site: Option<String>,
pub source: Option<LefDefSource>,
pub fixed_mask: Unsupported,
pub eeq: Unsupported,
pub density: Unsupported,
pub properties: Unsupported,
}
Expand description
Lef Macro
The primary block-level construct comprising each LefLibrary. Defines a hardware-block’s physical abstract, including:
- Pin definitions (
pins
) with locations, directions, and associated metadata - Required blockage-obstructions (
obs
) - A variety of other block-level metadata
Fields
name: String
Macro Name
pins: Vec<LefPin>
Pin List
obs: Vec<LefLayerGeometries>
Obstructions
class: Option<LefMacroClass>
Macro Class
foreign: Option<LefForeign>
Foreign (i.e. GDSII, DEF) Cell
origin: Option<LefPoint>
X-Y Origin
size: Option<(LefDecimal, LefDecimal)>
Outline Size
symmetry: Option<Vec<LefSymmetry>>
Rotational & Translation Symmetries
site: Option<String>
Site Name
Note the optional SITEPATTERN
is not supported
source: Option<LefDefSource>
Source
Valid for LEF versions 5.4 and earlier
fixed_mask: Unsupported
Fixed Mask Option (Unsupported)
eeq: Unsupported
Electrically-Equivalent Cell (Unsupported)
density: Unsupported
Density Objects (Unsupported)
properties: Unsupported
Properties (Unsupported)
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for LefMacro
impl UnwindSafe for LefMacro
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.