origen_jtag 0.22.0 → 0.22.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/version.rb +1 -1
- data/lib/origen_jtag/driver.rb +9 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2fc35840e8e533688ae4f9228d3136022e8ce7d117452d91d48a8b782bc2e5c
|
4
|
+
data.tar.gz: e55c4dfebaa955af749c9219f7585c34568fe28fa2c976e4f75f6050278a43b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f7a129c33e581c1e8eeaf7d4ffd2c2a9722f91f15ed95139565a5d88a2bed9ff83c22a35a0ee34b12737f6348cd7c0455e067309f933eb9d3e0b74a269e9963
|
7
|
+
data.tar.gz: 0b97667c90159cddee69b72bb84819468ebf17767be8c47b3ce59301be6a15783b10c7f039c44950b3cc2217016baa4b488fe181a89f9d47b3a6a486fa12bfbd
|
data/config/version.rb
CHANGED
data/lib/origen_jtag/driver.rb
CHANGED
@@ -476,19 +476,19 @@ module OrigenJTAG
|
|
476
476
|
# a msg to be written out prior to shifting in IR data. Will not write comment only if write
|
477
477
|
# occurs.
|
478
478
|
def write_ir(reg_or_val, options = {})
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
479
|
+
val = reg_or_val.respond_to?(:data) ? reg_or_val.data : reg_or_val
|
480
|
+
if val != ir_value || options[:force]
|
481
|
+
if options[:msg]
|
482
|
+
cc "#{options[:msg]}\n"
|
483
|
+
end
|
484
|
+
if Origen.tester.respond_to?(:write_ir)
|
485
|
+
Origen.tester.write_ir(reg_or_val, options)
|
486
|
+
else
|
487
487
|
shift_ir(write: val.to_hex) do
|
488
488
|
shift(reg_or_val, options)
|
489
489
|
end
|
490
|
-
@ir_value = val
|
491
490
|
end
|
491
|
+
@ir_value = val
|
492
492
|
end
|
493
493
|
end
|
494
494
|
|
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.22.
|
4
|
+
version: 0.22.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|