rggen-veryl 0.6.0 → 0.7.0
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/README.md +1 -1
- data/lib/rggen/veryl/bit_field/type/counter.rb +2 -2
- data/lib/rggen/veryl/register_block/protocol/axi4lite.rb +1 -1
- data/lib/rggen/veryl/register_block/protocol/native.rb +1 -1
- data/lib/rggen/veryl/register_block/protocol.rb +3 -3
- data/lib/rggen/veryl/register_block/veryl_top.rb +1 -1
- data/lib/rggen/veryl/register_map/keyword_checker.rb +8 -10
- data/lib/rggen/veryl/version.rb +1 -1
- 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: a47c80d1142919e860bc28b472ddc02cdd89a7e754a9b78c7f22fe93e3dc61f5
|
|
4
|
+
data.tar.gz: f5427babe12355d28fc496a026643205dfee522825895a18271a172740f47c78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 288086355ea542c937f0d9da430535ec5e2f66fda168fc2f760c38eb9961abc77dad05f8ad4e4342932e1c490233a574e776630f43d29db0b8fa3a6f3c0c48fc
|
|
7
|
+
data.tar.gz: e6362d1bcc9ea49dd52092b26e5c955b1c12a5273b88f727bff469419e7e812be5b0cba3c1d2ba3cb99b9736f3e5c9647e2b36a7a87a7261753255a563da0172
|
data/README.md
CHANGED
|
@@ -43,7 +43,7 @@ You need to add this repository to the `[dependencies]` section in your `Veryl.t
|
|
|
43
43
|
|
|
44
44
|
```toml
|
|
45
45
|
[dependencies]
|
|
46
|
-
"rggen" = { github = "rggen/rggen-veryl-rtl", version = "0.
|
|
46
|
+
"rggen" = { github = "rggen/rggen-veryl-rtl", version = "0.7.0" }
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
## Contact
|
|
@@ -10,11 +10,11 @@ RgGen.define_list_item_feature(:bit_field, :type, :counter) do
|
|
|
10
10
|
name: "#{full_name}_down_width".upcase, type: :u32, default: 1
|
|
11
11
|
}
|
|
12
12
|
param :wrap_around, {
|
|
13
|
-
name: "#{full_name}_wrap_around".upcase, type: :
|
|
13
|
+
name: "#{full_name}_wrap_around".upcase, type: :bbool, default: false
|
|
14
14
|
}
|
|
15
15
|
if external_clear?
|
|
16
16
|
param :use_clear, {
|
|
17
|
-
name: "#{full_name}_use_clear".upcase, type: :
|
|
17
|
+
name: "#{full_name}_use_clear".upcase, type: :bbool, default: true
|
|
18
18
|
}
|
|
19
19
|
end
|
|
20
20
|
|
|
@@ -7,7 +7,7 @@ RgGen.define_list_item_feature(:register_block, :protocol, :axi4lite) do
|
|
|
7
7
|
name: 'ID_WIDTH', type: :u32, default: 0
|
|
8
8
|
}
|
|
9
9
|
param :write_first, {
|
|
10
|
-
name: 'WRITE_FIRST', type: :
|
|
10
|
+
name: 'WRITE_FIRST', type: :bbool, default: true
|
|
11
11
|
}
|
|
12
12
|
modport :axi4lite_if, {
|
|
13
13
|
name: 'axi4lite_if',
|
|
@@ -7,7 +7,7 @@ RgGen.define_list_item_feature(:register_block, :protocol, :native) do
|
|
|
7
7
|
name: 'STROBE_WIDTH', type: :u32, default: bus_width / 8
|
|
8
8
|
}
|
|
9
9
|
param :use_read_strobe, {
|
|
10
|
-
name: 'USE_READ_STROBE', type: :
|
|
10
|
+
name: 'USE_READ_STROBE', type: :bbool, default: false
|
|
11
11
|
}
|
|
12
12
|
modport :csrbus_if, {
|
|
13
13
|
name: 'csrbus_if',
|
|
@@ -10,19 +10,19 @@ RgGen.define_list_feature(:register_block, :protocol) do
|
|
|
10
10
|
name: 'ADDRESS_WIDTH', type: :u32, default: local_address_width
|
|
11
11
|
}
|
|
12
12
|
param :pre_decode, {
|
|
13
|
-
name: 'PRE_DECODE', type: :
|
|
13
|
+
name: 'PRE_DECODE', type: :bbool, default: false
|
|
14
14
|
}
|
|
15
15
|
param :base_address, {
|
|
16
16
|
name: 'BASE_ADDRESS', type: :bit, width: address_width, default: all_bits_0
|
|
17
17
|
}
|
|
18
18
|
param :error_status, {
|
|
19
|
-
name: 'ERROR_STATUS', type: :
|
|
19
|
+
name: 'ERROR_STATUS', type: :bbool, default: false
|
|
20
20
|
}
|
|
21
21
|
param :default_read_data, {
|
|
22
22
|
name: 'DEFAULT_READ_DATA', type: :bit, width: bus_width, default: all_bits_0
|
|
23
23
|
}
|
|
24
24
|
param :insert_slicer, {
|
|
25
|
-
name: 'INSERT_SLICER', type: :
|
|
25
|
+
name: 'INSERT_SLICER', type: :bbool, default: false
|
|
26
26
|
}
|
|
27
27
|
end
|
|
28
28
|
|
|
@@ -5,16 +5,14 @@ module RgGen
|
|
|
5
5
|
module RegisterMap
|
|
6
6
|
module KeywordChecker
|
|
7
7
|
VERYL_KEYWORDS = [
|
|
8
|
-
'alias', 'always_comb', 'always_ff', 'assign', 'as', 'bit', '
|
|
9
|
-
'clock', 'clock_posedge', 'clock_negedge', 'connect', 'const', 'converse',
|
|
10
|
-
'
|
|
11
|
-
'
|
|
12
|
-
'
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'
|
|
16
|
-
'step', 'string', 'struct', 'switch', 'tri', 'true', 'type', 'u32', 'u64',
|
|
17
|
-
'union', 'unsafe', 'var'
|
|
8
|
+
'alias', 'always_comb', 'always_ff', 'assign', 'as', 'bind', 'bit', 'block', 'bbool', 'lbool', 'case',
|
|
9
|
+
'clock', 'clock_posedge', 'clock_negedge', 'connect', 'const', 'converse', 'default', 'else', 'embed',
|
|
10
|
+
'enum', 'f32', 'f64', 'false', 'final', 'for', 'function', 'i8', 'i16', 'i32', 'i64', 'if_reset', 'if',
|
|
11
|
+
'import', 'include', 'initial', 'inout', 'input', 'inside', 'inst', 'interface', 'in', 'let', 'logic',
|
|
12
|
+
'lsb', 'modport', 'module', 'msb', 'output', 'outside', 'package', 'param', 'proto', 'pub', 'repeat',
|
|
13
|
+
'reset', 'reset_async_high', 'reset_async_low', 'reset_sync_high', 'reset_sync_low', 'return', 'rev',
|
|
14
|
+
'break', 'same', 'signed', 'step', 'string', 'struct', 'switch', 'tri', 'true', 'type', 'u8', 'u16', 'u32',
|
|
15
|
+
'u64', 'union', 'unsafe', 'var'
|
|
18
16
|
].freeze
|
|
19
17
|
|
|
20
18
|
def self.included(klass)
|
data/lib/rggen/veryl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rggen-veryl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taichi Ishitani
|
|
@@ -136,5 +136,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
requirements: []
|
|
137
137
|
rubygems_version: 4.0.3
|
|
138
138
|
specification_version: 4
|
|
139
|
-
summary: rggen-veryl-0.
|
|
139
|
+
summary: rggen-veryl-0.7.0
|
|
140
140
|
test_files: []
|