DataBase.Entity¶
Classes
EntityTypes
: An enumeration.BaseFlags
: Undocumented.TestbenchKind
: Undocumented.NetlistKind
: Undocumented.NamespaceRoot
: Undocumented.Visibility
: An enumeration.PathElement
: Undocumented.Namespace
: Undocumented.Library
: Undocumented.WildCard
: Undocumented.StarWildCard
: Undocumented.AskWildCard
: Undocumented.IPCore
: Undocumented.LazyPathElement
: Undocumented.Testbench
: Undocumented.VHDLTestbench
: Undocumented.CocoTestbench
: Undocumented.Netlist
: Undocumented.XstNetlist
: Undocumented.QuartusNetlist
: Undocumented.LatticeNetlist
: Undocumented.CoreGeneratorNetlist
: Undocumented.VivadoNetlist
: Undocumented.FQN
: Undocumented.
Functions
_PoCEntityTypes_parser()
: Undocumented.
-
class
DataBase.Entity.
EntityTypes
[source]¶ An enumeration.
Inheritance
Members
-
Unknown
= 0¶
-
Source
= 1¶
-
Testbench
= 2¶
-
NetList
= 3¶
-
-
class
DataBase.Entity.
BaseFlags
[source]¶ Inheritance
Members
-
_FlagsArithmeticMixin__bits
¶
-
_FlagsArithmeticMixin__create_flags_instance
(bits)¶
-
_Flags__internal_str
()¶
-
bits_from_simple_str
(s)¶
-
bits_from_str
(s)¶ Converts the output of __str__ into an integer.
-
data
¶
-
from_simple_str
(s)¶ Accepts only the output of to_simple_str(). The output of __str__() is invalid as input.
-
from_str
(s)¶ Accepts both the output of to_simple_str() and __str__().
-
is_disjoint
(*flags_instances)¶
-
is_member
¶ flags.is_member is a shorthand for flags.properties is not None. If this property is False then this Flags instance has either zero bits or holds a combination of flag member bits. If this property is True then the bits of this Flags instance match exactly the bits associated with one of the members. This however doesn’t necessarily mean that this flag instance isn’t a combination of several flags because the bits of a member can be the subset of another member. For example if member0_bits=0x1 and member1_bits=0x3 then the bits of member0 are a subset of the bits of member1. If a flag instance holds the bits of member1 then Flags.is_member returns True and Flags.properties returns the properties of member1 but __len__() returns 2 and __iter__() yields both member0 and member1.
-
name
¶
-
properties
¶ Returns: Returns None if this flag isn’t an exact member of a flags class but a combination of flags, returns an object holding the properties (e.g.: name, data, index, ...) of the flag otherwise. We don’t store flag properties directly in Flags instances because this way Flags instances that are the (temporary) result of flags arithmetic don’t have to maintain these fields and it also has some benefits regarding memory usage.
-
to_simple_str
()¶
-
-
class
DataBase.Entity.
TestbenchKind
[source]¶ Inheritance
Members
-
_FlagsArithmeticMixin__bits
¶
-
_FlagsArithmeticMixin__create_flags_instance
(bits)¶
-
_Flags__internal_str
()¶
-
bits_from_simple_str
(s)¶
-
bits_from_str
(s)¶ Converts the output of __str__ into an integer.
-
data
¶
-
from_simple_str
(s)¶ Accepts only the output of to_simple_str(). The output of __str__() is invalid as input.
-
from_str
(s)¶ Accepts both the output of to_simple_str() and __str__().
-
is_disjoint
(*flags_instances)¶
-
is_member
¶ flags.is_member is a shorthand for flags.properties is not None. If this property is False then this Flags instance has either zero bits or holds a combination of flag member bits. If this property is True then the bits of this Flags instance match exactly the bits associated with one of the members. This however doesn’t necessarily mean that this flag instance isn’t a combination of several flags because the bits of a member can be the subset of another member. For example if member0_bits=0x1 and member1_bits=0x3 then the bits of member0 are a subset of the bits of member1. If a flag instance holds the bits of member1 then Flags.is_member returns True and Flags.properties returns the properties of member1 but __len__() returns 2 and __iter__() yields both member0 and member1.
-
name
¶
-
properties
¶ Returns: Returns None if this flag isn’t an exact member of a flags class but a combination of flags, returns an object holding the properties (e.g.: name, data, index, ...) of the flag otherwise. We don’t store flag properties directly in Flags instances because this way Flags instances that are the (temporary) result of flags arithmetic don’t have to maintain these fields and it also has some benefits regarding memory usage.
-
to_simple_str
()¶
-
-
class
DataBase.Entity.
NetlistKind
[source]¶ Inheritance
Members
-
_FlagsArithmeticMixin__bits
¶
-
_FlagsArithmeticMixin__create_flags_instance
(bits)¶
-
_Flags__internal_str
()¶
-
bits_from_simple_str
(s)¶
-
bits_from_str
(s)¶ Converts the output of __str__ into an integer.
-
data
¶
-
from_simple_str
(s)¶ Accepts only the output of to_simple_str(). The output of __str__() is invalid as input.
-
from_str
(s)¶ Accepts both the output of to_simple_str() and __str__().
-
is_disjoint
(*flags_instances)¶
-
is_member
¶ flags.is_member is a shorthand for flags.properties is not None. If this property is False then this Flags instance has either zero bits or holds a combination of flag member bits. If this property is True then the bits of this Flags instance match exactly the bits associated with one of the members. This however doesn’t necessarily mean that this flag instance isn’t a combination of several flags because the bits of a member can be the subset of another member. For example if member0_bits=0x1 and member1_bits=0x3 then the bits of member0 are a subset of the bits of member1. If a flag instance holds the bits of member1 then Flags.is_member returns True and Flags.properties returns the properties of member1 but __len__() returns 2 and __iter__() yields both member0 and member1.
-
name
¶
-
properties
¶ Returns: Returns None if this flag isn’t an exact member of a flags class but a combination of flags, returns an object holding the properties (e.g.: name, data, index, ...) of the flag otherwise. We don’t store flag properties directly in Flags instances because this way Flags instances that are the (temporary) result of flags arithmetic don’t have to maintain these fields and it also has some benefits regarding memory usage.
-
to_simple_str
()¶
-
-
class
DataBase.Entity.
NamespaceRoot
(host)[source]¶ Inheritance
Members
-
Libraries
¶
-
LibraryNames
¶
-
_NamespaceRoot__POCRoot_Name
= 'PoC'¶
-
_NamespaceRoot__POCRoot_SectionName
= 'PoC'¶
-
-
class
DataBase.Entity.
Visibility
[source]¶ An enumeration.
Inheritance
Members
-
Unknown
= 0¶
-
Private
= 1¶
-
Public
= 2¶
-
-
class
DataBase.Entity.
PathElement
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
Name
¶
-
Parent
¶
-
ConfigSectionName
¶
-
ConfigSection
¶
-
Level
¶
-
Visibility
¶
-
IsVisible
¶
-
Path
¶
-
-
class
DataBase.Entity.
Namespace
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
Namespaces
¶
-
NamespaceNames
¶
-
Entities
¶
-
EntityNames
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
-
class
DataBase.Entity.
Library
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
Level
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
Entities
¶
-
EntityNames
¶
-
GetAllEntities
()¶
-
GetEntities
()¶
-
GetEntityNames
()¶
-
GetNamespaceNames
()¶
-
GetNamespaces
()¶
-
IsVisible
¶
-
Name
¶
-
NamespaceNames
¶
-
Namespaces
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
_Load
()¶
-
pprint
(indent=0)¶
-
-
class
DataBase.Entity.
WildCard
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
GetNetlists
(kind=<NetlistKind(LatticeNetlist|QuartusNetlist|XstNetlist|CoreGeneratorNetlist|VivadoNetlist) bits=0x001F>)[source]¶
-
Testbenches
¶
-
VHDLTestbenches
¶
-
CocoTestbenches
¶
-
Netlists
¶
-
LatticeNetlists
¶
-
QuartusNetlists
¶
-
XSTNetlists
¶
-
CoreGenNetlists
¶
-
VivadoNetlists
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
StarWildCard
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
CocoTestbenches
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
CoreGenNetlists
¶
-
GetCocoTestbenches
()¶
-
GetCoreGenNetlists
()¶
-
GetLatticeNetlists
()¶
-
GetNetlists
(kind=<NetlistKind(LatticeNetlist|QuartusNetlist|XstNetlist|CoreGeneratorNetlist|VivadoNetlist) bits=0x001F>)¶
-
GetQuartusNetlists
()¶
-
GetTestbenches
(kind=<TestbenchKind(VHDLTestbench|CocoTestbench) bits=0x0003>)¶
-
GetVHDLTestbenches
()¶
-
GetVivadoNetlists
()¶
-
GetXSTNetlists
()¶
-
IsVisible
¶
-
LatticeNetlists
¶
-
Level
¶
-
Name
¶
-
Netlists
¶
-
Parent
¶
-
Path
¶
-
QuartusNetlists
¶
-
Testbenches
¶
-
VHDLTestbenches
¶
-
Visibility
¶
-
VivadoNetlists
¶
-
XSTNetlists
¶
-
-
class
DataBase.Entity.
AskWildCard
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
CocoTestbenches
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
CoreGenNetlists
¶
-
GetCocoTestbenches
()¶
-
GetCoreGenNetlists
()¶
-
GetLatticeNetlists
()¶
-
GetNetlists
(kind=<NetlistKind(LatticeNetlist|QuartusNetlist|XstNetlist|CoreGeneratorNetlist|VivadoNetlist) bits=0x001F>)¶
-
GetQuartusNetlists
()¶
-
GetTestbenches
(kind=<TestbenchKind(VHDLTestbench|CocoTestbench) bits=0x0003>)¶
-
GetVHDLTestbenches
()¶
-
GetVivadoNetlists
()¶
-
GetXSTNetlists
()¶
-
IsVisible
¶
-
LatticeNetlists
¶
-
Level
¶
-
Name
¶
-
Netlists
¶
-
Parent
¶
-
Path
¶
-
QuartusNetlists
¶
-
Testbenches
¶
-
VHDLTestbenches
¶
-
Visibility
¶
-
VivadoNetlists
¶
-
XSTNetlists
¶
-
-
class
DataBase.Entity.
IPCore
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
Dependencies
¶
-
VHDLTestbench
¶
-
CocoTestbench
¶
-
LatticeNetlist
¶
-
QuartusNetlist
¶
-
XSTNetlist
¶
-
CGNetlist
¶
-
VivadoNetlist
¶
-
GetNetlists
(kind=<NetlistKind(LatticeNetlist|QuartusNetlist|XstNetlist|CoreGeneratorNetlist|VivadoNetlist) bits=0x001F>)[source]¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
-
class
DataBase.Entity.
LazyPathElement
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
Kind
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
_LazyLoadable_Load
()¶
-
_Load
()¶
-
-
class
DataBase.Entity.
Testbench
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
ModuleName
¶
-
FilesFile
¶
-
Result
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
VHDLTestbench
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
ConfigSection
¶
-
ConfigSectionName
¶
-
FilesFile
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Result
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
CocoTestbench
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
TopLevel
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
FilesFile
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Result
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
Netlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
ModuleName
¶
-
RulesFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
XstNetlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
FilesFile
¶
-
XcfFile
¶
-
FilterFile
¶
-
XstTemplateFile
¶
-
PrjFile
¶
-
XstFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
RulesFile
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
QuartusNetlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
FilesFile
¶
-
QsfFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
RulesFile
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
LatticeNetlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
FilesFile
¶
-
PrjFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
RulesFile
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
CoreGeneratorNetlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
FilesFile
¶
-
XcoFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
RulesFile
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
VivadoNetlist
(host, name, configSectionName, parent)[source]¶ Inheritance
Members
-
FilesFile
¶
-
TclFile
¶
-
ConfigSection
¶
-
ConfigSectionName
¶
-
IsVisible
¶
-
Kind
¶
-
LazyLoadable_IsLoaded
¶
-
Level
¶
-
ModuleName
¶
-
Name
¶
-
Parent
¶
-
Path
¶
-
RulesFile
¶
-
Visibility
¶
-
_Load
()¶
-
-
class
DataBase.Entity.
FQN
(host, fqn, defaultLibrary='PoC', defaultType=<EntityTypes.Source: 1>)[source]¶ Inheritance
Members
-
Entity
¶
-
Functions