class OrigenARMDebugDev::SWD_DUT
Simple SWD-specific dut model that inherits from protocol-agnostic DUT
model
Public Class Methods
new()
click to toggle source
Adds swd-required pins to the simple dut model Returns nothing.
Calls superclass method
OrigenARMDebugDev::DUT::new
# File lib/origen_arm_debug_dev/dut_swd.rb, line 8 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