v_sim.PairWire¶
- Implementations:
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
wire stipple |
||
r/w |
wire width |
Signals¶
None
Fields¶
None
Class Details¶
- class v_sim.PairWire¶
- Bases:
- Structure:
Interface object.
New in version 3.8.
- classmethod getDefaultStipple()¶
- Returns:
the default stipple pattern.
- Return type:
Retrieves the default stipple pattern.
New in version 3.8.
- classmethod getDefaultWidth()¶
- Returns:
the default width.
- Return type:
Retrieves the default width.
New in version 3.8.
- getStipple()¶
- Returns:
a line pattern (default is 65535).
- Return type:
Get the line pattern of self.
- getWidth()¶
- Returns:
the width of the given pair.
- Return type:
Get the width of the given pair self. If the given pair has no specific width, the defaul value is returned.
- setStipple(stipple)¶
- Parameters:
stipple (
int) – a pattern.- Returns:
Trueif the value is different from previous.- Return type:
Change the line pattern of self.
- setWidth(val)¶
- Parameters:
val (
int) – a positive integer.- Returns:
Trueif the value is different from previous.- Return type:
This method allows to change the width of line for a specific pair. When a pair is rendered via with a line, it first checks if that pairs has a specific width value set by this method. If not, it uses the default value.
- do_set_stipple(val) virtual¶
-
a method to change the stipple scheme of drawn wire
v_sim.PairLink.
- do_set_width(val) virtual¶
-
a method to change the width of drawn wire
v_sim.PairLink.
Property Details¶
- v_sim.PairWire.props.stipple¶
-
wire stipple