HDLRuby 2.4.8 → 2.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d844be165420dfe1bd108956e57c726b8e630e39d332112627f560a48817f8e
4
- data.tar.gz: ef9603d21b10f7d455ff74033b7df816712b0b48c73a2834a46241934db38e5a
3
+ metadata.gz: cd62e24fab42fee5c7a9e3cefda920cab67ec3a739e7ec0e66e6e637e890b959
4
+ data.tar.gz: d294cb0479e6388dea6e318c458f26ddabf71fd9281fa25f6ee69d6039bd1526
5
5
  SHA512:
6
- metadata.gz: aabff1989668735d6cee243a12d3e0c58fd62baebb76e3fccb700045e0ba793907deabea47afc5fed59d3af63ca063c1a0cb64603dd6e91da3b068dd2a9f9cc3
7
- data.tar.gz: 9e5e8968fcec50f75f293e93048ca930e2525a10943f1c4976027010ac60c41a844ae0c3a1aa8f7e18b4ce3c5814fa3178420ee2c500a0ab62ee4a93627a88ff
6
+ metadata.gz: d2039cd7158a2e2296005639474f9076f4f72f667777c97a94d7581975e92242e2be31fe3b7fb1cadf722b4f9fa6d8f8287252ec9944077512ffcd7d036ad28f
7
+ data.tar.gz: 8107f68c9c15f2f5e33a6f1a94c3454d46b9d4493ed00868c660d084b0e94e64747da3b984f7812254c31f3595988833de1df6e71253648ed1f85042cd45b534
@@ -292,17 +292,38 @@ HDLRuby::High::Std.channel(:mem_rom) do |typ,size,clk,rst,content,
292
292
  trig_r <= 0
293
293
  end
294
294
  # The read procedure.
295
+ # par do
296
+ # hif(rst == 0) do
297
+ # # No reset, so can perform the read.
298
+ # hif(trig_r == 1) do
299
+ # # The trigger was previously set, read ok.
300
+ # target <= dbus_r
301
+ # blk.call if blk
302
+ # end
303
+ # # Prepare the read.
304
+ # abus_r <= abus_r + 1
305
+ # trig_r <= 1
306
+ # end
307
+ # end
308
+ # The read procedure.
295
309
  par do
296
310
  hif(rst == 0) do
297
311
  # No reset, so can perform the read.
298
312
  hif(trig_r == 1) do
299
313
  # The trigger was previously set, read ok.
300
- target <= dbus_r
301
- blk.call if blk
314
+ # target <= dbus_r
315
+ # blk.call if blk
316
+ seq do
317
+ # abus_r <= abus_r + 1
318
+ target <= dbus_r
319
+ blk.call if blk
320
+ end
321
+ end
322
+ helse do
323
+ # Prepare the read.
324
+ abus_r <= abus_r + 1
325
+ trig_r <= 1
302
326
  end
303
- # Prepare the read.
304
- abus_r <= abus_r + 1
305
- trig_r <= 1
306
327
  end
307
328
  end
308
329
  end
@@ -331,18 +352,39 @@ HDLRuby::High::Std.channel(:mem_rom) do |typ,size,clk,rst,content,
331
352
  # Reset so switch of the access trigger.
332
353
  trig_r <= 0
333
354
  end
355
+ # # The read procedure.
356
+ # par do
357
+ # hif(rst == 0) do
358
+ # # No reset, so can perform the read.
359
+ # hif(trig_r == 1) do
360
+ # # The trigger was previously set, read ok.
361
+ # target <= dbus_r
362
+ # blk.call if blk
363
+ # end
364
+ # # Prepare the read.
365
+ # abus_r <= abus_r - 1
366
+ # trig_r <= 1
367
+ # end
368
+ # end
334
369
  # The read procedure.
335
370
  par do
336
371
  hif(rst == 0) do
337
372
  # No reset, so can perform the read.
338
373
  hif(trig_r == 1) do
339
374
  # The trigger was previously set, read ok.
340
- target <= dbus_r
341
- blk.call if blk
375
+ # target <= dbus_r
376
+ # blk.call if blk
377
+ seq do
378
+ # abus_r <= abus_r - 1
379
+ target <= dbus_r
380
+ blk.call if blk
381
+ end
382
+ end
383
+ helse do
384
+ # Prepare the read.
385
+ abus_r <= abus_r - 1
386
+ trig_r <= 1
342
387
  end
343
- # Prepare the read.
344
- abus_r <= abus_r - 1
345
- trig_r <= 1
346
388
  end
347
389
  end
348
390
  end
@@ -620,18 +662,39 @@ HDLRuby::High::Std.channel(:mem_dual) do |typ,size,clk,rst,br_rsts = {}|
620
662
  # Reset so switch of the access trigger.
621
663
  trig_r <= 0
622
664
  end
665
+ # # The read procedure.
666
+ # par do
667
+ # hif(rst == 0) do
668
+ # # No reset, so can perform the read.
669
+ # hif(trig_r == 1) do
670
+ # # The trigger was previously set, read ok.
671
+ # target <= dbus_r
672
+ # blk.call if blk
673
+ # end
674
+ # # Prepare the read.
675
+ # abus_r <= abus_r - 1
676
+ # trig_r <= 1
677
+ # end
678
+ # end
623
679
  # The read procedure.
624
680
  par do
625
681
  hif(rst == 0) do
626
682
  # No reset, so can perform the read.
627
683
  hif(trig_r == 1) do
628
684
  # The trigger was previously set, read ok.
629
- target <= dbus_r
630
- blk.call if blk
685
+ # target <= dbus_r
686
+ # blk.call if blk
687
+ seq do
688
+ # abus_r <= abus_r - 1
689
+ target <= dbus_r
690
+ blk.call if blk
691
+ end
692
+ end
693
+ helse do
694
+ # Prepare the read.
695
+ abus_r <= abus_r - 1
696
+ trig_r <= 1
631
697
  end
632
- # Prepare the read.
633
- abus_r <= abus_r - 1
634
- trig_r <= 1
635
698
  end
636
699
  end
637
700
  end
@@ -1,3 +1,3 @@
1
1
  module HDLRuby
2
- VERSION = "2.4.8"
2
+ VERSION = "2.4.9"
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.8
4
+ version: 2.4.9
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-11 00:00:00.000000000 Z
11
+ date: 2020-10-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler