rggen-vhdl 0.2.0 → 0.2.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/tie_off_unused_signals.erb +6 -0
- data/lib/rggen/vhdl/register/type/default.erb +0 -1
- data/lib/rggen/vhdl/register/type/indirect.erb +0 -1
- data/lib/rggen/vhdl/register/type.rb +5 -0
- data/lib/rggen/vhdl/version.rb +1 -1
- metadata +4 -4
- data/lib/rggen/vhdl/register/default.erb +0 -29
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c74cc68ef729bcf49af9fbfb49184006e2f145408fa67d77adf96cd85ab07510
|
4
|
+
data.tar.gz: e113dc0c84be1b6646ae0d876e4f0cb920680c0bba12d71d434fbd6d168e6f42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc44aaaafada6892281fc6f608af510e051bfb46aa00331dd4f1ac727c551d49d27dff01fd5f775cf5dc998c552553b1d30c682764e730696306c4ccf6ee2901
|
7
|
+
data.tar.gz: d378636891636a4609d1a40a4878ffd4a2edde73c5c30335d9e2a45265203de768db5f34d42a2dbbc8cea9b46e6b2f82416d9f43d2d185dc5d7c9d9204f7513b
|
@@ -5,6 +5,11 @@ RgGen.define_list_feature(:register, :type) do
|
|
5
5
|
base_feature do
|
6
6
|
include RgGen::SystemVerilog::RTL::RegisterType
|
7
7
|
|
8
|
+
pre_code :register do |code|
|
9
|
+
register.bit_fields.empty? ||
|
10
|
+
(code << process_template(File.join(__dir__, 'tie_off_unused_signals.erb')))
|
11
|
+
end
|
12
|
+
|
8
13
|
private
|
9
14
|
|
10
15
|
def readable?
|
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.2.
|
4
|
+
version: 0.2.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: 2022-
|
11
|
+
date: 2022-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rggen-systemverilog
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- lib/rggen/vhdl/component.rb
|
83
83
|
- lib/rggen/vhdl/factories.rb
|
84
84
|
- lib/rggen/vhdl/feature.rb
|
85
|
-
- lib/rggen/vhdl/register/
|
85
|
+
- lib/rggen/vhdl/register/tie_off_unused_signals.erb
|
86
86
|
- lib/rggen/vhdl/register/type.rb
|
87
87
|
- lib/rggen/vhdl/register/type/default.erb
|
88
88
|
- lib/rggen/vhdl/register/type/external.erb
|
@@ -133,5 +133,5 @@ requirements: []
|
|
133
133
|
rubygems_version: 3.3.3
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
|
-
summary: rggen-vhdl-0.2.
|
136
|
+
summary: rggen-vhdl-0.2.1
|
137
137
|
test_files: []
|
@@ -1,29 +0,0 @@
|
|
1
|
-
rggen_default_register #(
|
2
|
-
.READABLE (<%= readable %>),
|
3
|
-
.WRITABLE (<%= writable %>),
|
4
|
-
.ADDRESS_WIDTH (<%= address_width %>),
|
5
|
-
.OFFSET_ADDRESS (<%= offset_address %>),
|
6
|
-
.BUS_WIDTH (<%= bus_width %>),
|
7
|
-
.DATA_WIDTH (<%= width %>),
|
8
|
-
.VALID_BITS (<%= valid_bits %>),
|
9
|
-
.REGISTER_INDEX (<%= register_index %>)
|
10
|
-
) u_register (
|
11
|
-
.i_clk (<%= clock %>),
|
12
|
-
.i_rst_n (<%= reset %>),
|
13
|
-
.i_register_valid (<%= register_valid %>),
|
14
|
-
.i_register_access (<%= register_access %>),
|
15
|
-
.i_register_address (<%= register_address %>),
|
16
|
-
.i_register_write_data (<%= register_write_data %>),
|
17
|
-
.i_register_strobe (<%= register_strobe %>),
|
18
|
-
.o_register_active (<%= register_active %>),
|
19
|
-
.o_register_ready (<%= register_ready %>),
|
20
|
-
.o_register_status (<%= register_status %>),
|
21
|
-
.o_register_read_data (<%= register_read_data %>),
|
22
|
-
.o_register_value (<%= register_value %>),
|
23
|
-
.o_bit_field_valid (<%= bit_field_valid %>),
|
24
|
-
.o_bit_field_read_mask (<%= bit_field_read_mask %>),
|
25
|
-
.o_bit_field_write_mask (<%= bit_field_write_mask %>),
|
26
|
-
.o_bit_field_write_data (<%= bit_field_write_data %>),
|
27
|
-
.i_bit_field_read_data (<%= bit_field_read_data %>),
|
28
|
-
.i_bit_field_value (<%= bit_field_value %>)
|
29
|
-
);
|