Sha256: 821382ba67ae77d440b5440b30c8e8139fa5b5557957323f6eab8a82cbea776a

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

Pattern.create do

  ss "Test write register, should write value 0xFF01"
  $dut.reg(:test).write!(0xFF01)
  ss "Test read register, should read value 0xFF01"
  $dut.reg(:test).read!
  ss "Test bit level read, should read value 0xXXXxxx1"
  $dut.reg(:test).bit(:bit).read!


  $dut.read_register($dut.reg(:test))
  $dut.write_register($dut.reg(:test), 0xFF02)

  $dut.arm_debug.mem_ap.R(0x10000004, 0x00000000)
  $dut.arm_debug.mem_ap.W(0x10000004, 0x55555555)
  $dut.arm_debug.mem_ap.WR(0x10000004, 0x55555555)

  $dut.arm_debug.mem_ap.inspect
  $dut.arm_debug.mdm_ap.inspect
  $dut.arm_debug.alt_ahbapi.inspect
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
origen_arm_debug-0.6.0 pattern/read_write_reg.rb
origen_arm_debug-0.4.3 pattern/read_write_reg.rb