origen_jtag 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02b837da449c42cd29928bf58d3f793a1e9f7e45
4
- data.tar.gz: 671bab411d61f7b7b14e1a9bc52c88b4f27345f6
3
+ metadata.gz: 9dbecdacc92743469c85938ba80bdb6314e4f366
4
+ data.tar.gz: d36ea9459ef965f61e5d1ca063067a3c44cb9110
5
5
  SHA512:
6
- metadata.gz: c8b11e4b45bf3d52e6c2044c5e92c13b2b5bce3e7a97d0a27d97dc613fedbdca7fd403c23e614bc2d4a326a480c7e5766ab8c10b1f8cfb69890a6d4fc8db5b81
7
- data.tar.gz: eceb297fc81700389c1edef3f99b5574a4019240c934366bf5b25eb918824b9daf0ce3dc909cff4da95e51c3d8bb0a59b1fe7ac9a0b246834b0457247cc0a89f
6
+ metadata.gz: ba9368d6fcf22c79128e56ff390825e0d73b89d716c81e2c3a66a1be1e4073dc085b37cfad492d49d82b9f4e51c493a970b16b6568044f4fe101b6ae07d8d60c
7
+ data.tar.gz: ef625c031b70f9651b2e514d431162251879afa6fab7273d6f5ee654c220dce403d47a6c0e925a5c21bfa69741445da4cafd4ebcb838355eadb8ba01230a0456
data/config/version.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module OrigenJTAG
2
2
  MAJOR = 0
3
- MINOR = 14
3
+ MINOR = 15
4
4
  BUGFIX = 0
5
5
  DEV = nil
6
6
 
@@ -198,6 +198,7 @@ module OrigenJTAG
198
198
  owner.pin(:tdo).dont_care
199
199
  else
200
200
  @deferred_compare = true
201
+ @deferred_store = true if store_tdo_this_tclk
201
202
  end
202
203
  end
203
204
  end
@@ -291,7 +292,18 @@ module OrigenJTAG
291
292
  owner.pin(:tdo).dont_care
292
293
  end
293
294
 
295
+ if @deferred_store
296
+ @deferred_store = nil
297
+ store_tdo_this_tclk = true
298
+ else
299
+ store_tdo_this_tclk = false
300
+ end
301
+ @next_data_vector_to_be_stored = false
302
+
294
303
  tclk_cycle do
304
+ if store_tdo_this_tclk && @next_data_vector_to_be_stored
305
+ Origen.tester.store_next_cycle(owner.pin(:tdo))
306
+ end
295
307
  owner.pin(:tms).drive!(val)
296
308
  end
297
309
  end
@@ -164,12 +164,19 @@ Pattern.create(options = { name: pat_name }) do
164
164
  jtag.write_dr 0xFFFF, size: 16, shift_out_data: 0xAAAA, msg: 'Write value into DR'
165
165
 
166
166
  test 'Write register into DR with full-width overlay'
167
- r = $dut.reg(:test32).overlay('write_overlay')
167
+ r = $dut.reg(:test32)
168
+ r.overlay('write_overlay')
168
169
  jtag.write_dr r
170
+ r.overlay(nil)
169
171
 
170
172
  test 'Read value out of DR'
171
173
  jtag.read_dr 0xFFFF, size: 16, msg: 'Read value out of DR'
172
174
 
175
+ test 'Store value out of DR'
176
+ r.store
177
+ jtag.read_dr r
178
+
179
+
173
180
  test 'Read value out of DR, with specified shift in data into TDI'
174
181
  jtag.read_dr 0xFFFF, size: 16, shift_in_data: 0x5555, msg: 'Read value out of DR'
175
182
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_jtag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen McGinty
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-28 00:00:00.000000000 Z
11
+ date: 2017-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen