Sha256: 8aea6b971566b135c606399da673fc85a1a6060661c77643a8423a712dd309e3

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 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)

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
origen_arm_debug-0.4.2 pattern/read_write_reg.rb