#[repr(u32)]pub enum ObjectType {
Show 281 variants
Always = 1,
AssignStmt = 2,
Assignment = 3,
Begin = 4,
Case = 5,
CaseItem = 6,
Constant = 7,
ContAssign = 8,
Deassign = 9,
DefParam = 10,
DelayControl = 11,
Disable = 12,
EventControl = 13,
EventStmt = 14,
ForStmt = 15,
Force = 16,
Forever = 17,
Fork = 18,
FuncCall = 19,
Function = 20,
Gate = 21,
IfStmt = 22,
IfElse = 23,
Initial = 24,
IntegerVar = 25,
InterModPath = 26,
Iterator = 27,
IODecl = 28,
Memory = 29,
MemoryWord = 30,
ModPath = 31,
Module = 32,
NamedBegin = 33,
NamedEvent = 34,
NamedFork = 35,
Net = 36,
NetBit = 37,
NullStmt = 38,
Operation = 39,
ParamAssign = 40,
Parameter = 41,
PartSelect = 42,
PathTerm = 43,
Port = 44,
PortBit = 45,
PrimTerm = 46,
RealVar = 47,
Reg = 48,
RegBit = 49,
Release = 50,
Repeat = 51,
RepeatControl = 52,
SchedEvent = 53,
SpecParam = 54,
Switch = 55,
SysFuncCall = 56,
SysTaskCall = 57,
TableEntry = 58,
Task = 59,
TaskCall = 60,
Tchk = 61,
TchkTerm = 62,
TimeVar = 63,
TimeQueue = 64,
Udp = 65,
UdpDefn = 66,
UserSystf = 67,
VarSelect = 68,
Wait = 69,
WhileStmt = 70,
Condition = 71,
Delay = 72,
ElseStmt = 73,
ForIncStmt = 74,
ForInitStmt = 75,
HighConn = 76,
Lhs = 77,
Index = 78,
LeftRange = 79,
LowConn = 80,
Parent = 81,
Rhs = 82,
RightRange = 83,
Scope = 84,
SysTfCall = 85,
TchkDataTerm = 86,
TchkNotifier = 87,
TchkRefTerm = 88,
Argument = 89,
Bit = 90,
Driver = 91,
InternalScope = 92,
Load = 93,
ModDataPathIn = 94,
ModPathIn = 95,
ModPathOut = 96,
Operand = 97,
PortInst = 98,
Process = 99,
Variables = 100,
Use = 101,
Expr = 102,
Primitive = 103,
Stmt = 104,
Attribute = 105,
BitSelect = 106,
Callback = 107,
DelayTerm = 108,
DelayDevice = 109,
Frame = 110,
GateArray = 111,
ModuleArray = 112,
PrimitiveArray = 113,
NetArray = 114,
Range = 115,
RegArray = 116,
SwitchArray = 117,
UdpArray = 118,
ActiveTimeFormat = 119,
InTerm = 120,
InstanceArray = 121,
LocalDriver = 122,
LocalLoad = 123,
OutTerm = 124,
Ports = 125,
SimNet = 126,
TaskFunc = 127,
ContAssignBit = 128,
NamedEventArray = 129,
IndexedPartSelect = 130,
BaseExpr = 131,
WidthExpr = 132,
GenScopeArray = 133,
GenScope = 134,
GenVar = 135,
Automatics = 136,
Package = 600,
Interface = 601,
Program = 602,
InterfaceArray = 603,
ProgramArray = 604,
Typespec = 605,
Modport = 606,
InterfaceTfDecl = 607,
RefObj = 608,
TypeParameter = 609,
LongIntVar = 610,
ShortIntVar = 611,
IntVar = 612,
ShortRealVar = 613,
ByteVar = 614,
ClassVar = 615,
StringVar = 616,
EnumVar = 617,
StructVar = 618,
UnionVar = 619,
BitVar = 620,
ClassObj = 621,
ChandleVar = 622,
PackedArrayVar = 623,
VirtualInterfaceVar = 728,
LongIntTypespec = 625,
ShortRealTypespec = 626,
ByteTypespec = 627,
ShortIntTypespec = 628,
IntTypespec = 629,
ClassTypespec = 630,
StringTypespec = 631,
ChandleTypespec = 632,
EnumTypespec = 633,
EnumConst = 634,
IntegerTypespec = 635,
TimeTypespec = 636,
RealTypespec = 637,
StructTypespec = 638,
UnionTypespec = 639,
BitTypespec = 640,
LogicTypespec = 641,
ArrayTypespec = 642,
VoidTypespec = 643,
TypespecMember = 644,
PackedArrayTypespec = 692,
SequenceTypespec = 696,
PropertyTypespec = 697,
EventTypespec = 698,
InterfaceTypespec = 906,
ClockingBlock = 650,
ClockingIODecl = 651,
ClassDefn = 652,
Constraint = 653,
ConstraintOrdering = 654,
DistItem = 645,
AliasStmt = 646,
Thread = 647,
MethodFuncCall = 648,
MethodTaskCall = 649,
PropertyDecl = 655,
PropertySpec = 656,
PropertyExpr = 657,
MulticlockSequenceExpr = 658,
ClockedSeq = 659,
ClockedProp = 902,
PropertyInst = 660,
SequenceDecl = 661,
CaseProperty = 662,
CasePropertyItem = 905,
SequenceInst = 664,
ImmediateAssert = 665,
ImmediateAssume = 694,
ImmediateCover = 695,
Return = 666,
ReturnStmt = 691,
Assert = 686,
Assume = 687,
Cover = 688,
Restrict = 901,
DisableCondition = 689,
ClockingEvent = 690,
AnyPattern = 667,
TaggedPattern = 668,
StructPattern = 669,
DoWhile = 670,
OrderedWait = 671,
WaitFork = 672,
DisableFork = 673,
ExpectStmt = 674,
ForeachStmt = 675,
Final = 676,
Extends = 677,
Distribution = 678,
SeqFormalDecl = 679,
PropFormalDecl = 699,
EnumNet = 680,
IntegerNet = 681,
TimeNet = 682,
StructNet = 683,
Break = 684,
Continue = 685,
PackedArrayNet = 693,
SoftDisable = 733,
ConstrIf = 738,
ConstrIfElse = 739,
ConstrForEach = 736,
LetDecl = 903,
LetExpr = 904,
ConstraintExpr = 747,
ElseConst = 748,
Implication = 749,
ConstraintItem = 746,
Actual = 700,
TypedefAlias = 701,
IndexTypespec = 702,
BaseTypespec = 703,
ElemTypespec = 704,
InputSkew = 706,
OutputSkew = 707,
GlobalClocking = 708,
DefaultClocking = 709,
DefaultDisableIff = 710,
Origin = 713,
Prefix = 714,
With = 715,
Property = 718,
ValueRange = 720,
Pattern = 721,
Weight = 722,
Typedef = 725,
Import = 726,
DerivedClasses = 727,
Methods = 730,
SolveBefore = 731,
SolveAfter = 732,
WaitingProcesses = 734,
Messages = 735,
LoopVars = 737,
ConcurrentAssertions = 740,
MatchItem = 741,
Member = 742,
Element = 743,
AssetItem = 744,
Instance = 745,
}Expand description
VPI object and relation kinds used with handle traversal APIs.
Values map directly to vpi_sys::vpi* constants.
Variants§
Always = 1
always procedure
AssignStmt = 2
quasi-continuous assignment
Assignment = 3
procedural assignment
Begin = 4
block statement
Case = 5
case statement
CaseItem = 6
case statement item
Constant = 7
numerical constant or string literal
ContAssign = 8
continuous assignment
Deassign = 9
deassignment statement
DefParam = 10
defparam
DelayControl = 11
delay statement (e.g., #10)
Disable = 12
named block disable statement
EventControl = 13
wait on event, e.g., @e
EventStmt = 14
event trigger, e.g., ->e
ForStmt = 15
for statement
Force = 16
force statement
Forever = 17
forever statement
Fork = 18
fork-join block
FuncCall = 19
function call
Function = 20
function
Gate = 21
primitive gate
IfStmt = 22
if statement
IfElse = 23
if–else statement
Initial = 24
initial procedure
IntegerVar = 25
integer variable
InterModPath = 26
intermodule wire delay
Iterator = 27
iterator
IODecl = 28
input/output declaration
Memory = 29
behavioral memory
MemoryWord = 30
single word of memory
ModPath = 31
module path for path delays
Module = 32
module instance
NamedBegin = 33
named block statement
NamedEvent = 34
event variable
NamedFork = 35
named fork-join block
Net = 36
scalar or vector net
NetBit = 37
bit of vector net
NullStmt = 38
a semicolon. Ie. #10 ;
Operation = 39
behavioral operation
ParamAssign = 40
module parameter assignment
Parameter = 41
module parameter
PartSelect = 42
part-select
PathTerm = 43
terminal of module path
Port = 44
module port
PortBit = 45
bit of vector module port
PrimTerm = 46
primitive terminal
RealVar = 47
real variable
Reg = 48
scalar or vector reg
RegBit = 49
bit of vector reg
Release = 50
release statement
Repeat = 51
repeat statement
RepeatControl = 52
repeat control in an assign stmt
SchedEvent = 53
vpi_put_value() event
SpecParam = 54
specparam
Switch = 55
transistor switch
SysFuncCall = 56
system function call
SysTaskCall = 57
system task call
TableEntry = 58
UDP state table entry
Task = 59
task
TaskCall = 60
task call
Tchk = 61
timing check
TchkTerm = 62
terminal of timing check
TimeVar = 63
time variable
TimeQueue = 64
simulation event queue
Udp = 65
user-defined primitive
UdpDefn = 66
UDP definition
UserSystf = 67
user-defined system task/function
VarSelect = 68
variable array selection
Wait = 69
wait statement
WhileStmt = 70
while statement
Condition = 71
condition expression
Delay = 72
net or gate delay
ElseStmt = 73
else statement
ForIncStmt = 74
increment statement in for loop
ForInitStmt = 75
initialization statement in for loop
HighConn = 76
higher connection to port
Lhs = 77
left-hand side of assignment
Index = 78
index of var select, bit-select, etc.
LeftRange = 79
left range of vector or part-select
LowConn = 80
lower connection to port
Parent = 81
parent object
Rhs = 82
right-hand side of assignment
RightRange = 83
right range of vector or part-select
Scope = 84
containing scope object
SysTfCall = 85
task function call
TchkDataTerm = 86
timing check data term
TchkNotifier = 87
timing check notifier
TchkRefTerm = 88
timing check reference term
Argument = 89
argument to (system) task/function
Bit = 90
bit of vector net or port
Driver = 91
driver for a net
InternalScope = 92
internal scope in module
Load = 93
load on net or reg
ModDataPathIn = 94
data terminal of a module path
ModPathIn = 95
Input terminal of a module path
ModPathOut = 96
output terminal of a module path
Operand = 97
operand of expression
PortInst = 98
connected port instance
Process = 99
process in module
Variables = 100
variables in module
Use = 101
usage
Expr = 102
connected expression
Primitive = 103
primitive (gate, switch, UDP)
Stmt = 104
statement in process or task
Attribute = 105
attribute of an object
BitSelect = 106
Bit-select of parameter, var select
Callback = 107
callback object
DelayTerm = 108
Delay term which is a load or driver
DelayDevice = 109
Delay object within a net
Frame = 110
reentrant task/func frame
GateArray = 111
gate instance array
ModuleArray = 112
module instance array
PrimitiveArray = 113
vpiprimitiveArray type
NetArray = 114
multidimensional net
Range = 115
range declaration
RegArray = 116
multidimensional reg
SwitchArray = 117
switch instance array
UdpArray = 118
UDP instance array
ActiveTimeFormat = 119
active $timeformat() system task
InTerm = 120
To get to a delay device’s drivers.
InstanceArray = 121
vpiInstance arrays
LocalDriver = 122
local drivers (within a module
LocalLoad = 123
local loads (within a module
OutTerm = 124
To get to a delay device’s loads.
Ports = 125
Module port
SimNet = 126
simulated net after collapsing
TaskFunc = 127
task/function
ContAssignBit = 128
Bit of a vector continuous assignment
NamedEventArray = 129
multidimensional named event
IndexedPartSelect = 130
Indexed part-select object
BaseExpr = 131
Indexed part-select’s base expression
WidthExpr = 132
Indexed part-select’s width expression
GenScopeArray = 133
array of generated scopes
GenScope = 134
A generated scope
GenVar = 135
Object used to instantiate gen scopes
Automatics = 136
Automatic variables of a frame
Package = 600
sv only.SystemVerilog package
Interface = 601
sv only.SystemVerilog interface
Program = 602
sv only.SystemVerilog program
InterfaceArray = 603
sv only.array of interface instances
ProgramArray = 604
sv only.array of program instances
Typespec = 605
sv only.type specification
Modport = 606
sv only.interface modport
InterfaceTfDecl = 607
sv only.interface task/function declaration
RefObj = 608
sv only.SystemVerilog ref object
TypeParameter = 609
sv only.SystemVerilog type parameter
LongIntVar = 610
sv only.long integer variable
ShortIntVar = 611
sv only.short integer variable
IntVar = 612
sv only.integer variable
ShortRealVar = 613
sv only.short real variable
ByteVar = 614
sv only.byte variable
ClassVar = 615
sv only.class variable
StringVar = 616
sv only.string variable
EnumVar = 617
sv only.enumeration variable
StructVar = 618
sv only.struct variable
UnionVar = 619
sv only.union variable
BitVar = 620
sv only.bit variable
ClassObj = 621
sv only.class object
ChandleVar = 622
sv only.chandle variable
PackedArrayVar = 623
sv only.packed array variable
VirtualInterfaceVar = 728
sv only.virtual interface variable
LongIntTypespec = 625
sv only.long int type specification
ShortRealTypespec = 626
sv only.short real type specification
ByteTypespec = 627
sv only.byte type specification
ShortIntTypespec = 628
sv only.short int type specification
IntTypespec = 629
sv only.int type specification
ClassTypespec = 630
sv only.class type specification
StringTypespec = 631
sv only.string type specification
ChandleTypespec = 632
sv only.chandle type specification
EnumTypespec = 633
sv only.enumeration type specification
EnumConst = 634
sv only.enumeration constant
IntegerTypespec = 635
sv only.integer type specification
TimeTypespec = 636
sv only.time type specification
RealTypespec = 637
sv only.real type specification
StructTypespec = 638
sv only.struct type specification
UnionTypespec = 639
sv only.union type specification
BitTypespec = 640
sv only.bit type specification
LogicTypespec = 641
sv only.logic type specification
ArrayTypespec = 642
sv only.array type specification
VoidTypespec = 643
sv only.void type specification
TypespecMember = 644
sv only.type specification member
PackedArrayTypespec = 692
sv only.packed array type specification
SequenceTypespec = 696
sv only.sequence type specification
PropertyTypespec = 697
sv only.property type specification
EventTypespec = 698
sv only.event type specification
InterfaceTypespec = 906
sv only.interface type specification
ClockingBlock = 650
sv only.clocking block
ClockingIODecl = 651
sv only.clocking block input/output declaration
ClassDefn = 652
sv only.class definition
Constraint = 653
sv only.constraint definition
ConstraintOrdering = 654
sv only.constraint ordering
DistItem = 645
sv only.distribution item
AliasStmt = 646
sv only.alias statement
Thread = 647
sv only.thread of execution
MethodFuncCall = 648
sv only.method function call
MethodTaskCall = 649
sv only.method task call
PropertyDecl = 655
sv only.property declaration
PropertySpec = 656
sv only.property specification
PropertyExpr = 657
sv only.property expression
MulticlockSequenceExpr = 658
sv only.multi-clock sequence expression
ClockedSeq = 659
sv only.clocked sequence
ClockedProp = 902
sv only.clocked property
PropertyInst = 660
sv only.property instantiation
SequenceDecl = 661
sv only.sequence declaration
CaseProperty = 662
sv only.property case statement
CasePropertyItem = 905
sv only.property case item
SequenceInst = 664
sv only.sequence instantiation
ImmediateAssert = 665
sv only.immediate assertion
ImmediateAssume = 694
sv only.immediate assume
ImmediateCover = 695
sv only.immediate cover
Return = 666
sv only.return statement
ReturnStmt = 691
sv only.return statement (1364-2005)
Assert = 686
sv only.concurrent assertion
Assume = 687
sv only.assume property
Cover = 688
sv only.cover property
Restrict = 901
sv only.restrict property
DisableCondition = 689
sv only.disable condition of assertion
ClockingEvent = 690
sv only.clocking event of assertion
AnyPattern = 667
sv only.any pattern
TaggedPattern = 668
sv only.tagged pattern
StructPattern = 669
sv only.struct pattern
DoWhile = 670
sv only.do-while loop
OrderedWait = 671
sv only.ordered wait statement
WaitFork = 672
sv only.wait fork statement
DisableFork = 673
sv only.disable fork statement
ExpectStmt = 674
sv only.expect statement
ForeachStmt = 675
sv only.foreach statement
Final = 676
sv only.final block
Extends = 677
sv only.extends declaration
Distribution = 678
sv only.distribution constraint
SeqFormalDecl = 679
sv only.sequence formal parameter declaration
PropFormalDecl = 699
sv only.property formal parameter declaration
EnumNet = 680
sv only.enumeration net
IntegerNet = 681
sv only.integer net
TimeNet = 682
sv only.time net
StructNet = 683
sv only.struct net
Break = 684
sv only.break statement
Continue = 685
sv only.continue statement
PackedArrayNet = 693
sv only.packed array net
SoftDisable = 733
sv only.soft constraint disable
ConstrIf = 738
sv only.constraint if statement
ConstrIfElse = 739
sv only.constraint if-else statement
ConstrForEach = 736
sv only.constraint foreach statement
LetDecl = 903
sv only.let declaration
LetExpr = 904
sv only.let expression
ConstraintExpr = 747
sv only.constraint expression
ElseConst = 748
sv only.else constant in constraint
Implication = 749
sv only.implication in constraint
ConstraintItem = 746
sv only.constraint item
Actual = 700
sv only.actual argument/port connection
TypedefAlias = 701
sv only.typedef alias
IndexTypespec = 702
sv only.index type specification
BaseTypespec = 703
sv only.base type specification
ElemTypespec = 704
sv only.element type specification
InputSkew = 706
sv only.input skew declaration
OutputSkew = 707
sv only.output skew declaration
GlobalClocking = 708
sv only.global clocking block
DefaultClocking = 709
sv only.default clocking block
DefaultDisableIff = 710
sv only.default disable if condition
Origin = 713
sv only.origin of typedef
Prefix = 714
sv only.prefix of type parameter
With = 715
sv only.with constraint
Property = 718
sv only.property relation
ValueRange = 720
sv only.value range constraint
Pattern = 721
sv only.pattern of constraint
Weight = 722
sv only.weight of distribution
Typedef = 725
sv only.typedef declaration
Import = 726
sv only.import declaration
DerivedClasses = 727
sv only.derived classes
Methods = 730
sv only.class methods
SolveBefore = 731
sv only.solve-before constraint ordering
SolveAfter = 732
sv only.solve-after constraint ordering
WaitingProcesses = 734
sv only.waiting processes
Messages = 735
sv only.messages
LoopVars = 737
sv only.loop variables
ConcurrentAssertions = 740
sv only.concurrent assertions
MatchItem = 741
sv only.match item in constraint
Member = 742
sv only.class member
Element = 743
sv only.array element
AssetItem = 744
sv only.assertion item
Instance = 745
sv only.module/program instance for 1-1 and 1-many
Trait Implementations§
Source§impl Clone for ObjectType
impl Clone for ObjectType
Source§fn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ObjectType
Source§impl Debug for ObjectType
impl Debug for ObjectType
Source§impl FromPrimitive for ObjectType
impl FromPrimitive for ObjectType
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl ToPrimitive for ObjectType
impl ToPrimitive for ObjectType
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
self to an i64. If the value cannot be
represented by an i64, then None is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
self to a u64. If the value cannot be
represented by a u64, then None is returned.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
self to an isize. If the value cannot be
represented by an isize, then None is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
self to an i8. If the value cannot be
represented by an i8, then None is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
self to an i16. If the value cannot be
represented by an i16, then None is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
self to an i32. If the value cannot be
represented by an i32, then None is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
self to a usize. If the value cannot be
represented by a usize, then None is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
self to a u8. If the value cannot be
represented by a u8, then None is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
self to a u16. If the value cannot be
represented by a u16, then None is returned.Source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
self to a u32. If the value cannot be
represented by a u32, then None is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read more