Module: OrigenTesters::SmartestBasedTester

Extended by:
Decompiler::API
Defined in:
lib/origen_testers/smartest_based_tester.rb,
lib/origen_testers/smartest_based_tester/base.rb,
lib/origen_testers/smartest_based_tester/smt7.rb,
lib/origen_testers/smartest_based_tester/smt8.rb,
lib/origen_testers/smartest_based_tester/v93k.rb,
lib/origen_testers/smartest_based_tester/base/flow.rb,
lib/origen_testers/smartest_based_tester/v93k/flow.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8.rb,
lib/origen_testers/smartest_based_tester/decompiler.rb,
lib/origen_testers/smartest_based_tester/v93k/builder.rb,
lib/origen_testers/smartest_based_tester/base/generator.rb,
lib/origen_testers/smartest_based_tester/decompiler/avc.rb,
lib/origen_testers/smartest_based_tester/v93k/generator.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/flow.rb,
lib/origen_testers/smartest_based_tester/base/test_suite.rb,
lib/origen_testers/smartest_based_tester/v93k/test_suite.rb,
lib/origen_testers/smartest_based_tester/base/limits_file.rb,
lib/origen_testers/smartest_based_tester/base/test_method.rb,
lib/origen_testers/smartest_based_tester/base/test_suites.rb,
lib/origen_testers/smartest_based_tester/decompiler/nodes.rb,
lib/origen_testers/smartest_based_tester/v93k/limits_file.rb,
lib/origen_testers/smartest_based_tester/v93k/test_method.rb,
lib/origen_testers/smartest_based_tester/v93k/test_suites.rb,
lib/origen_testers/smartest_based_tester/base/test_methods.rb,
lib/origen_testers/smartest_based_tester/v93k/builder/flow.rb,
lib/origen_testers/smartest_based_tester/v93k/test_methods.rb,
lib/origen_testers/smartest_based_tester/base/pattern_master.rb,
lib/origen_testers/smartest_based_tester/base/variables_file.rb,
lib/origen_testers/smartest_based_tester/v93k/pattern_master.rb,
lib/origen_testers/smartest_based_tester/v93k/variables_file.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/generator.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/shmoo_test.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/test_suite.rb,
lib/origen_testers/smartest_based_tester/base/pattern_compiler.rb,
lib/origen_testers/smartest_based_tester/v93k/pattern_compiler.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/limits_file.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/shmoo_tests.rb,
lib/origen_testers/smartest_based_tester/base/test_methods/ac_tml.rb,
lib/origen_testers/smartest_based_tester/base/test_methods/dc_tml.rb,
lib/origen_testers/smartest_based_tester/base/test_methods/limits.rb,
lib/origen_testers/smartest_based_tester/v93k_smt8/limits_workbook.rb,
lib/origen_testers/smartest_based_tester/base/test_methods/base_tml.rb,
lib/origen_testers/smartest_based_tester/v93k/builder/pattern_master.rb,
lib/origen_testers/smartest_based_tester/base/test_methods/custom_tml.rb,
lib/origen_testers/smartest_based_tester/base/processors/extract_bin_names.rb,
lib/origen_testers/smartest_based_tester/base/processors/extract_flow_vars.rb

Defined Under Namespace

Modules: Decompiler, SMT7, SMT8 Classes: Base, Pattern, V93K, V93K_SMT8

Class Method Summary collapse

Methods included from Decompiler::API

add_pins, convert, decompile, decompile_text, decompiled_pattern, decompiler_for?, execute, register_decompiler, registered_decompiler?, registered_decompilers, select_decompiler, select_decompiler!, verify_decompiler_mod!

Class Method Details

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



3
4
5
6
7
8
9
# File 'lib/origen_testers/smartest_based_tester/decompiler.rb', line 3

def self.suitable_decompiler_for(pattern: nil, tester: nil, **options)
  if pattern && (Pathname(pattern).extname == '.avc')
    OrigenTesters::SmartestBasedTester::Pattern
  elsif tester && tester == 'v93k'
    OrigenTesters::SmartestBasedTester::Pattern
  end
end