Sha256: 7a9d6a85d5a0a7ce4d4ce7732e6b400c9915c7fbd2072c7e12484c0ef37cbc3a

Contents?: true

Size: 298 Bytes

Versions: 23

Compression:

Stored size: 298 Bytes

Contents

module <%= @namespace %>
  class <%= @options[:name] %>Controller
    include Origen::Controller

    def do_something
      # The config register is defined in the corresponding model
      config.mode.write!(0x14)
      tester.wait(time_in_us: 100)
      config.secure.read!(0)
    end
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
origen_app_generators-0.3.2 templates/app_generators/test_engineering/test_block/lib/controller.rb
origen_app_generators-0.3.1 templates/app_generators/test_engineering/test_block/lib/controller.rb
origen_app_generators-0.3.0 templates/app_generators/test_engineering/test_block/lib/controller.rb