Sha256: fe01640431dd4b025724c66c06329c1c4c7d227fac3191b6b83bf5183026d027

Contents?: true

Size: 613 Bytes

Versions: 2

Compression:

Stored size: 613 Bytes

Contents

Pattern.create(name: "test_store") do
  tester.capture_style = :digcap
  # configure tdo to non-default settings
  tester.capture_memory :digcap do |mem|
    mem.pin :tdo, size: 8
  end

  tester.cycle

  dut.pin(:tclk).drive(1)
  dut.pin(:tdi).drive(1)
  dut.pin(:tdo).assert(1)
  dut.pin(:tms).drive(1)
  
  cc 'should get a repeat 5 vector'
  tester.cycle repeat: 5
  tester.cycle
  tester.store(dut.pin(:tdo))
  
  tester.cycle
  tester.cycle
  
  dut.pin(:tclk).drive(0)
  tester.store!(dut.pin(:tdo))
  tester.cycle
  tester.cycle
  tester.store!(dut.pin(:pa))
  tester.cycle
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
origen_testers-0.13.2 pattern/tester_store.rb
origen_testers-0.10.0 pattern/tester_store.rb