#[repr(i32)]pub enum Property {
Show 120 variants
Undefined = -1,
Type = 1,
Name = 2,
FullName = 3,
Size = 4,
File = 5,
LineNo = 6,
TopModule = 7,
CellInstance = 8,
DefName = 9,
Protected = 10,
TimeUnit = 11,
TimePrecision = 12,
DefNetType = 13,
UnconnDrive = 14,
DefFile = 15,
DefLineNo = 16,
Scalar = 17,
Vector = 18,
ExplicitName = 19,
Direction = 20,
ConnByName = 21,
NetType = 22,
ExplicitScalared = 23,
ExplicitVectored = 24,
Expanded = 25,
ImplicitDecl = 26,
ChargeStrength = 27,
Array = 28,
PortIndex = 29,
TermIndex = 30,
Strength0 = 31,
Strength1 = 32,
PrimType = 33,
Polarity = 34,
DataPolarity = 35,
Edge = 36,
PathType = 37,
TchkType = 38,
OpType = 39,
ConstType = 40,
Blocking = 41,
CaseType = 42,
NetDeclAssign = 43,
FuncType = 44,
UserDefn = 45,
Scheduled = 46,
DefDelayMode = 47,
DefDecayTime = 48,
Active = 49,
Automatic = 50,
Cell = 51,
Config = 52,
ConstantSelect = 53,
Decompile = 54,
DefAttribute = 55,
DelayType = 56,
IteratorType = 57,
Library = 58,
MultiArray = 59,
Offset = 60,
Resolved = 61,
SaveRestartID = 62,
SaveRestartLocation = 63,
Valid = 64,
Signed = 65,
Stop = 66,
Finish = 67,
Reset = 68,
SetInteractiveScope = 69,
LocalParam = 70,
ModPathHasIfNone = 71,
IndexedPartSelectType = 72,
IsMemory = 73,
IsProtected = 74,
Top = 600,
Unit = 602,
JoinType = 603,
AccessType = 604,
ArrayType = 606,
ArrayMember = 607,
IsRandomized = 608,
LocalVarDecls = 609,
RandType = 610,
PortType = 611,
ConstantVariable = 612,
StructUnionMember = 615,
Visibility = 620,
AlwaysType = 624,
DistType = 625,
Packed = 630,
Tagged = 632,
Virtual = 635,
HasActual = 636,
IsConstraintEnabled = 638,
Soft = 639,
ClassType = 640,
Method = 645,
IsClockInferred = 649,
Qualifier = 650,
InputEdge = 651,
OutputEdge = 652,
Generic = 653,
CompatibilityMode = 654,
PackedArrayMember = 655,
OpStrong = 656,
IsDeferred = 657,
AllocScheme = 658,
IsCoverSequence = 659,
ObjId = 660,
StartLine = 661,
Column = 662,
EndLine = 663,
EndColumn = 664,
DPIPure = 665,
DPIContext = 666,
DPICStr = 667,
DPICIdentifier = 668,
IsModPort = 669,
IsFinal = 670,
}Expand description
VPI property identifiers used with vpi_get and vpi_get_str.
Values map directly to vpi_sys::vpi* property constants.
Variants§
Undefined = -1
-1: undefined property
Type = 1
1: type of object
Name = 2
2: local name of object
FullName = 3
3: full hierarchical name
Size = 4
4: size of gate, net, port, etc.
File = 5
5: file name in which object is used
LineNo = 6
6: line number where object is used
TopModule = 7
7: top-level module (boolean)
CellInstance = 8
8: cell (boolean)
DefName = 9
9: module definition name
Protected = 10
10: source protected module (boolean)
TimeUnit = 11
11: module time unit
TimePrecision = 12
12: module time precision
DefNetType = 13
13: default net type
UnconnDrive = 14
14: unconnected port drive strength
DefFile = 15
15: file name where module is defined
DefLineNo = 16
16: line number for module definition
Scalar = 17
17: scalar (boolean)
Vector = 18
18: vector (boolean)
ExplicitName = 19
19: port is explicitly named (boolean)
Direction = 20
20: direction of port
ConnByName = 21
21: connected by name (boolean)
NetType = 22
22: net subtypes
ExplicitScalared = 23
23: explicitly scalared (boolean)
ExplicitVectored = 24
24: explicitly vectored (boolean)
Expanded = 25
25: expanded vector net (boolean)
ImplicitDecl = 26
26: implicitly declared net (boolean)
ChargeStrength = 27
27: charge decay strength of net
Array = 28
28: variable array (boolean)
PortIndex = 29
29: port index
TermIndex = 30
30: index of primitive terminal
Strength0 = 31
31: 0-strength of net or gate
Strength1 = 32
32: 1-strength of net or gate
PrimType = 33
33: primitive subtypes
Polarity = 34
34: polarity of module path
DataPolarity = 35
35: data path polarity
Edge = 36
36: edge type of module path
PathType = 37
37: path delay connection subtypes
TchkType = 38
38: timing check subtypes
OpType = 39
39: operation subtypes (see OpType enum)
ConstType = 40
40: constant subtypes
Blocking = 41
41: blocking assignment (boolean)
CaseType = 42
42: case statement subtypes
NetDeclAssign = 43
43: assign part of decl (boolean)
FuncType = 44
44: HDL function & system function type
UserDefn = 45
45: user-defined system task/func (boolean)
Scheduled = 46
46: object still scheduled (boolean)
DefDelayMode = 47
47: default delay mode for a module
DefDecayTime = 48
48: default decay time for a module
Active = 49
49: reentrant task/func frame is active
Automatic = 50
50: task/func object is automatic
Cell = 51
51: configuration cell
Config = 52
52: configuration config file
ConstantSelect = 53
53: bit-select/part-select indices are constant
Decompile = 54
54: decompile the object
DefAttribute = 55
55: attribute defined for the object
DelayType = 56
56: delay subtype
IteratorType = 57
57: object type of an iterator
Library = 58
58: configuration library
MultiArray = 59
59: object is a multidimensional array
Offset = 60
60: offset from LSB
Resolved = 61
61: net subtype after resolution
SaveRestartID = 62
62: unique ID for save/restart data
SaveRestartLocation = 63
63: name of save/restart data file
Valid = 64
64: reentrant task/func frame is valid
Signed = 65
65: true for signed objects
Stop = 66
66: execute simulator’s $stop, control operation
Finish = 67
67: execute simulator’s $finish, control operation
Reset = 68
68: execute simulator’s $reset, control operation
SetInteractiveScope = 69
69: set simulator’s interactive scope
LocalParam = 70
70: true when a param is declared as localparam
ModPathHasIfNone = 71
71: Mod path has an ifnone statement
IndexedPartSelectType = 72
72: Indexed part-select type
IsMemory = 73
73: TRUE for a one-dimensional reg array
IsProtected = 74
74: TRUE for protected design information
Top = 600
sv only.600: top-level module
Unit = 602
sv only.602: design unit (package, module, etc.)
JoinType = 603
sv only.603: join type of fork-join block
AccessType = 604
sv only.604: access type (fork-join, extern, DPI)
ArrayType = 606
sv only.606: array type (static, dynamic, associative, queue)
ArrayMember = 607
sv only.607: array member
IsRandomized = 608
sv only.608: object is randomized
LocalVarDecls = 609
sv only.609: local variable declarations
RandType = 610
sv only.610: randomization type (rand, randc, not_rand)
PortType = 611
sv only.611: interface or modport port type
ConstantVariable = 612
sv only.612: variable is a constant
StructUnionMember = 615
sv only.615: struct/union member
Visibility = 620
sv only.620: visibility of class member (public, protected, local)
AlwaysType = 624
sv only.624: always block type (always_comb, always_ff, always_latch)
DistType = 625
sv only.625: distribution constraint type
Packed = 630
sv only.630: data is packed
Tagged = 632
sv only.632: tagged union or type
Virtual = 635
sv only.635: class is virtual
HasActual = 636
sv only.636: class has actual object
IsConstraintEnabled = 638
sv only.638: constraint is enabled
Soft = 639
sv only.639: constraint is soft
ClassType = 640
sv only.640: type of built-in class
Method = 645
sv only.645: is a class method
IsClockInferred = 649
sv only.649: clock is inferred
Qualifier = 650
sv only.650: qualifier for case/priority
InputEdge = 651
sv only.651: input edge type
OutputEdge = 652
sv only.652: output edge type
Generic = 653
sv only.653: is generic module
CompatibilityMode = 654
sv only.654: compatibility mode
PackedArrayMember = 655
sv only.655: packed array member
OpStrong = 656
sv only.656: strength of temporal operator
IsDeferred = 657
sv only.657: deferred assertion
AllocScheme = 658
sv only.658: memory allocation scheme
IsCoverSequence = 659
sv only.659: is a cover sequence
ObjId = 660
sv only.660: unique object ID
StartLine = 661
sv only.661: start line number
Column = 662
sv only.662: column number
EndLine = 663
sv only.663: end line number
EndColumn = 664
sv only.664: end column number
DPIPure = 665
sv only.665: DPI pure function
DPIContext = 666
sv only.666: DPI context function
DPICStr = 667
sv only.667: DPI C string handling
DPICIdentifier = 668
sv only.668: DPI C identifier
IsModPort = 669
sv only.669: is a module port
IsFinal = 670
sv only.670: is a final block
Implementations§
Source§impl Property
impl Property
Sourcepub const SysFuncType: Self = Property::FuncType
pub const SysFuncType: Self = Property::FuncType
Alias retained for compatibility with legacy naming.
Trait Implementations§
impl Eq for Property
Source§impl FromPrimitive for Property
impl FromPrimitive for Property
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 moreimpl StructuralPartialEq for Property
Source§impl ToPrimitive for Property
impl ToPrimitive for Property
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