Sha256: e9263f139a55143143fc0d6a6fc947d8495e8125f8023b13bb2f7309a20fb12f

Contents?: true

Size: 665 Bytes

Versions: 20

Compression:

Stored size: 665 Bytes

Contents

module <%= @namespace %>Dev
  # This is a dummy DUT controller that should be used to test that your test module can
  # integrate into a top-level app
  class DUTController
    def startup(options = {})
      tester.set_timeset('func_25', 40)
      ss 'Startup the SoC'
      pin(:resetb).drive!(0)
      100.cycles
      pin(:resetb).dont_care
    end

    def shutdown(options = {})
      ss 'Shutdown the SoC'
      pin(:resetb).drive!(0)
    end

    def write_register(reg, options = {})
      arm_debug.mem_ap.write_register(reg, options)
    end

    def read_register(reg, options = {})
      arm_debug.mem_ap.read_register(reg, options)
    end
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
origen-0.44.0 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.43.0 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.42.2 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.42.1 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.42.0 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.41.2 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.41.1 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.41.0 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.40.2 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.40.1 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen-0.40.0 origen_app_generators/templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.2.0 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.1.4 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.1.3 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.1.2 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.1.1 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.1.0 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.0.1 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-1.0.0 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb
origen_app_generators-0.4.0 templates/app_generators/test_engineering/test_block/lib_dev/dut_controller.rb