origen_sim 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb3fba493270e2d18561a64d5b531809789c10e2
4
- data.tar.gz: 7926ba7c5a43cc6b259f57cc7c9da408c573b2da
3
+ metadata.gz: 80417f214ca57b4e6e91f8b58de1a2b0aa0f287d
4
+ data.tar.gz: 996d2200884e546b09352a26c1557a238611aee8
5
5
  SHA512:
6
- metadata.gz: 8031c7ea4452ecb7d2b444d03e9f105aac27e6fc873a7021c3611e8200c27f7fa1014a8a7521d6a5c36e93e167802441623e082555838a2c71a310767c9e805b
7
- data.tar.gz: feeb3873c4252c403d27721b00d39a8aea90862c85f7a9abb544a1f6aab23e66921d3249c882c99d095a17d5ddb31ff527377b9ecdae8e0d2be62d7d237cfd98
6
+ metadata.gz: 9e66c04db3ed6f14166c62d9ac548bb81fec84d65b44e9e2fffb449284496e94a1b1573d042319ec8fb550c54f379f2960db95b953cf4d0e4a2f10cbcf0cf352
7
+ data.tar.gz: cb88aa63d8b3d78ca74c5c95886b8879fb61232240354c6b3193c5b4d4e5acc388c06480dbc3fc397f627a75d290791df7cd2c98f06a5c72e352a6c334c14ae3
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module OrigenSim
2
2
  MAJOR = 0
3
3
  MINOR = 5
4
- BUGFIX = 2
4
+ BUGFIX = 3
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -88,7 +88,17 @@ module OrigenSim
88
88
  # tester.cycle # This is the vector that will be captured
89
89
  def store_next_cycle(*pins)
90
90
  options = pins.last.is_a?(Hash) ? pins.pop : {}
91
- pins = dut.rtl_pins.values if pins.empty?
91
+ if pins.empty?
92
+ pins = dut.rtl_pins.values
93
+ else
94
+ pins_orig = pins.dup
95
+ pins_orig.each do |p|
96
+ if p.is_a? Origen::Pins::PinCollection
97
+ pins.concat(p.map(&:id).map { |p| dut.pin(p) })
98
+ pins.delete(p)
99
+ end
100
+ end
101
+ end
92
102
  if simulator.sync_active?
93
103
  pins.each do |pin|
94
104
  @sync_cycles += 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: origen_sim
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
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-08-11 00:00:00.000000000 Z
11
+ date: 2017-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: origen