Sha256: de5a9e523887b964529c3d19f14313fa03a3872fd8a9f3298481842d597ad84b

Contents?: true

Size: 695 Bytes

Versions: 12

Compression:

Stored size: 695 Bytes

Contents

module OrigenARMDebugDev
  # Simple SWD-specific dut model that inherits from protocol-agnostic DUT model
  class SWD_DUT < DUT
    include OrigenSWD

    # Adds swd-required pins to the simple dut model
    # Returns nothing.
    def initialize
      super
      add_pin :tclk
      add_pin :tdi
      add_pin :tdo
      add_pin :tms
      add_pin :trst
      add_pin :swd_clk
      add_pin :swd_dio

      sub_block :arm_debug, class_name: 'OrigenARMDebug::DAP',
                            mem_aps:    {
                              mem_ap: { base_address: 0x00000000, csw_reset: 0x23000042 },
                              mdm_ap: 0x01000000
                            }
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
origen_arm_debug-1.3.1 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.3.0 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.2.0 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.1.4 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.1.3 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.1.2 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.1.1 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.1.0 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.0.2 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.0.1 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.0.0 lib/origen_arm_debug_dev/dut_swd.rb
origen_arm_debug-1.0.0.pre1 lib/origen_arm_debug_dev/dut_swd.rb