origen 0.7.42 → 0.7.43
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/pins.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e437bcdfcd258911a845ab5d8ac23d443cee90a
|
4
|
+
data.tar.gz: 596d74e6f6612c8c699690ac0340e6edd211d8bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907c4f886a61da4482a061dd4fbadbe50a55efb0ba565f061a8f6278074ed3682b638a569dbb26e49b930a7edd05afe3fe71a41056e0e43ba8827778e69e7188
|
7
|
+
data.tar.gz: 39d6c7824f56ff4e0402deeb36deace368e40cea4b0761d0a09a396cd098f21d64bb9335aa16121ca562a9c62f4bca18995a8506bf11354827679cdb98b2b81f
|
data/config/version.rb
CHANGED
data/lib/origen/pins.rb
CHANGED
@@ -434,15 +434,17 @@ module Origen
|
|
434
434
|
# check if this is a pin group alias
|
435
435
|
found = false
|
436
436
|
group = nil
|
437
|
+
pins_left = pins.dup
|
437
438
|
unless options[:pins_only] == true
|
438
439
|
pins.each do |i|
|
439
440
|
if pin_groups.include?(i)
|
440
441
|
group = add_pin_group_alias(id, i, options)
|
442
|
+
pins_left.delete(i)
|
441
443
|
found = true
|
442
444
|
end
|
443
445
|
end
|
444
446
|
end
|
445
|
-
unless
|
447
|
+
unless pins_left.empty? && !block_given? # not a pin group alias
|
446
448
|
group = Origen.pin_bank.find_or_create_pin_group(id, self, options)
|
447
449
|
if block_given?
|
448
450
|
yield group
|
@@ -463,9 +465,9 @@ module Origen
|
|
463
465
|
#
|
464
466
|
# In both cases though we always want pins(:pa)[0] to return :pa0.
|
465
467
|
if options[:endian] == :little
|
466
|
-
|
468
|
+
pins_left.each { |pin| group.add_pin(pin, options) }
|
467
469
|
else
|
468
|
-
|
470
|
+
pins_left.reverse_each { |pin| group.add_pin(pin, options) }
|
469
471
|
end
|
470
472
|
end
|
471
473
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.43
|
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: 2017-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|