_origen.dut.pins¶
Implements the module _origen.pins in Python
Classes¶
Pin: Undocumented.PinContainer: Undocumented.PinGroup: Undocumented.PinCollection: Undocumented.PinHeader: Undocumented.PinHeaderContainer: Undocumented.PinActions: Represents a pin group/collection’s action string.
-
class
_origen.dut.pins.Pin¶ -
action¶
-
add_metadata()¶
-
added_metadata¶
-
aliases¶
-
data¶
-
get_metadata()¶
-
groups¶
-
name¶
-
reset_action¶
-
reset_data¶
-
set_metadata()¶
-
-
class
_origen.dut.pins.PinGroup¶ -
actions¶
-
big_endian¶
-
capture()¶
-
cycle()¶
-
drive()¶
-
highz()¶
-
little_endian¶
-
name¶
-
pin_names¶
-
repeat()¶
-
reset()¶
-
reset_actions¶
-
set_actions()¶
-
verify()¶
-
width¶
-
-
class
_origen.dut.pins.PinCollection¶ -
actions¶
-
big_endian¶
-
capture()¶
-
cycle()¶
-
drive()¶
-
highz()¶
-
little_endian¶
-
pin_names¶
-
repeat()¶
-
reset()¶
-
reset_actions¶
-
set_actions()¶
-
verify()¶
-
width¶
-
-
class
_origen.dut.pins.PinActions¶ Represents a pin group/collection’s action string. Customized the data structure to display and index as a “number” Using
strvalues, this would lead to indexing requiring reversing the return value (or vice versa)>> pin.data = 0xC >> pins.actions = “VVVV”
- >> pins.actions
=> HHLL
- >> pins.actions[0]
=> L
- >> str(pins.actions)
=> “HHLL”
- >> str(pins.actions)[0]
=> “H”
Note that this represents the pin values at that instant and will not reflect changes that occur to the underlying pins:
# From the above state = pins.actions #=> HHLL
pins.data = "0xF" pins.drive() pins.actions #=> "1111"
- >> state
=> HHLL
-
Capture()¶
-
DriveHigh()¶
-
DriveLow()¶
-
HighZ()¶
-
Multichar()¶
-
VerifyHigh()¶
-
VerifyLow()¶
-
all_standard¶
-
standard_actions()¶