rvvm 0.9.4 → 0.9.5
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/CHANGELOG.md +15 -0
- data/README.md +1 -1
- data/bin/sandbox +0 -22
- data/lib/rvvm/version.rb +1 -1
- data/lib/rvvm.rb +6 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8fd6e9e8729d0de5aeabb5a88f183096de1acc98ae8d5e2d70c7be57edf883a0
|
4
|
+
data.tar.gz: aa70e5dd5f06d668c8e83a38043d02f0b86aa047bd7a85c5b4db5ce04567a894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: accdd51566d38973f742e264d35bfecdc1b5ede51d3d0f9062114a4dd8c2d95bc64437026123de630ed2a1ce7b9702cb06d1e4570820cbadf89f946aa9641f22
|
7
|
+
data.tar.gz: a330ed820c00511ced53ffe42ec13d2eec98d9783c3aa581a144a029e46b4a92ed84fd86a27b5c25dc46b83c1f88d9cf8ab2ac0e37e688215713a16ce7bf9e17
|
data/CHANGELOG.md
CHANGED
@@ -114,3 +114,18 @@
|
|
114
114
|
2. Template file generation in pwd
|
115
115
|
3. Elaboration and simulation custom waveform trace dump file
|
116
116
|
4. Project template files regeneration/restoration to default
|
117
|
+
|
118
|
+
## [0.9.5] - 2024-09-17
|
119
|
+
|
120
|
+
### Fixed:
|
121
|
+
|
122
|
+
1. Conversion of parsed json config hash keys to symbols
|
123
|
+
2. Tests randomly failing due to the bug above
|
124
|
+
|
125
|
+
### TBI:
|
126
|
+
|
127
|
+
1. CLI log graphic
|
128
|
+
2. Template file generation in pwd
|
129
|
+
3. Elaboration and simulation custom waveform trace dump file
|
130
|
+
4. Project template files regeneration/restoration to default
|
131
|
+
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# RVvM - Ruby Vivado Manager
|
1
|
+
# RVvM - Ruby Vivado Manager [](https://badge.fury.io/rb/rvvm)
|
2
2
|
|
3
3
|
RVvM is a Ruby based meta tool to manage, compile, elaborate and simulate SystemVerilog and UVM based projects using Xilinx Vivado xvlog, xelab, xrun and xsc tools.
|
4
4
|
|
data/bin/sandbox
CHANGED
@@ -2,25 +2,3 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
# just a sandbox to play with ruby during development
|
5
|
-
|
6
|
-
require "json"
|
7
|
-
|
8
|
-
json = %(
|
9
|
-
{
|
10
|
-
"sizmaj": "bit"
|
11
|
-
"akafuka" : {
|
12
|
-
"siz": 1,
|
13
|
-
"maj": 2,
|
14
|
-
"bit": 3
|
15
|
-
}
|
16
|
-
}
|
17
|
-
)
|
18
|
-
|
19
|
-
def json_parse(data)
|
20
|
-
parsed = JSON.parse(data)
|
21
|
-
puts parsed
|
22
|
-
rescue JSON::ParserError => e
|
23
|
-
puts "Invalid JSON!\nError #{e.message}"
|
24
|
-
end
|
25
|
-
|
26
|
-
json_parse(json)
|
data/lib/rvvm/version.rb
CHANGED
data/lib/rvvm.rb
CHANGED
@@ -268,9 +268,12 @@ module Rvvm
|
|
268
268
|
end
|
269
269
|
|
270
270
|
@config = JSON.parse(json_file) if json_file
|
271
|
-
|
272
|
-
|
273
|
-
|
271
|
+
|
272
|
+
if @config.instance_of?(Hash)
|
273
|
+
@config = @config.transform_values do |v|
|
274
|
+
v.transform_keys(&:to_sym) if v.instance_of?(Hash)
|
275
|
+
end.transform_keys(&:to_sym)
|
276
|
+
end
|
274
277
|
rescue JSON::ParserError => e
|
275
278
|
puts " Invalid config json!\n\n#{e.message}"
|
276
279
|
exit(1)
|