_origen.dut.pins#

Classes#

class _origen.dut.pins.Pin#
action#
add_metadata(id_str, obj)#
added_metadata#
aliases#
data#
get_metadata(id_str)#
groups#
name#
reset_action#
reset_data#
set_metadata(id_str, obj)#
class _origen.dut.pins.PinContainer#
collect(*names, **options)#
get(name)#
items()#
keys()#
pin_names#
values()#
class _origen.dut.pins.PinGroup#
actions#
apply_actions(actions, **kwargs)#
big_endian#
capture(symbol=None, cycles=None, mask=None)#
cycle(**kwargs)#
drive(data, **kwargs)#
highz()#
little_endian#
name#
overlay(label=None, symbol=None, cycles=None, mask=None)#
pin_names#
repeat(count)#
reset()#
reset_actions#
set_actions(actions, **kwargs)#
verify(data, **kwargs)#
width#
class _origen.dut.pins.PinCollection#
actions#
apply_actions(actions, **kwargs)#
big_endian#
capture(symbol=None, cycles=None, mask=None)#
cycle(**kwargs)#
drive(data)#
highz()#
little_endian#
overlay(label=None, symbol=None, cycles=None, mask=None)#
pin_names#
repeat(count)#
reset()#
reset_actions#
set_actions(actions, **kwargs)#
verify(data)#
width#
class _origen.dut.pins.PinHeader#
name#
physical_names#
pin_names#
width#
class _origen.dut.pins.PinHeaderContainer#
get(name)#
items()#
keys()#
values()#
class _origen.dut.pins.PinActions(*actions, **_kwargs)#

Represents a pin group/collection’s action string. Customized the data structure to display and index as a “number” Using str values, 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

classmethod Capture()#
classmethod DriveHigh()#
classmethod DriveLow()#
classmethod HighZ()#
classmethod Multichar(symbol)#
classmethod VerifyHigh()#
classmethod VerifyLow()#
all_standard#
classmethod standard_actions()#