Module: OrigenTesters::Test::Decompiler::DummyWithDecompiler

Defined in:
lib/origen_testers/test/dummy_decompiler.rb

Class Method Summary collapse

Class Method Details

.suitable_decompiler_for(pattern: nil, tester: nil, **options) ⇒ Object


93
94
95
96
97
98
99
# File 'lib/origen_testers/test/dummy_decompiler.rb', line 93

def self.suitable_decompiler_for(pattern: nil, tester: nil, **options)
  if pattern && (Pathname(pattern).extname == '.atp')
    OrigenTesters::IGXLBasedTester
  elsif tester && (tester == 'j750' || tester == 'uflex' || tester == 'ultraflex')
    OrigenTesters::IGXLBasedTester
  end
end