Top Level Namespace
Defined Under Namespace
Modules: Origen, OrigenTesters, Tester
Constant Summary collapse
- ENVIRONMENTS =
{ j750: OrigenTesters::J750, uflex: OrigenTesters::UltraFLEX, v93k_smt7: OrigenTesters::V93K }.with_indifferent_access
- ATP =
OrigenTesters::ATP
Instance Method Summary collapse
Instance Method Details
#converter(file, options = {}) ⇒ Object
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
# File 'lib/commands/convert.rb', line 69 def converter(file, = {}) if OrigenTesters.decompiler_for?(file) lambda do OrigenTesters.execute(file) end else snippet = IO.read(file, 2000) # Read first 2000 characters case snippet when /STIL \d+\.\d+/ lambda do STIL.add_pins(file) # Use raw pin names in the output pattern and not the ALL pin group or similar, maybe # make this an option in future though dut.pin_pattern_order(*dut.pins.map { |id, pin| id }) STIL.execute(file, set_timesets: true) end else Origen.log.error "Unknown input format for file: #{file}" nil end end end |