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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17c3bc0c7a9b380a76c4f69ee0ebf6434d43a5c42456c0fca4c242ad192bb4ce
4
- data.tar.gz: f828a940f8d87d5fd048aeac363238323df7cadc4b7b9405d6bbcf3601164bc9
3
+ metadata.gz: f2fc35840e8e533688ae4f9228d3136022e8ce7d117452d91d48a8b782bc2e5c
4
+ data.tar.gz: e55c4dfebaa955af749c9219f7585c34568fe28fa2c976e4f75f6050278a43b7
5
5
  SHA512:
6
- metadata.gz: df5618e789ac6b000b6fa71cf52611df7bb56e5fc4965afeb57fcfc242a456d402c214c48823eccea4f97ccf7cdf036f47e145b871da18cd1fad7e2030cffb76
7
- data.tar.gz: 6c751a233f7d80c8e2b607b2024fdfb556661d3e34a85dfa92a5728fac1bbfc9581f07dfc3aac856e2015cdf87e458785d4aa4fd934400cc4cb3f05699a60f8b
6
+ metadata.gz: 3f7a129c33e581c1e8eeaf7d4ffd2c2a9722f91f15ed95139565a5d88a2bed9ff83c22a35a0ee34b12737f6348cd7c0455e067309f933eb9d3e0b74a269e9963
7
+ data.tar.gz: 0b97667c90159cddee69b72bb84819468ebf17767be8c47b3ce59301be6a15783b10c7f039c44950b3cc2217016baa4b488fe181a89f9d47b3a6a486fa12bfbd
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenJTAG
2
2
  MAJOR = 0
3
3
  MINOR = 22
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
7
7
  end
@@ -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
- if Origen.tester.respond_to?(:write_ir)
480
- Origen.tester.write_ir(reg_or_val, options)
481
- else
482
- val = reg_or_val.respond_to?(:data) ? reg_or_val.data : reg_or_val
483
- if val != ir_value || options[:force]
484
- if options[:msg]
485
- cc "#{options[:msg]}\n"
486
- end
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.0
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: 2019-06-12 00:00:00.000000000 Z
11
+ date: 2020-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen