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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68ed5eaee4af626834f360b0538f3967c4f7c657
4
- data.tar.gz: dcf274358e4098b963f7db33a9bbde7c66d722d4
3
+ metadata.gz: ec488f70aa411bfb8f6e66cf3c35c9accbfd28ff
4
+ data.tar.gz: 5b8a95b6856085ddec31118aadd7a87127b7d8b7
5
5
  SHA512:
6
- metadata.gz: 1b6197d410be7ec0da6555ca7d9a8e1e74907f43150c9f628f770df73057e1aabf334e919a2ebb1828ac4f20b650fd25a3255da0eac678cab7c5fd03f5f02ec8
7
- data.tar.gz: 76cb127575eb35f3d435548138721008c2358fde59aac7f2ca7eb75d918b1b5d82e59af81c9a4071701eb8ce8b5fdc492cb482f789b83f20a929bad676ab114d
6
+ metadata.gz: 4a72d7dbc2c075193fa32b33a9301876f5d511eaa4052d93fb8f9a144e4665a11471c8b8783b3bf5eef4350fc03d81c500a47a0693de5596e0502bbeea47b970
7
+ data.tar.gz: 87fab94f15b263d515ff6e0d58c7a51c390842608f0488d6749767bbe5ccf4d0ccc27ca9a7e91c45cf14e43698bf295817720a1e8ed8e28e08d45a6aafaf8c74
data/config/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Origen
2
2
  MAJOR = 0
3
3
  MINOR = 20
4
- BUGFIX = 0
4
+ BUGFIX = 1
5
5
  DEV = nil
6
6
 
7
7
  VERSION = [MAJOR, MINOR, BUGFIX].join(".") + (DEV ? ".pre#{DEV}" : '')
@@ -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.0
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-16 00:00:00.000000000 Z
11
+ date: 2017-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport