HDLRuby 2.2.14 → 2.3.1
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 +4 -4
- data/README.md +14 -8
- data/lib/HDLRuby/hdr_samples/linear_test.rb +235 -0
- data/lib/HDLRuby/hdr_samples/rom.rb +2 -2
- data/lib/HDLRuby/hdr_samples/ruby_fir_hw.rb +96 -0
- data/lib/HDLRuby/hdr_samples/with_fixpoint.rb +3 -2
- data/lib/HDLRuby/hdr_samples/with_linear.rb +166 -0
- data/lib/HDLRuby/hdr_samples/with_loop.rb +69 -0
- data/lib/HDLRuby/hdr_samples/with_memory.rb +13 -3
- data/lib/HDLRuby/hdrcc.rb +1 -1
- data/lib/HDLRuby/hruby_high.rb +12 -4
- data/lib/HDLRuby/hruby_low.rb +25 -28
- data/lib/HDLRuby/hruby_low2c.rb +10 -5
- data/lib/HDLRuby/hruby_low2high.rb +1 -1
- data/lib/HDLRuby/hruby_low2vhd.rb +63 -48
- data/lib/HDLRuby/hruby_low_fix_types.rb +6 -2
- data/lib/HDLRuby/hruby_low_mutable.rb +2 -1
- data/lib/HDLRuby/hruby_low_resolve.rb +7 -4
- data/lib/HDLRuby/hruby_low_without_concat.rb +8 -4
- data/lib/HDLRuby/hruby_types.rb +82 -72
- data/lib/HDLRuby/hruby_verilog.rb +9 -1
- data/lib/HDLRuby/sim/hruby_sim.h +21 -0
- data/lib/HDLRuby/sim/hruby_sim_calc.c +254 -18
- data/lib/HDLRuby/std/channel.rb +103 -32
- data/lib/HDLRuby/std/fixpoint.rb +15 -6
- data/lib/HDLRuby/std/linear.rb +317 -0
- data/lib/HDLRuby/std/loop.rb +101 -0
- data/lib/HDLRuby/std/memory.rb +1000 -30
- data/lib/HDLRuby/std/task.rb +850 -0
- data/lib/HDLRuby/version.rb +1 -1
- metadata +9 -2
data/lib/HDLRuby/version.rb
CHANGED
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
|
+
version: 2.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: 2020-
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -82,6 +82,7 @@ files:
|
|
82
82
|
- lib/HDLRuby/hdr_samples/dff_counter.rb
|
83
83
|
- lib/HDLRuby/hdr_samples/include.rb
|
84
84
|
- lib/HDLRuby/hdr_samples/instance_open.rb
|
85
|
+
- lib/HDLRuby/hdr_samples/linear_test.rb
|
85
86
|
- lib/HDLRuby/hdr_samples/mei8.rb
|
86
87
|
- lib/HDLRuby/hdr_samples/mei8_bench.rb
|
87
88
|
- lib/HDLRuby/hdr_samples/memory_test.rb
|
@@ -106,6 +107,7 @@ files:
|
|
106
107
|
- lib/HDLRuby/hdr_samples/ram.rb
|
107
108
|
- lib/HDLRuby/hdr_samples/register_with_code_bench.rb
|
108
109
|
- lib/HDLRuby/hdr_samples/rom.rb
|
110
|
+
- lib/HDLRuby/hdr_samples/ruby_fir_hw.rb
|
109
111
|
- lib/HDLRuby/hdr_samples/struct.rb
|
110
112
|
- lib/HDLRuby/hdr_samples/sumprod.rb
|
111
113
|
- lib/HDLRuby/hdr_samples/sw_encrypt_bench.rb
|
@@ -118,6 +120,8 @@ files:
|
|
118
120
|
- lib/HDLRuby/hdr_samples/with_decoder.rb
|
119
121
|
- lib/HDLRuby/hdr_samples/with_fixpoint.rb
|
120
122
|
- lib/HDLRuby/hdr_samples/with_fsm.rb
|
123
|
+
- lib/HDLRuby/hdr_samples/with_linear.rb
|
124
|
+
- lib/HDLRuby/hdr_samples/with_loop.rb
|
121
125
|
- lib/HDLRuby/hdr_samples/with_memory.rb
|
122
126
|
- lib/HDLRuby/hdr_samples/with_reconf.rb
|
123
127
|
- lib/HDLRuby/hdrcc.rb
|
@@ -266,9 +270,12 @@ files:
|
|
266
270
|
- lib/HDLRuby/std/decoder.rb
|
267
271
|
- lib/HDLRuby/std/fixpoint.rb
|
268
272
|
- lib/HDLRuby/std/fsm.rb
|
273
|
+
- lib/HDLRuby/std/linear.rb
|
274
|
+
- lib/HDLRuby/std/loop.rb
|
269
275
|
- lib/HDLRuby/std/memory.rb
|
270
276
|
- lib/HDLRuby/std/pipeline.rb
|
271
277
|
- lib/HDLRuby/std/reconf.rb
|
278
|
+
- lib/HDLRuby/std/task.rb
|
272
279
|
- lib/HDLRuby/test_hruby_bstr.rb
|
273
280
|
- lib/HDLRuby/test_hruby_high.rb
|
274
281
|
- lib/HDLRuby/test_hruby_high_low.rb
|