Sha256: e0603c2a489f75536fbb419c7893ba04a4ba3514d00ba312236d30ce56ee1b51

Contents?: true

Size: 627 Bytes

Versions: 4

Compression:

Stored size: 627 Bytes

Contents

Pattern.create(options={:name => "transaction_test"})do
  $dut.jtag.reset
  $dut.jtag.idle
  ss "reading Halo debugger ID - setting correct compare value"
  result = tester.transaction do 
    $dut.reg(:testreg).read(0x5ba00477)
    $dut.jtag.read_dr $dut.reg(:testreg), size: 32
  end
  result_comment =  "transaction result: #{result}"
  ss result_comment
  
  ss "reading Halo debugger ID - setting wrong compare value"
  result = tester.transaction do
    $dut.reg(:testreg).read(0x5bd00477)
    $dut.jtag.read_dr $dut.reg(:testreg), size: 32
  end
  result_comment = "transaction result: #{result}"
  ss result_comment
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
origen_link-0.4.4 pattern/transaction_test.rb
origen_link-0.4.3 pattern/transaction_test.rb
origen_link-0.2.0.pre0 pattern/transaction_test.rb
origen_link-0.1.2 pattern/transaction_test.rb