Class: OrigenTesters::IGXLBasedTester::Decompiler::Atp::Vector
Constant Summary
collapse
- PLATFORM_NODES =
[:opcode, :opcode_arguments]
Instance Attribute Summary
#comment, #pin_states, #timeset
#context, #type
Instance Method Summary
collapse
#execute!
#execute?, inherited, #platform_nodes
Constructor Details
#initialize(**options) ⇒ Vector
8
9
10
11
12
|
# File 'lib/origen_testers/igxl_based_tester/decompiler/nodes.rb', line 8
def initialize(**options)
@opcode = options[:opcode]
@opcode_arguments = options[:opcode_arguments] || []
super(repeat: false, **options)
end
|
Instance Method Details
#opcode ⇒ Object
18
19
20
|
# File 'lib/origen_testers/igxl_based_tester/decompiler/nodes.rb', line 18
def opcode
@opcode
end
|
#opcode_arguments ⇒ Object
22
23
24
|
# File 'lib/origen_testers/igxl_based_tester/decompiler/nodes.rb', line 22
def opcode_arguments
@opcode_arguments
end
|
#repeat ⇒ Object
14
15
16
|
# File 'lib/origen_testers/igxl_based_tester/decompiler/nodes.rb', line 14
def repeat
opcode == 'repeat' ? opcode_arguments.first.to_i : 1
end
|