rggen-vhdl 0.5.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/lib/rggen/vhdl/register/type/default.erb +1 -2
- data/lib/rggen/vhdl/register/type/external.rb +1 -1
- data/lib/rggen/vhdl/register_block/protocol/apb.erb +2 -1
- data/lib/rggen/vhdl/register_block/protocol/axi4lite.erb +1 -0
- data/lib/rggen/vhdl/register_block/protocol/wishbone.erb +1 -0
- data/lib/rggen/vhdl/register_block/protocol.rb +3 -0
- data/lib/rggen/vhdl/utility.rb +4 -0
- data/lib/rggen/vhdl/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a722ba50ddeb4d183734a880ecae7b0f8677d2314c6a192381602423d792727
|
4
|
+
data.tar.gz: 88c8b14b0e942aaae285bd114c2a8d6b2f9c985d7ac375aa1f323428a9cafebe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7965c9b5838750fefcf84ca7b3b2c4318687588368ec8b3d2c564fd73b23c3272a0059410c037a370fbd1c7f49e7d8e12931f9ac5c2fa13f6cb9a99ebebe5a79
|
7
|
+
data.tar.gz: ca18b18a63b826b2114e485eca9b14edc75175b62e433815f94ebafc8218a00cbe1b07dc9ffc028e625e774fb865e4475dd4b19cb9912fd881f885d1c735a280
|
@@ -5,8 +5,7 @@ u_register: entity work.rggen_default_register
|
|
5
5
|
ADDRESS_WIDTH => <%= address_width %>,
|
6
6
|
OFFSET_ADDRESS => <%= offset_address %>,
|
7
7
|
BUS_WIDTH => <%= bus_width %>,
|
8
|
-
DATA_WIDTH => <%= width
|
9
|
-
REGISTER_INDEX => <%= register_index %>
|
8
|
+
DATA_WIDTH => <%= width %>
|
10
9
|
)
|
11
10
|
port map (
|
12
11
|
i_clk => <%= clock %>,
|
@@ -7,7 +7,8 @@ u_adapter: entity work.rggen_apb_adaper
|
|
7
7
|
PRE_DECODE => <%= pre_decode %>,
|
8
8
|
BASE_ADDRESS => <%= base_address %>,
|
9
9
|
BYTE_SIZE => <%= byte_size %>,
|
10
|
-
ERROR_STATUS => <%= error_status
|
10
|
+
ERROR_STATUS => <%= error_status %>,
|
11
|
+
INSERT_SLICER => <%= insert_slicer %>
|
11
12
|
)
|
12
13
|
port map (
|
13
14
|
i_clk => <%= register_block.clock %>,
|
data/lib/rggen/vhdl/utility.rb
CHANGED
@@ -20,6 +20,10 @@ module RgGen
|
|
20
20
|
format('x"%0*x"', print_width, value)
|
21
21
|
end
|
22
22
|
|
23
|
+
def width_cast(expression, _width)
|
24
|
+
expression
|
25
|
+
end
|
26
|
+
|
23
27
|
def local_scope(scope_name, attributes = {}, &block)
|
24
28
|
LocalScope.new(attributes.merge(name: scope_name), &block).to_code
|
25
29
|
end
|
data/lib/rggen/vhdl/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rggen-vhdl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taichi Ishitani
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rggen-systemverilog
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.30.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.30.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.4.
|
138
|
+
rubygems_version: 3.4.10
|
139
139
|
signing_key:
|
140
140
|
specification_version: 4
|
141
|
-
summary: rggen-vhdl-0.
|
141
|
+
summary: rggen-vhdl-0.6.1
|
142
142
|
test_files: []
|