HDLRuby 2.4.10 → 2.4.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d90d9d7ef8c4535bbce1db315a06ec6e85c8efe37ddb07828605f72049f5daf2
4
- data.tar.gz: d3f6d2fb5cccb840c8385ab8af724f6dcfef2efed5d9d263ef50be104f2aba3a
3
+ metadata.gz: cbfb36d00f3809e50b2470308d24b09b413918ee4a78ab5f6cfc85c16af8ff50
4
+ data.tar.gz: e2883c6628972cb353fcf7438f1af07ba2c6700c4fdbddcf26ba9b3a00a5cdec
5
5
  SHA512:
6
- metadata.gz: 548de87c875473eaf522c8db89d7842cd79f2638be583e85a0b9e143bb21ac89a40e447fb2d8d09f55d67543954d59e7880eceb4e515b96de6f959d3cf48edd6
7
- data.tar.gz: d8fe03171ac0bada3bc7b30625cd8c874d1d98b72757ad180fc4ec52f9803f243058f423fa9047924d33d2e4350f7f3e9acee0dda3d654175e026ed94edee32e
6
+ metadata.gz: 2fa905701cad381e3d352524b1fd85f21ee3340e0eaa2b7d5579b93c6126d302bc35e407d10561a2e81a70b94137dda0a6398a49de1790fddeba1434a99ba467
7
+ data.tar.gz: 5d04403133e3ed080eef1f4494bcfc7694bcdd66ccace555361383c9f15a83c71f1994826171c4eaf5c20d5f059b9148c2e5cdfce7ba3d4b08691e57abf09395
@@ -135,7 +135,7 @@ channel(:handshake) do |typ|
135
135
  # The data signal.
136
136
  typ.inner :data
137
137
  # The request and acknowledge.
138
- typ.inner :req, :ack
138
+ inner :req, :ack
139
139
 
140
140
  reader_input :ack, :data
141
141
  reader_output :req
@@ -956,7 +956,7 @@ HDLRuby::High::Std.channel(:mem_file) do |typ,size,clk,rst,br_rsts = {}|
956
956
  reader_input rst_name
957
957
  end
958
958
  # Declares the address counter.
959
- awidth = size.width-1
959
+ awidth = (size-1).width
960
960
  awidth = 1 if awidth == 0
961
961
  [size.width-1].inner :abus_r
962
962
  reader_inout :abus_r
@@ -1048,7 +1048,7 @@ HDLRuby::High::Std.channel(:mem_file) do |typ,size,clk,rst,br_rsts = {}|
1048
1048
  reader_input rst_name
1049
1049
  end
1050
1050
  # Declares the address counter.
1051
- awidth = size.width - 1
1051
+ awidth = (size-1).width
1052
1052
  awidth = 1 if awidth == 0
1053
1053
  [size.width-1].inner :abus_r
1054
1054
  reader_inout :abus_r
@@ -1,3 +1,3 @@
1
1
  module HDLRuby
2
- VERSION = "2.4.10"
2
+ VERSION = "2.4.11"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: HDLRuby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.10
4
+ version: 2.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovic Gauthier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-16 00:00:00.000000000 Z
11
+ date: 2020-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler