origen 0.20.0 → 0.20.1
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 +4 -4
- data/config/version.rb +1 -1
- data/lib/origen/registers.rb +3 -0
- 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: ec488f70aa411bfb8f6e66cf3c35c9accbfd28ff
|
|
4
|
+
data.tar.gz: 5b8a95b6856085ddec31118aadd7a87127b7d8b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a72d7dbc2c075193fa32b33a9301876f5d511eaa4052d93fb8f9a144e4665a11471c8b8783b3bf5eef4350fc03d81c500a47a0693de5596e0502bbeea47b970
|
|
7
|
+
data.tar.gz: 87fab94f15b263d515ff6e0d58c7a51c390842608f0488d6749767bbe5ccf4d0ccc27ca9a7e91c45cf14e43698bf295817720a1e8ed8e28e08d45a6aafaf8c74
|
data/config/version.rb
CHANGED
data/lib/origen/registers.rb
CHANGED
|
@@ -332,6 +332,9 @@ module Origen
|
|
|
332
332
|
local_vars[:reset] ||= :memory if local_vars[:memory]
|
|
333
333
|
@min_reg_address ||= address
|
|
334
334
|
@max_reg_address ||= address
|
|
335
|
+
# Must set an initial value, otherwise max_address_reg_size will be nil if a sub_block contains only
|
|
336
|
+
# a single register.
|
|
337
|
+
@max_address_reg_size = size unless @max_address_reg_size
|
|
335
338
|
@min_reg_address = address if address < @min_reg_address
|
|
336
339
|
if address > @max_reg_address
|
|
337
340
|
@max_address_reg_size = size
|
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.20.
|
|
4
|
+
version: 0.20.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: 2017-06-
|
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|