Sha256: a6bd7a844a19ef10a712bea0f30115e3fd11d5e1ce6731c56a267e69869f46ad
Contents?: true
Size: 746 Bytes
Versions: 1
Compression:
Stored size: 746 Bytes
Contents
module <%= @namespace %>Dev # This is a dummy DUT class that should be used to test that your test module can # integrate into a top-level app class DUT include Origen::TopLevel def initialize(options = {}) instantiate_pins(options) instantiate_sub_blocks(options) end def instantiate_pins(options) add_pin :tclk add_pin :tdi add_pin :tdo add_pin :tms add_pin :resetb end def instantiate_sub_blocks(options) sub_block :arm_debug, class_name: 'OrigenARMDebug::Driver', aps: { mem_ap: 0x0, mdmap: 0x0100_0000 } sub_block :<%= options[:sub_block_name] %>, class_name: '<%= @namespace %>::<%= options[:class_name] %>', base_address: 0x1000_0000 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
origen_app_generators-0.3.2 | templates/app_generators/test_engineering/test_block/lib_dev/dut.rb |