rggen 0.33.3 → 0.34.0

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
  SHA256:
3
- metadata.gz: 9a8a3395b42669e670ad735557574882fdebfc82c05150e1d907fbc0cc9ba486
4
- data.tar.gz: 2cb62bcb274010a9a0a71cf34b8dd12bafa72a7f383191045d418ba716481315
3
+ metadata.gz: b0a434b9c6cf22b9887224b337c03d238866bef6f1410fb4f730e46283545e1d
4
+ data.tar.gz: 377ca51eb31e196aa16938a1a85cad32a97629a9cf688dbd6ff8bb8563fc7901
5
5
  SHA512:
6
- metadata.gz: 14686d40e0696b6c771bfcd1b444f8e739a0c02e9a8d87ba413c4e5cf76497dcf7772551f29845de6fc5bbb24ad252776df5fb7516730f47b81316bd0017fc9d
7
- data.tar.gz: 81c2d4e4878025e2c4ef20a4b600b1a17aa6d6df50dab6fc6f0e3f1f65ce2d23f883ad6e1d58b1b4b3b16e768dd3fc0bad561407490881c45571f642b6e3dd09
6
+ metadata.gz: b1e367fc5c3e24bbd725b5411779fc3368347e0549399288326a14a4e5b179fc1201371ebd749cfd831a01529795c88fa9aa412a722b048e95ee7e205710e758
7
+ data.tar.gz: 5d5277a109d56e2c3c7b0847bf3b7760e19741808187d02b08d299b315d3db00fbbafb2481abdc3f9b71d224addbad0a4db6809a3262c0b3cb3a775b45779847
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019-2024 Taichi Ishitani
3
+ Copyright (c) 2019-2025 Taichi Ishitani
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -19,6 +19,8 @@ RgGen has following features:
19
19
  * SystemVerilog
20
20
  * Verilog
21
21
  * Need [rggen-verilog](https://github.com/rggen/rggen-verilog) plugin
22
+ * [Veryl](https://veryl-lang.org)
23
+ * Need [rggen-veryl](https://github.com/rggen/rggen-veryl) plugin
22
24
  * VHDL
23
25
  * Need [rggen-vhdl](https://github.com/rggen/rggen-vhdl) plugin
24
26
  * Supports standard bus protocols
@@ -45,7 +47,7 @@ RgGen has following features:
45
47
 
46
48
  ### Ruby
47
49
 
48
- RgGen is written in the [Ruby](https://www.ruby-lang.org/en/about/) programing language and its required version is 3.0 or later. You need to install any of these versions of Ruby before installing RgGen tool. To install Ruby, see [this page](https://www.ruby-lang.org/en/documentation/installation/).
50
+ RgGen is written in the [Ruby](https://www.ruby-lang.org/en/about/) programing language and its required version is 3.1 or later. You need to install any of these versions of Ruby before installing RgGen tool. To install Ruby, see [this page](https://www.ruby-lang.org/en/documentation/installation/).
49
51
 
50
52
  ### Installatin Command
51
53
 
@@ -112,7 +114,7 @@ Following EDA tools can accept the generated source files.
112
114
  * Synopsys VCS
113
115
  * Cadence Xcelium
114
116
  * Metrics DSim
115
- * Xilinx Vivado Simulator
117
+ * AMD Vivado Simulator
116
118
  * Verilator
117
119
  * Need `-Wno-unoptflat` switch for Verilog RTL
118
120
  * Icarus Verilog
@@ -120,7 +122,7 @@ Following EDA tools can accept the generated source files.
120
122
  * Synthesis tools
121
123
  * Synopsys Design Compiler
122
124
  * Intel Quartus
123
- * Xilinx Vivado
125
+ * AMD Vivado
124
126
  * [Yosys](http://www.clifford.at/yosys/)
125
127
  * Verilog RTL
126
128
 
@@ -145,20 +147,22 @@ $ rggen -c config.yml -o out uart_csr.yml
145
147
 
146
148
  Then, generated files will be written to the `out` directory.
147
149
 
148
- If you want to generate Verilog RTL and/or VHDL RTL then you need to instll optional plugins listed below.
150
+ If you want to generate Verilog RTL, Veryl RTL and VHDL RTL then you need to instll optional plugins listed below.
149
151
 
150
152
  * Verilog writer plugin: [rggen-verilog](https://github.com/rggen/rggen-verilog)
153
+ * Veryl writer plugin: [rggen-veryl](https://github.com/rggen/rggen-veryl)
151
154
  * VHDL writer plugin: [rggen-vhdl](https://github.com/rggen/rggen-vhdl)
152
155
 
153
156
  ```
154
157
  $ gem install rggen-verilog
158
+ $ gem install rggen-veryl
155
159
  $ gem install rggen-vhdl
156
160
  ```
157
161
 
158
162
  In addition, you need to tell RgGen to use these plugins by using the `--plugin` option switch:
159
163
 
160
164
  ```
161
- rggen -c config.yml --plugin rggen-verilog --plugin rggen-vhdl uart_csr.yml
165
+ $ rggen -c config.yml --plugin rggen-verilog --plugin rggen-veryl --plugin rggen-vhdl uart_csr.yml
162
166
  ```
163
167
 
164
168
  RgGen will generate following source files from the [`uart_csr.yml`](https://github.com/rggen/rggen-sample/blob/master/uart_csr.yml) register map specification:
@@ -169,6 +173,8 @@ RgGen will generate following source files from the [`uart_csr.yml`](https://git
169
173
  * Verilog RTL
170
174
  * https://github.com/rggen/rggen-sample/blob/master/uart_csr.v
171
175
  * https://github.com/rggen/rggen-sample/blob/master/uart_csr.vh
176
+ * Veryl RTL
177
+ * https://github.com/rggen/rggen-sample/blob/master/uart_csr.veryl
172
178
  * VHDL RTL
173
179
  * https://github.com/rggen/rggen-sample/blob/master/uart_csr.vhd
174
180
  * UVM register model
@@ -202,12 +208,13 @@ Feedbacks, bug reports, questions and etc. are wellcome! You can post them by us
202
208
  * https://github.com/rggen/rggen-spreadsheet-loader
203
209
  * https://github.com/rggen/rggen-duh
204
210
  * https://github.com/rggen/rggen-verilog
211
+ * https://github.com/rggen/rggen-veryl
205
212
  * https://github.com/rggen/rggen-vhdl
206
213
  * https://github.com/rggen/rggen-docker
207
214
 
208
215
  ## Copyright & License
209
216
 
210
- Copyright © 2019-2024 Taichi Ishitani. RgGen is licensed under the [MIT License](https://opensource.org/licenses/MIT), see [LICENSE](LICENSE) for futher detils.
217
+ Copyright © 2019-2025 Taichi Ishitani. RgGen is licensed under the [MIT License](https://opensource.org/licenses/MIT), see [LICENSE](LICENSE) for futher detils.
211
218
 
212
219
  ## Code of Conduct
213
220
 
data/lib/rggen/default.rb CHANGED
@@ -6,3 +6,10 @@ RgGen.load_plugin 'rggen-systemverilog/ral'
6
6
  RgGen.load_plugin 'rggen-c-header'
7
7
  RgGen.load_plugin 'rggen-markdown'
8
8
  RgGen.load_plugin 'rggen-spreadsheet-loader'
9
+
10
+ RgGen.update_plugin :'rggen-spreadsheet-loader' do |plugin|
11
+ plugin.setup_loader :register_map, :spreadsheet do |entry|
12
+ entry.ignore_value :register_block, :comment
13
+ entry.ignore_value :register, :comment
14
+ end
15
+ end
data/lib/rggen/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RgGen
4
- VERSION = '0.33.3'
4
+ VERSION = '0.34.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rggen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.3
4
+ version: 0.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taichi Ishitani
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-07-20 00:00:00.000000000 Z
10
+ date: 2025-01-23 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rggen-c-header
@@ -16,84 +15,84 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 0.5.0
18
+ version: 0.6.0
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 0.5.0
25
+ version: 0.6.0
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rggen-core
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
30
  - - "~>"
32
31
  - !ruby/object:Gem::Version
33
- version: 0.33.1
32
+ version: 0.34.0
34
33
  type: :runtime
35
34
  prerelease: false
36
35
  version_requirements: !ruby/object:Gem::Requirement
37
36
  requirements:
38
37
  - - "~>"
39
38
  - !ruby/object:Gem::Version
40
- version: 0.33.1
39
+ version: 0.34.0
41
40
  - !ruby/object:Gem::Dependency
42
41
  name: rggen-default-register-map
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
44
  - - "~>"
46
45
  - !ruby/object:Gem::Version
47
- version: 0.33.1
46
+ version: 0.34.0
48
47
  type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
51
  - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: 0.33.1
53
+ version: 0.34.0
55
54
  - !ruby/object:Gem::Dependency
56
55
  name: rggen-markdown
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
58
  - - "~>"
60
59
  - !ruby/object:Gem::Version
61
- version: 0.26.0
60
+ version: 0.27.0
62
61
  type: :runtime
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
65
  - - "~>"
67
66
  - !ruby/object:Gem::Version
68
- version: 0.26.0
67
+ version: 0.27.0
69
68
  - !ruby/object:Gem::Dependency
70
69
  name: rggen-spreadsheet-loader
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
72
  - - "~>"
74
73
  - !ruby/object:Gem::Version
75
- version: 0.25.3
74
+ version: 0.26.0
76
75
  type: :runtime
77
76
  prerelease: false
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
78
  requirements:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
- version: 0.25.3
81
+ version: 0.26.0
83
82
  - !ruby/object:Gem::Dependency
84
83
  name: rggen-systemverilog
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
86
  - - "~>"
88
87
  - !ruby/object:Gem::Version
89
- version: 0.33.0
88
+ version: 0.34.0
90
89
  type: :runtime
91
90
  prerelease: false
92
91
  version_requirements: !ruby/object:Gem::Requirement
93
92
  requirements:
94
93
  - - "~>"
95
94
  - !ruby/object:Gem::Version
96
- version: 0.33.0
95
+ version: 0.34.0
97
96
  description: |
98
97
  RgGen is a code generation tool for ASIC/IP/FPGA/RTL engineers.
99
98
  It will automatically generate source code related to control and status registers (CSR),
@@ -121,7 +120,6 @@ metadata:
121
120
  rubygems_mfa_required: 'true'
122
121
  source_code_uri: https://github.com/rggen/rggen
123
122
  wiki_uri: https://github.com/rggen/rggen/wiki
124
- post_install_message:
125
123
  rdoc_options: []
126
124
  require_paths:
127
125
  - lib
@@ -129,15 +127,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
127
  requirements:
130
128
  - - ">="
131
129
  - !ruby/object:Gem::Version
132
- version: '3.0'
130
+ version: '3.1'
133
131
  required_rubygems_version: !ruby/object:Gem::Requirement
134
132
  requirements:
135
133
  - - ">="
136
134
  - !ruby/object:Gem::Version
137
135
  version: '0'
138
136
  requirements: []
139
- rubygems_version: 3.5.5
140
- signing_key:
137
+ rubygems_version: 3.6.2
141
138
  specification_version: 4
142
139
  summary: Code generation tool for control and status registers
143
140
  test_files: []