Sha256: cce159597f0272feb99aec01f8bfcf05dfe7730c269a065e7ac5ebf4c66fb241

Contents?: true

Size: 1.01 KB

Versions: 4

Compression:

Stored size: 1.01 KB

Contents

module OrigenARMDebugDev
  # Simple JTAG-specific dut model that inherits from protocol-agnostic DUT model
  class JTAG_DUT < DUT
    include OrigenJTAG

    # Adds jtag-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

      # Specify (customize) ARM Debug implementation details
      sub_block :arm_debug, class_name: 'OrigenARMDebug::DAP',
                            mem_aps:    {
                              mem_ap: {
                                base_address:      0x00000000,
                                latency:           16,
                                apreg_access_wait: 8,
                                apmem_access_wait: 8,
                                csw_reset:         0x23000040
                              },
                              mdm_ap: 0x01000000
                            }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_arm_debug-1.0.2 lib/origen_arm_debug_dev/dut_jtag.rb
origen_arm_debug-1.0.1 lib/origen_arm_debug_dev/dut_jtag.rb
origen_arm_debug-1.0.0 lib/origen_arm_debug_dev/dut_jtag.rb
origen_arm_debug-1.0.0.pre1 lib/origen_arm_debug_dev/dut_jtag.rb