origen 0.33.1 → 0.33.2
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15df9e0e9b7827f5f28275103a4214a7a71e20e7
|
4
|
+
data.tar.gz: 4d1412c20073a4cb6c44599c57a631e22d049eda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 866cb4e9a95ff7cb59e134e8ab45de0a7ef3c6da15170bd7081f71a53f9d687ff60037e0da9837f968f700772a39d879aac27e19172bb5f715f7ac96c9075e30
|
7
|
+
data.tar.gz: 9e9084dd4e500602a2a5f9c00f509f21f322ab35a64cb28b7d90b273e4c0522accc1a4b100f0b70284aebda0d2866e269edc1ffbb4e71b32cb4d0fe0c9bb5c37
|
data/config/version.rb
CHANGED
data/lib/origen/chip_mode.rb
CHANGED
@@ -70,7 +70,7 @@ module Origen
|
|
70
70
|
ivar = "@#{method_name.to_s.gsub('=', '')}"
|
71
71
|
ivar_sym = ":#{ivar}"
|
72
72
|
if method_name[-1] == '?'
|
73
|
-
id == method_name[0..-2].to_sym
|
73
|
+
return id == method_name[0..-2].to_sym
|
74
74
|
elsif method_name[-1] == '='
|
75
75
|
define_singleton_method(method_name) do |val|
|
76
76
|
instance_variable_set(ivar, val)
|
@@ -16,12 +16,10 @@ module Origen
|
|
16
16
|
next unless [String, Numeric, Float, Integer, Symbol, Range].include? attr_val.class
|
17
17
|
headers << attr_getter unless headers.include?(attr_getter)
|
18
18
|
str = case attr_val
|
19
|
-
when Numeric
|
20
|
-
attr_val.as_V
|
21
19
|
when Range
|
22
20
|
start_voltage = attr_val.first
|
23
21
|
end_voltage = attr_val.last
|
24
|
-
"#{start_voltage
|
22
|
+
"#{start_voltage}\.\.#{end_voltage}"
|
25
23
|
else
|
26
24
|
attr_val.to_s
|
27
25
|
end
|
@@ -69,7 +69,7 @@ module Origen
|
|
69
69
|
model.add_virtual_pin :relay1
|
70
70
|
model.add_virtual_pin :relay2, packages: { bga: {} }
|
71
71
|
|
72
|
-
model.sub_block :block1, file: 'origen/export1/block1.rb', dir: '/proj
|
72
|
+
model.sub_block :block1, file: 'origen/export1/block1.rb', dir: '/proj/imxrt1170_test/users/nxa20023/origen/dev/origen/vendor/lib/models', lazy: true
|
73
73
|
|
74
74
|
end
|
75
75
|
end
|
@@ -4,7 +4,7 @@ module Origen
|
|
4
4
|
module Export1
|
5
5
|
module Block1
|
6
6
|
def self.extended(model)
|
7
|
-
model.sub_block :x, file: 'origen/export1/block1/x.rb', dir: '/proj
|
7
|
+
model.sub_block :x, file: 'origen/export1/block1/x.rb', dir: '/proj/imxrt1170_test/users/nxa20023/origen/dev/origen/vendor/lib/models', lazy: true, base_address: 0x40000000
|
8
8
|
|
9
9
|
end
|
10
10
|
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.33.
|
4
|
+
version: 0.33.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|