HDLRuby 2.3.6 → 2.4.8

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.
@@ -541,12 +541,19 @@ HDLRuby::High::Std.channel(:mem_dual) do |typ,size,clk,rst,br_rsts = {}|
541
541
  # No reset, so can perform the read.
542
542
  hif(trig_r == 1) do
543
543
  # The trigger was previously set, read ok.
544
- target <= dbus_r
545
- blk.call if blk
544
+ # target <= dbus_r
545
+ # blk.call if blk
546
+ seq do
547
+ # abus_r <= abus_r + 1
548
+ target <= dbus_r
549
+ blk.call if blk
550
+ end
551
+ end
552
+ helse do
553
+ # Prepare the read.
554
+ abus_r <= abus_r + 1
555
+ trig_r <= 1
546
556
  end
547
- # Prepare the read.
548
- abus_r <= abus_r + 1
549
- trig_r <= 1
550
557
  end
551
558
  end
552
559
  end
@@ -1,3 +1,3 @@
1
1
  module HDLRuby
2
- VERSION = "2.3.6"
2
+ VERSION = "2.4.8"
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.3.6
4
+ version: 2.4.8
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-08-30 00:00:00.000000000 Z
11
+ date: 2020-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -75,6 +75,7 @@ files:
75
75
  - lib/HDLRuby/hdr_samples/addsub.rb
76
76
  - lib/HDLRuby/hdr_samples/addsubz.rb
77
77
  - lib/HDLRuby/hdr_samples/alu.rb
78
+ - lib/HDLRuby/hdr_samples/bstr_bench.rb
78
79
  - lib/HDLRuby/hdr_samples/calculator.rb
79
80
  - lib/HDLRuby/hdr_samples/counter_bench.rb
80
81
  - lib/HDLRuby/hdr_samples/dff.rb
@@ -88,6 +89,7 @@ files:
88
89
  - lib/HDLRuby/hdr_samples/memory_test.rb
89
90
  - lib/HDLRuby/hdr_samples/multer_gen.rb
90
91
  - lib/HDLRuby/hdr_samples/multer_seq.rb
92
+ - lib/HDLRuby/hdr_samples/neg_arith_bench.rb
91
93
  - lib/HDLRuby/hdr_samples/neural/a.rb
92
94
  - lib/HDLRuby/hdr_samples/neural/a_sub.rb
93
95
  - lib/HDLRuby/hdr_samples/neural/bw.rb
@@ -123,6 +125,7 @@ files:
123
125
  - lib/HDLRuby/hdr_samples/with_linear.rb
124
126
  - lib/HDLRuby/hdr_samples/with_loop.rb
125
127
  - lib/HDLRuby/hdr_samples/with_memory.rb
128
+ - lib/HDLRuby/hdr_samples/with_multi_channels.rb
126
129
  - lib/HDLRuby/hdr_samples/with_reconf.rb
127
130
  - lib/HDLRuby/hdrcc.rb
128
131
  - lib/HDLRuby/high_samples/_adder_fault.rb
@@ -262,6 +265,7 @@ files:
262
265
  - lib/HDLRuby/sim/hruby_sim_calc.c
263
266
  - lib/HDLRuby/sim/hruby_sim_core.c
264
267
  - lib/HDLRuby/sim/hruby_sim_list.c
268
+ - lib/HDLRuby/sim/hruby_sim_vcd.c
265
269
  - lib/HDLRuby/sim/hruby_sim_vizualize.c
266
270
  - lib/HDLRuby/sim/hruby_value_pool.c
267
271
  - lib/HDLRuby/std/channel.rb