Safe Haskell | None |
---|
LSC.Model
Documentation
Constructors
RTL | |
Fields
|
Instances
Show RTL Source # | |
Generic RTL Source # | |
Default RTL Source # | |
HasIdentifier RTL Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' RTL Identifier Source # | |
HasDescription RTL AbstractGate Source # | |
Defined in LSC.Model Methods description :: Lens' RTL AbstractGate Source # | |
HasSubcircuits RTL (HashMap Identifier RTL) Source # | |
Defined in LSC.Model Methods subcircuits :: Lens' RTL (HashMap Identifier RTL) Source # | |
type Rep RTL Source # | |
Defined in LSC.Model type Rep RTL = D1 ('MetaData "RTL" "LSC.Model" "main" 'False) (C1 ('MetaCons "RTL" 'PrefixI 'True) (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: (S1 ('MetaSel ('Just "_description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbstractGate) :*: S1 ('MetaSel ('Just "_subcircuits") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier RTL))))) |
data AbstractGate Source #
Constructors
AbstractGate [LogicPort] [Expr] |
Instances
Show AbstractGate Source # | |
Defined in LSC.Model Methods showsPrec :: Int -> AbstractGate -> ShowS show :: AbstractGate -> String showList :: [AbstractGate] -> ShowS | |
Generic AbstractGate Source # | |
Defined in LSC.Model Associated Types type Rep AbstractGate :: Type -> Type | |
Semigroup AbstractGate Source # | |
Defined in LSC.Model Methods (<>) :: AbstractGate -> AbstractGate -> AbstractGate sconcat :: NonEmpty AbstractGate -> AbstractGate stimes :: Integral b => b -> AbstractGate -> AbstractGate | |
Monoid AbstractGate Source # | |
Defined in LSC.Model Methods mappend :: AbstractGate -> AbstractGate -> AbstractGate mconcat :: [AbstractGate] -> AbstractGate | |
HasDescription RTL AbstractGate Source # | |
Defined in LSC.Model Methods description :: Lens' RTL AbstractGate Source # | |
type Rep AbstractGate Source # | |
Defined in LSC.Model type Rep AbstractGate = D1 ('MetaData "AbstractGate" "LSC.Model" "main" 'False) (C1 ('MetaCons "AbstractGate" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [LogicPort]) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr]))) |
Constructors
LogicPort | |
Fields
|
Instances
Show LogicPort Source # | |
Generic LogicPort Source # | |
HasIdentifier LogicPort Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' LogicPort Identifier Source # | |
HasDir LogicPort Dir Source # | |
type Rep LogicPort Source # | |
Defined in LSC.Model type Rep LogicPort = D1 ('MetaData "LogicPort" "LSC.Model" "main" 'False) (C1 ('MetaCons "LogicPort" 'PrefixI 'True) (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: S1 ('MetaSel ('Just "_dir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Dir))) |
Constructors
Assign Identifier Expr | |
Ref Identifier | |
And [Expr] |
Instances
Show Expr Source # | |
Generic Expr Source # | |
type Rep Expr Source # | |
Defined in LSC.Model type Rep Expr = D1 ('MetaData "Expr" "LSC.Model" "main" 'False) (C1 ('MetaCons "Assign" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Expr)) :+: (C1 ('MetaCons "Ref" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier)) :+: C1 ('MetaCons "And" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Expr])))) |
Constructors
NetGraph | |
Fields
|
Instances
Show NetGraph Source # | |
Generic NetGraph Source # | |
NFData NetGraph Source # | |
FromJSON NetGraph Source # | |
Defined in LSC.Model | |
ToJSON NetGraph Source # | |
Defined in LSC.Model Methods toEncoding :: NetGraph -> Encoding toJSONList :: [NetGraph] -> Value toEncodingList :: [NetGraph] -> Encoding | |
Default NetGraph Source # | |
HasIdentifier NetGraph Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' NetGraph Identifier Source # | |
HasSupercell NetGraph AbstractCell Source # | |
HasGates NetGraph (Vector Gate) Source # | |
HasSubcells NetGraph (HashMap Identifier NetGraph) Source # | |
HasNets NetGraph (HashMap Identifier Net) Source # | |
type Rep NetGraph Source # | |
Defined in LSC.Model type Rep NetGraph = D1 ('MetaData "NetGraph" "LSC.Model" "main" 'False) (C1 ('MetaCons "NetGraph" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: S1 ('MetaSel ('Just "_supercell") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 AbstractCell)) :*: (S1 ('MetaSel ('Just "_subcells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier NetGraph)) :*: (S1 ('MetaSel ('Just "_gates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Vector Gate)) :*: S1 ('MetaSel ('Just "_nets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier Net)))))) |
Constructors
Net | |
Fields
|
Instances
Show Net Source # | |
Generic Net Source # | |
Semigroup Net Source # | |
Monoid Net Source # | |
NFData Net Source # | |
FromJSON Net Source # | |
Defined in LSC.Model | |
ToJSON Net Source # | |
Defined in LSC.Model | |
HasIdentifier Net Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Net Identifier Source # | |
HasGeometry Net [Polygon' Layer Int] Source # | |
HasNetSegments Net [Line' Int] Source # | |
HasMembers Net [Gate] Source # | |
HasNets NetGraph (HashMap Identifier Net) Source # | |
HasContacts Net (HashMap Number [Pin]) Source # | |
type Rep Net Source # | |
Defined in LSC.Model type Rep Net = D1 ('MetaData "Net" "LSC.Model" "main" 'False) (C1 ('MetaCons "Net" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: S1 ('MetaSel ('Just "_geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Polygon' Layer Int])) :*: (S1 ('MetaSel ('Just "_netSegments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Line' Int]) :*: (S1 ('MetaSel ('Just "_members") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Gate]) :*: S1 ('MetaSel ('Just "_contacts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Number [Pin])))))) |
type Identifier = Text Source #
base16Identifier :: Int -> Identifier Source #
Constructors
Gate | |
Fields
|
Instances
Eq Gate Source # | |
Show Gate Source # | |
Generic Gate Source # | |
NFData Gate Source # | |
FromJSON Gate Source # | |
Defined in LSC.Model | |
ToJSON Gate Source # | |
Defined in LSC.Model Methods toEncoding :: Gate -> Encoding toJSONList :: [Gate] -> Value toEncodingList :: [Gate] -> Encoding | |
Default Gate Source # | |
HasIdentifier Gate Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Gate Identifier Source # | |
HasNumber Gate Number Source # | |
HasFixed Gate Bool Source # | |
HasFeedthrough Gate Bool Source # | |
Defined in LSC.Model Methods feedthrough :: Lens' Gate Bool Source # | |
HasGates NetGraph (Vector Gate) Source # | |
HasMembers Net [Gate] Source # | |
HasWires Gate (HashMap Identifier Identifier) Source # | |
Defined in LSC.Model Methods wires :: Lens' Gate (HashMap Identifier Identifier) Source # | |
HasSpace Gate (Component' Layer Int) Source # | |
type Rep Gate Source # | |
Defined in LSC.Model type Rep Gate = D1 ('MetaData "Gate" "LSC.Model" "main" 'False) (C1 ('MetaCons "Gate" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: (S1 ('MetaSel ('Just "_space") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Component' Layer Int)) :*: S1 ('MetaSel ('Just "_wires") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier Identifier)))) :*: (S1 ('MetaSel ('Just "_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Number) :*: (S1 ('MetaSel ('Just "_fixed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "_feedthrough") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))))) |
Instances
Show Track Source # | |
Generic Track Source # | |
NFData Track Source # | |
FromJSON Track Source # | |
Defined in LSC.Model | |
ToJSON Track Source # | |
Defined in LSC.Model Methods toEncoding :: Track -> Encoding toJSONList :: [Track] -> Value toEncodingList :: [Track] -> Encoding | |
HasZ Track IntSet Source # | |
HasStabs Track IntSet Source # | |
HasTracks AbstractCell [Either Track Track] Source # | |
type Rep Track Source # | |
Defined in LSC.Model type Rep Track = D1 ('MetaData "Track" "LSC.Model" "main" 'False) (C1 ('MetaCons "Track" 'PrefixI 'True) (S1 ('MetaSel ('Just "_stabs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IntSet) :*: S1 ('MetaSel ('Just "_z") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 IntSet))) |
Constructors
Row | |
Fields
|
Instances
Show Row Source # | |
Generic Row Source # | |
NFData Row Source # | |
FromJSON Row Source # | |
Defined in LSC.Model | |
ToJSON Row Source # | |
Defined in LSC.Model | |
Default Row Source # | |
HasOrientation Row Orientation Source # | |
Defined in LSC.Model Methods orientation :: Lens' Row Orientation Source # | |
HasL Row Int Source # | |
HasB Row Int Source # | |
HasIdentifier Row Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Row Identifier Source # | |
HasNumber Row Number Source # | |
HasGranularity Row Int Source # | |
Defined in LSC.Model Methods granularity :: Lens' Row Int Source # | |
HasCardinality Row Int Source # | |
Defined in LSC.Model Methods cardinality :: Lens' Row Int Source # | |
HasRows AbstractCell (IntMap Row) Source # | |
type Rep Row Source # | |
Defined in LSC.Model type Rep Row = D1 ('MetaData "Row" "LSC.Model" "main" 'False) (C1 ('MetaCons "Row" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: (S1 ('MetaSel ('Just "_number") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Number) :*: S1 ('MetaSel ('Just "_l") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "_b") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_orientation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Orientation)) :*: (S1 ('MetaSel ('Just "_cardinality") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "_granularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))))) |
data AbstractCell Source #
Constructors
AbstractCell | |
Instances
Show AbstractCell Source # | |
Defined in LSC.Model Methods showsPrec :: Int -> AbstractCell -> ShowS show :: AbstractCell -> String showList :: [AbstractCell] -> ShowS | |
Generic AbstractCell Source # | |
Defined in LSC.Model Associated Types type Rep AbstractCell :: Type -> Type | |
NFData AbstractCell Source # | |
Defined in LSC.Model Methods rnf :: AbstractCell -> () | |
FromJSON AbstractCell Source # | |
Defined in LSC.Model | |
ToJSON AbstractCell Source # | |
Defined in LSC.Model Methods toJSON :: AbstractCell -> Value toEncoding :: AbstractCell -> Encoding toJSONList :: [AbstractCell] -> Value toEncodingList :: [AbstractCell] -> Encoding | |
Default AbstractCell Source # | |
Defined in LSC.Model Methods def :: AbstractCell | |
HasSupercell NetGraph AbstractCell Source # | |
HasVdd AbstractCell Pin Source # | |
HasGnd AbstractCell Pin Source # | |
HasTracks AbstractCell [Either Track Track] Source # | |
HasRows AbstractCell (IntMap Row) Source # | |
HasGeometry AbstractCell [Component' Layer Int] Source # | |
Defined in LSC.Model Methods geometry :: Lens' AbstractCell [Component' Layer Int] Source # | |
HasPins AbstractCell (HashMap Identifier Pin) Source # | |
Defined in LSC.Model Methods pins :: Lens' AbstractCell (HashMap Identifier Pin) Source # | |
type Rep AbstractCell Source # | |
Defined in LSC.Model type Rep AbstractCell = D1 ('MetaData "AbstractCell" "LSC.Model" "main" 'False) (C1 ('MetaCons "AbstractCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Component' Layer Int]) :*: (S1 ('MetaSel ('Just "_tracks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Either Track Track]) :*: S1 ('MetaSel ('Just "_rows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (IntMap Row)))) :*: (S1 ('MetaSel ('Just "_vdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pin) :*: (S1 ('MetaSel ('Just "_gnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pin) :*: S1 ('MetaSel ('Just "_pins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier Pin)))))) |
Instances
Show Cell Source # | |
Generic Cell Source # | |
NFData Cell Source # | |
FromJSON Cell Source # | |
Defined in LSC.Model | |
ToJSON Cell Source # | |
Defined in LSC.Model Methods toEncoding :: Cell -> Encoding toJSONList :: [Cell] -> Value toEncodingList :: [Cell] -> Encoding | |
Default Cell Source # | |
HasVdd Cell Pin Source # | |
HasGnd Cell Pin Source # | |
HasPins Cell (HashMap Identifier Pin) Source # | |
HasDims Cell (Int, Int) Source # | |
HasStdCells Technology (HashMap Identifier Cell) Source # | |
Defined in LSC.Model Methods stdCells :: Lens' Technology (HashMap Identifier Cell) Source # | |
type Rep Cell Source # | |
Defined in LSC.Model type Rep Cell = D1 ('MetaData "Cell" "LSC.Model" "main" 'False) (C1 ('MetaCons "Cell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "_pins") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier Pin)) :*: S1 ('MetaSel ('Just "_vdd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pin)) :*: (S1 ('MetaSel ('Just "_gnd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Pin) :*: S1 ('MetaSel ('Just "_dims") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Int, Int))))) |
Instances
Eq Dir Source # | |
Show Dir Source # | |
Generic Dir Source # | |
NFData Dir Source # | |
FromJSON Dir Source # | |
Defined in LSC.Model | |
ToJSON Dir Source # | |
Defined in LSC.Model | |
HasDir LogicPort Dir Source # | |
HasDir Pin (Maybe Dir) Source # | |
type Rep Dir Source # | |
Constructors
Pin | |
Fields
|
Instances
Show Pin Source # | |
Generic Pin Source # | |
NFData Pin Source # | |
FromJSON Pin Source # | |
Defined in LSC.Model | |
ToJSON Pin Source # | |
Defined in LSC.Model | |
Default Pin Source # | |
HasIdentifier Pin Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Pin Identifier Source # | |
HasVdd Cell Pin Source # | |
HasVdd AbstractCell Pin Source # | |
HasGnd Cell Pin Source # | |
HasGnd AbstractCell Pin Source # | |
HasDir Pin (Maybe Dir) Source # | |
HasGeometry Pin [Port] Source # | |
HasPins Cell (HashMap Identifier Pin) Source # | |
HasPins AbstractCell (HashMap Identifier Pin) Source # | |
Defined in LSC.Model Methods pins :: Lens' AbstractCell (HashMap Identifier Pin) Source # | |
HasContacts Net (HashMap Number [Pin]) Source # | |
type Rep Pin Source # | |
Defined in LSC.Model type Rep Pin = D1 ('MetaData "Pin" "LSC.Model" "main" 'False) (C1 ('MetaCons "Pin" 'PrefixI 'True) (S1 ('MetaSel ('Just "_identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Identifier) :*: (S1 ('MetaSel ('Just "_dir") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Dir)) :*: S1 ('MetaSel ('Just "_geometry") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Port])))) |
data Technology Source #
Constructors
Technology | |
Fields
|
Instances
Show Technology Source # | |
Defined in LSC.Model Methods showsPrec :: Int -> Technology -> ShowS show :: Technology -> String showList :: [Technology] -> ShowS | |
Generic Technology Source # | |
Defined in LSC.Model Associated Types type Rep Technology :: Type -> Type | |
NFData Technology Source # | |
Defined in LSC.Model Methods rnf :: Technology -> () | |
FromJSON Technology Source # | |
Defined in LSC.Model | |
ToJSON Technology Source # | |
Defined in LSC.Model Methods toJSON :: Technology -> Value toEncoding :: Technology -> Encoding toJSONList :: [Technology] -> Value toEncodingList :: [Technology] -> Encoding | |
Default Technology Source # | |
Defined in LSC.Model Methods def :: Technology | |
HasScaleFactor Technology Double Source # | |
Defined in LSC.Model Methods scaleFactor :: Lens' Technology Double Source # | |
HasStdCells Technology (HashMap Identifier Cell) Source # | |
Defined in LSC.Model Methods stdCells :: Lens' Technology (HashMap Identifier Cell) Source # | |
type Rep Technology Source # | |
Defined in LSC.Model type Rep Technology = D1 ('MetaData "Technology" "LSC.Model" "main" 'False) (C1 ('MetaCons "Technology" 'PrefixI 'True) (S1 ('MetaSel ('Just "_scaleFactor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Double) :*: S1 ('MetaSel ('Just "_stdCells") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (HashMap Identifier Cell)))) |
createWorkers :: Word -> IO (Maybe Workers) Source #
rtsWorkers :: IO (Maybe Workers) Source #
data CompilerOpts Source #
Constructors
CompilerOpts | |
Fields
|
Instances
Default CompilerOpts Source # | |
Defined in LSC.Model Methods def :: CompilerOpts | |
HasRowCapacity CompilerOpts Double Source # | |
Defined in LSC.Model Methods rowCapacity :: Lens' CompilerOpts Double Source # | |
HasLogLevel CompilerOpts LogLevel Source # | |
HasIterations CompilerOpts Word Source # | |
Defined in LSC.Model Methods iterations :: Lens' CompilerOpts Word Source # | |
HasEnableVisuals CompilerOpts Bool Source # | |
Defined in LSC.Model Methods enableVisuals :: Lens' CompilerOpts Bool Source # | |
HasWorkers CompilerOpts (Maybe Workers) Source # | |
HasSeedHandle CompilerOpts (Maybe Handle) Source # | |
Defined in LSC.Model Methods seedHandle :: Lens' CompilerOpts (Maybe Handle) Source # |
class HasDescription s a | s -> a where Source #
Methods
description :: Lens' s a Source #
Instances
HasDescription RTL AbstractGate Source # | |
Defined in LSC.Model Methods description :: Lens' RTL AbstractGate Source # |
class HasIdentifier s a | s -> a where Source #
Methods
identifier :: Lens' s a Source #
Instances
HasIdentifier Pin Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Pin Identifier Source # | |
HasIdentifier Row Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Row Identifier Source # | |
HasIdentifier Gate Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Gate Identifier Source # | |
HasIdentifier Net Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' Net Identifier Source # | |
HasIdentifier NetGraph Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' NetGraph Identifier Source # | |
HasIdentifier LogicPort Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' LogicPort Identifier Source # | |
HasIdentifier RTL Identifier Source # | |
Defined in LSC.Model Methods identifier :: Lens' RTL Identifier Source # |
class HasSubcircuits s a | s -> a where Source #
Methods
subcircuits :: Lens' s a Source #
Instances
HasSubcircuits RTL (HashMap Identifier RTL) Source # | |
Defined in LSC.Model Methods subcircuits :: Lens' RTL (HashMap Identifier RTL) Source # |
class HasSubcells s a | s -> a where Source #
Instances
HasSubcells NetGraph (HashMap Identifier NetGraph) Source # | |
class HasSupercell s a | s -> a where Source #
Instances
class HasCardinality s a | s -> a where Source #
Methods
cardinality :: Lens' s a Source #
Instances
HasCardinality Row Int Source # | |
Defined in LSC.Model Methods cardinality :: Lens' Row Int Source # |
class HasGranularity s a | s -> a where Source #
Methods
granularity :: Lens' s a Source #
Instances
HasGranularity Row Int Source # | |
Defined in LSC.Model Methods granularity :: Lens' Row Int Source # |
class HasGeometry s a | s -> a where Source #
Instances
HasGeometry Pin [Port] Source # | |
HasGeometry AbstractCell [Component' Layer Int] Source # | |
Defined in LSC.Model Methods geometry :: Lens' AbstractCell [Component' Layer Int] Source # | |
HasGeometry Net [Polygon' Layer Int] Source # | |
class HasPins s a | s -> a where Source #
Instances
HasPins Cell (HashMap Identifier Pin) Source # | |
HasPins AbstractCell (HashMap Identifier Pin) Source # | |
Defined in LSC.Model Methods pins :: Lens' AbstractCell (HashMap Identifier Pin) Source # |
class HasFeedthrough s a | s -> a where Source #
Methods
feedthrough :: Lens' s a Source #
Instances
HasFeedthrough Gate Bool Source # | |
Defined in LSC.Model Methods feedthrough :: Lens' Gate Bool Source # |
class HasWires s a | s -> a where Source #
Instances
HasWires Gate (HashMap Identifier Identifier) Source # | |
Defined in LSC.Model Methods wires :: Lens' Gate (HashMap Identifier Identifier) Source # |
class HasContacts s a | s -> a where Source #
class HasMembers s a | s -> a where Source #
class HasNetSegments s a | s -> a where Source #
Methods
netSegments :: Lens' s a Source #
class HasEnableVisuals s a | s -> a where Source #
Methods
enableVisuals :: Lens' s a Source #
Instances
HasEnableVisuals CompilerOpts Bool Source # | |
Defined in LSC.Model Methods enableVisuals :: Lens' CompilerOpts Bool Source # |
class HasIterations s a | s -> a where Source #
Methods
iterations :: Lens' s a Source #
Instances
HasIterations CompilerOpts Word Source # | |
Defined in LSC.Model Methods iterations :: Lens' CompilerOpts Word Source # |
class HasLogLevel s a | s -> a where Source #
Instances
class HasRowCapacity s a | s -> a where Source #
Methods
rowCapacity :: Lens' s a Source #
Instances
HasRowCapacity CompilerOpts Double Source # | |
Defined in LSC.Model Methods rowCapacity :: Lens' CompilerOpts Double Source # |
class HasSeedHandle s a | s -> a where Source #
Methods
seedHandle :: Lens' s a Source #
Instances
HasSeedHandle CompilerOpts (Maybe Handle) Source # | |
Defined in LSC.Model Methods seedHandle :: Lens' CompilerOpts (Maybe Handle) Source # |
class HasWorkers s a | s -> a where Source #
Instances
HasWorkers CompilerOpts (Maybe Workers) Source # | |
class HasScaleFactor s a | s -> a where Source #
Methods
scaleFactor :: Lens' s a Source #
Instances
HasScaleFactor Technology Double Source # | |
Defined in LSC.Model Methods scaleFactor :: Lens' Technology Double Source # |
class HasStdCells s a | s -> a where Source #
Instances
HasStdCells Technology (HashMap Identifier Cell) Source # | |
Defined in LSC.Model Methods stdCells :: Lens' Technology (HashMap Identifier Cell) Source # |