HDLRuby 3.2.0 → 3.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/README.html +4411 -2930
  3. data/README.md +396 -102
  4. data/ext/hruby_sim/hruby_rcsim_build.c +400 -3
  5. data/ext/hruby_sim/hruby_sim.h +2 -1
  6. data/ext/hruby_sim/hruby_sim_calc.c +1 -1
  7. data/ext/hruby_sim/hruby_sim_core.c +15 -5
  8. data/ext/hruby_sim/hruby_sim_tree_calc.c +1 -1
  9. data/lib/HDLRuby/hdr_samples/c_program/echo.c +33 -0
  10. data/lib/HDLRuby/hdr_samples/ruby_program/echo.rb +9 -0
  11. data/lib/HDLRuby/hdr_samples/ruby_program/stdrw.rb +6 -0
  12. data/lib/HDLRuby/hdr_samples/ruby_program/sw_cpu_terminal.rb +614 -0
  13. data/lib/HDLRuby/hdr_samples/ruby_program/sw_inc_mem.rb +32 -0
  14. data/lib/HDLRuby/hdr_samples/ruby_program/sw_log.rb +33 -0
  15. data/lib/HDLRuby/hdr_samples/with_board.rb +63 -0
  16. data/lib/HDLRuby/hdr_samples/with_clocks.rb +42 -0
  17. data/lib/HDLRuby/hdr_samples/with_of.rb +1 -1
  18. data/lib/HDLRuby/hdr_samples/with_program_c.rb +28 -0
  19. data/lib/HDLRuby/hdr_samples/with_program_ruby.rb +28 -0
  20. data/lib/HDLRuby/hdr_samples/with_program_ruby_cpu.rb +234 -0
  21. data/lib/HDLRuby/hdr_samples/with_program_ruby_io.rb +23 -0
  22. data/lib/HDLRuby/hdr_samples/with_program_ruby_mem.rb +58 -0
  23. data/lib/HDLRuby/hdr_samples/with_program_ruby_threads.rb +56 -0
  24. data/lib/HDLRuby/hdr_samples/with_sequencer_func.rb +2 -4
  25. data/lib/HDLRuby/hdrcc.rb +60 -21
  26. data/lib/HDLRuby/hruby_error.rb +13 -0
  27. data/lib/HDLRuby/hruby_high.rb +50 -7
  28. data/lib/HDLRuby/hruby_low.rb +74 -30
  29. data/lib/HDLRuby/hruby_rcsim.rb +89 -5
  30. data/lib/HDLRuby/std/clocks.rb +118 -50
  31. data/lib/HDLRuby/std/std.rb +5 -0
  32. data/lib/HDLRuby/ui/hruby_board.rb +1079 -0
  33. data/lib/HDLRuby/version.rb +1 -1
  34. data/lib/c/Rakefile +8 -0
  35. data/lib/c/cHDL.h +12 -0
  36. data/lib/c/extconf.rb +7 -0
  37. data/lib/rubyHDL.rb +33 -0
  38. data/tuto/gui_accum.png +0 -0
  39. data/tuto/gui_board.png +0 -0
  40. data/tuto/tutorial_sw.html +4163 -2081
  41. data/tuto/tutorial_sw.md +957 -62
  42. metadata +24 -5
  43. data/README.pdf +0 -0
  44. data/tuto/tutorial_sw.pdf +0 -0
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: 3.2.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lovic Gauthier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,7 +73,6 @@ files:
73
73
  - LICENSE.txt
74
74
  - README.html
75
75
  - README.md
76
- - README.pdf
77
76
  - Rakefile
78
77
  - bin/console
79
78
  - bin/setup
@@ -114,6 +113,7 @@ files:
114
113
  - lib/HDLRuby/hdr_samples/alu.rb
115
114
  - lib/HDLRuby/hdr_samples/arith_bench.rb
116
115
  - lib/HDLRuby/hdr_samples/bstr_bench.rb
116
+ - lib/HDLRuby/hdr_samples/c_program/echo.c
117
117
  - lib/HDLRuby/hdr_samples/calculator.rb
118
118
  - lib/HDLRuby/hdr_samples/case_bench.rb
119
119
  - lib/HDLRuby/hdr_samples/comparison_bench.rb
@@ -171,6 +171,11 @@ files:
171
171
  - lib/HDLRuby/hdr_samples/rom.rb
172
172
  - lib/HDLRuby/hdr_samples/rom_nest.rb
173
173
  - lib/HDLRuby/hdr_samples/ruby_fir_hw.rb
174
+ - lib/HDLRuby/hdr_samples/ruby_program/echo.rb
175
+ - lib/HDLRuby/hdr_samples/ruby_program/stdrw.rb
176
+ - lib/HDLRuby/hdr_samples/ruby_program/sw_cpu_terminal.rb
177
+ - lib/HDLRuby/hdr_samples/ruby_program/sw_inc_mem.rb
178
+ - lib/HDLRuby/hdr_samples/ruby_program/sw_log.rb
174
179
  - lib/HDLRuby/hdr_samples/seqpar_bench.rb
175
180
  - lib/HDLRuby/hdr_samples/simple_counter_bench.rb
176
181
  - lib/HDLRuby/hdr_samples/struct.rb
@@ -180,6 +185,7 @@ files:
180
185
  - lib/HDLRuby/hdr_samples/system_open.rb
181
186
  - lib/HDLRuby/hdr_samples/tuple.rb
182
187
  - lib/HDLRuby/hdr_samples/type_minmax_bench.rb
188
+ - lib/HDLRuby/hdr_samples/with_board.rb
183
189
  - lib/HDLRuby/hdr_samples/with_bram.rb
184
190
  - lib/HDLRuby/hdr_samples/with_bram_frame_stack.rb
185
191
  - lib/HDLRuby/hdr_samples/with_bram_stack.rb
@@ -187,6 +193,7 @@ files:
187
193
  - lib/HDLRuby/hdr_samples/with_channel.rb
188
194
  - lib/HDLRuby/hdr_samples/with_channel_other.rb
189
195
  - lib/HDLRuby/hdr_samples/with_class.rb
196
+ - lib/HDLRuby/hdr_samples/with_clocks.rb
190
197
  - lib/HDLRuby/hdr_samples/with_concat.rb
191
198
  - lib/HDLRuby/hdr_samples/with_connector.rb
192
199
  - lib/HDLRuby/hdr_samples/with_connector_memory.rb
@@ -208,6 +215,12 @@ files:
208
215
  - lib/HDLRuby/hdr_samples/with_memory_rom.rb
209
216
  - lib/HDLRuby/hdr_samples/with_multi_channels.rb
210
217
  - lib/HDLRuby/hdr_samples/with_of.rb
218
+ - lib/HDLRuby/hdr_samples/with_program_c.rb
219
+ - lib/HDLRuby/hdr_samples/with_program_ruby.rb
220
+ - lib/HDLRuby/hdr_samples/with_program_ruby_cpu.rb
221
+ - lib/HDLRuby/hdr_samples/with_program_ruby_io.rb
222
+ - lib/HDLRuby/hdr_samples/with_program_ruby_mem.rb
223
+ - lib/HDLRuby/hdr_samples/with_program_ruby_threads.rb
211
224
  - lib/HDLRuby/hdr_samples/with_reconf.rb
212
225
  - lib/HDLRuby/hdr_samples/with_reduce.rb
213
226
  - lib/HDLRuby/hdr_samples/with_ref_array.rb
@@ -399,11 +412,16 @@ files:
399
412
  - lib/HDLRuby/test_hruby_high.rb
400
413
  - lib/HDLRuby/test_hruby_high_low.rb
401
414
  - lib/HDLRuby/test_hruby_low.rb
415
+ - lib/HDLRuby/ui/hruby_board.rb
402
416
  - lib/HDLRuby/v_samples/adder.v
403
417
  - lib/HDLRuby/v_samples/dff.v
404
418
  - lib/HDLRuby/v_samples/ram.v
405
419
  - lib/HDLRuby/v_samples/rom.v
406
420
  - lib/HDLRuby/version.rb
421
+ - lib/c/Rakefile
422
+ - lib/c/cHDL.h
423
+ - lib/c/extconf.rb
424
+ - lib/rubyHDL.rb
407
425
  - makedoc
408
426
  - metadata.yaml
409
427
  - tuto/adder_sat_flags_vcd.png
@@ -420,6 +438,8 @@ files:
420
438
  - tuto/clock_counter_vcd.png
421
439
  - tuto/counter_ext_vcd.png
422
440
  - tuto/fact_vcd.png
441
+ - tuto/gui_accum.png
442
+ - tuto/gui_board.png
423
443
  - tuto/hw_flow.odg
424
444
  - tuto/hw_flow.png
425
445
  - tuto/maxxer_vcd.png
@@ -433,7 +453,6 @@ files:
433
453
  - tuto/the_counter_vcd.png
434
454
  - tuto/tutorial_sw.html
435
455
  - tuto/tutorial_sw.md
436
- - tuto/tutorial_sw.pdf
437
456
  - tuto/tutorial_sw_jp.md
438
457
  homepage: https://github.com/civol/HDLRuby
439
458
  licenses:
@@ -455,7 +474,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
455
474
  - !ruby/object:Gem::Version
456
475
  version: '0'
457
476
  requirements: []
458
- rubygems_version: 3.4.10
477
+ rubygems_version: 3.5.3
459
478
  signing_key:
460
479
  specification_version: 4
461
480
  summary: HDLRuby is a library for describing and simulating digital electronic systems.
data/README.pdf DELETED
Binary file
data/tuto/tutorial_sw.pdf DELETED
Binary file