origen_verilog 0.6.0 → 0.6.1
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/grammars/verilog.rb +2 -2
- data/lib/origen_verilog/verilog/node.rb +2 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a499bce499ae2be3e77e763fa1a82d3cd32c9bfafb1e31853da68d1a520eaf95
|
4
|
+
data.tar.gz: e76585b207bd1db710e63033489841e38fe565f91224de81c07494bb093a9add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c6bf610ab5776eba0a9c3b7021da161f3d09fe6d85b9ef9fcd7979531fc8597e7745e1b21bd16f2002e653f410112f54df1b2194df2dfe6484f174ae7d2ff1
|
7
|
+
data.tar.gz: 8ba73dd6fc18a106f71a3a3be3e69c7f887b25858720dea5e54d246c3f75048f23780ab485a01a1e341d42ed80088f310d593aa8f4013620ed9c747c0dc299d3
|
data/config/version.rb
CHANGED
data/grammars/verilog.rb
CHANGED
@@ -60,8 +60,7 @@ module OrigenVerilog
|
|
60
60
|
wreals = self.wreals.map { |n| n.to_a.last }
|
61
61
|
subset = []
|
62
62
|
pins.each do |pin|
|
63
|
-
|
64
|
-
if attrs.include?('real') || wreals.include?(attrs.last)
|
63
|
+
if pin.find(:real) || wreals.include?(pin.to_a.last)
|
65
64
|
subset << pin if options[:analog]
|
66
65
|
else
|
67
66
|
subset << pin if options[:digital]
|
@@ -82,7 +81,7 @@ module OrigenVerilog
|
|
82
81
|
def wreals
|
83
82
|
find_all(:non_port_module_item)
|
84
83
|
.map { |item| item.find(:net_declaration) }
|
85
|
-
.select { |net| net.
|
84
|
+
.select { |net| net.find(:real) }
|
86
85
|
end
|
87
86
|
|
88
87
|
# Evaluates all functions and turns numbers into Ruby literals
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_verilog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.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: 2019-
|
11
|
+
date: 2019-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|