HDLRuby 2.6.23 → 2.7.5
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/lib/HDLRuby/hdr_samples/case_bench.rb +35 -0
- data/lib/HDLRuby/hdr_samples/constant_in_function.rb +1 -1
- data/lib/HDLRuby/hdr_samples/if_bench.rb +24 -0
- data/lib/HDLRuby/hdr_samples/index_bench.rb +37 -0
- data/lib/HDLRuby/hdr_samples/range_bench.rb +47 -0
- data/lib/HDLRuby/hdr_samples/with_casts.rb +30 -0
- data/lib/HDLRuby/hdr_samples/with_concat.rb +26 -0
- data/lib/HDLRuby/hdr_samples/with_init.rb +18 -0
- data/lib/HDLRuby/hdr_samples/with_instance.rb +42 -0
- data/lib/HDLRuby/hdr_samples/with_ref_array.rb +26 -0
- data/lib/HDLRuby/hdr_samples/with_subsums.rb +33 -0
- data/lib/HDLRuby/hdr_samples/with_values.rb +61 -0
- data/lib/HDLRuby/hdrcc.rb +38 -25
- data/lib/HDLRuby/hruby_high.rb +37 -5
- data/lib/HDLRuby/hruby_low.rb +13 -1
- data/lib/HDLRuby/hruby_low2c.rb +1339 -556
- data/lib/HDLRuby/hruby_low_casts_without_expression.rb +1 -1
- data/lib/HDLRuby/hruby_low_mutable.rb +12 -0
- data/lib/HDLRuby/hruby_low_with_port.rb +21 -6
- data/lib/HDLRuby/hruby_low_without_namespace.rb +4 -2
- data/lib/HDLRuby/hruby_tools.rb +8 -1
- data/lib/HDLRuby/hruby_verilog.rb +218 -149
- data/lib/HDLRuby/sim/hruby_sim.h +117 -0
- data/lib/HDLRuby/sim/hruby_sim_calc.c +38 -9
- data/lib/HDLRuby/sim/hruby_sim_stack_calc.c +250 -0
- data/lib/HDLRuby/sim/hruby_sim_stack_calc.c.sav +100 -0
- data/lib/HDLRuby/sim/hruby_value_pool.c +36 -0
- data/lib/HDLRuby/version.rb +1 -1
- metadata +15 -2
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.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lovic Gauthier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -83,6 +83,7 @@ files:
|
|
83
83
|
- lib/HDLRuby/hdr_samples/alu.rb
|
84
84
|
- lib/HDLRuby/hdr_samples/bstr_bench.rb
|
85
85
|
- lib/HDLRuby/hdr_samples/calculator.rb
|
86
|
+
- lib/HDLRuby/hdr_samples/case_bench.rb
|
86
87
|
- lib/HDLRuby/hdr_samples/comparison_bench.rb
|
87
88
|
- lib/HDLRuby/hdr_samples/constant_in_function.rb
|
88
89
|
- lib/HDLRuby/hdr_samples/counter_bench.rb
|
@@ -92,7 +93,9 @@ files:
|
|
92
93
|
- lib/HDLRuby/hdr_samples/dff_properties.rb
|
93
94
|
- lib/HDLRuby/hdr_samples/dff_unit.rb
|
94
95
|
- lib/HDLRuby/hdr_samples/huge_rom.rb
|
96
|
+
- lib/HDLRuby/hdr_samples/if_bench.rb
|
95
97
|
- lib/HDLRuby/hdr_samples/include.rb
|
98
|
+
- lib/HDLRuby/hdr_samples/index_bench.rb
|
96
99
|
- lib/HDLRuby/hdr_samples/instance_open.rb
|
97
100
|
- lib/HDLRuby/hdr_samples/linear_test.rb
|
98
101
|
- lib/HDLRuby/hdr_samples/logic_bench.rb
|
@@ -124,6 +127,7 @@ files:
|
|
124
127
|
- lib/HDLRuby/hdr_samples/neural/z.rb
|
125
128
|
- lib/HDLRuby/hdr_samples/prog.obj
|
126
129
|
- lib/HDLRuby/hdr_samples/ram.rb
|
130
|
+
- lib/HDLRuby/hdr_samples/range_bench.rb
|
127
131
|
- lib/HDLRuby/hdr_samples/register_with_code_bench.rb
|
128
132
|
- lib/HDLRuby/hdr_samples/rom.rb
|
129
133
|
- lib/HDLRuby/hdr_samples/ruby_fir_hw.rb
|
@@ -136,14 +140,18 @@ files:
|
|
136
140
|
- lib/HDLRuby/hdr_samples/system_open.rb
|
137
141
|
- lib/HDLRuby/hdr_samples/tuple.rb
|
138
142
|
- lib/HDLRuby/hdr_samples/type_minmax_bench.rb
|
143
|
+
- lib/HDLRuby/hdr_samples/with_casts.rb
|
139
144
|
- lib/HDLRuby/hdr_samples/with_channel.rb
|
140
145
|
- lib/HDLRuby/hdr_samples/with_class.rb
|
146
|
+
- lib/HDLRuby/hdr_samples/with_concat.rb
|
141
147
|
- lib/HDLRuby/hdr_samples/with_connector.rb
|
142
148
|
- lib/HDLRuby/hdr_samples/with_connector_memory.rb
|
143
149
|
- lib/HDLRuby/hdr_samples/with_decoder.rb
|
144
150
|
- lib/HDLRuby/hdr_samples/with_fixpoint.rb
|
145
151
|
- lib/HDLRuby/hdr_samples/with_fsm.rb
|
146
152
|
- lib/HDLRuby/hdr_samples/with_function_generator.rb
|
153
|
+
- lib/HDLRuby/hdr_samples/with_init.rb
|
154
|
+
- lib/HDLRuby/hdr_samples/with_instance.rb
|
147
155
|
- lib/HDLRuby/hdr_samples/with_linear.rb
|
148
156
|
- lib/HDLRuby/hdr_samples/with_loop.rb
|
149
157
|
- lib/HDLRuby/hdr_samples/with_memory.rb
|
@@ -151,9 +159,12 @@ files:
|
|
151
159
|
- lib/HDLRuby/hdr_samples/with_multi_channels.rb
|
152
160
|
- lib/HDLRuby/hdr_samples/with_reconf.rb
|
153
161
|
- lib/HDLRuby/hdr_samples/with_reduce.rb
|
162
|
+
- lib/HDLRuby/hdr_samples/with_ref_array.rb
|
154
163
|
- lib/HDLRuby/hdr_samples/with_str2value.rb
|
164
|
+
- lib/HDLRuby/hdr_samples/with_subsums.rb
|
155
165
|
- lib/HDLRuby/hdr_samples/with_to_a.rb
|
156
166
|
- lib/HDLRuby/hdr_samples/with_to_array.rb
|
167
|
+
- lib/HDLRuby/hdr_samples/with_values.rb
|
157
168
|
- lib/HDLRuby/hdrcc.rb
|
158
169
|
- lib/HDLRuby/high_samples/_adder_fault.rb
|
159
170
|
- lib/HDLRuby/high_samples/_generic_transmission2.rb
|
@@ -296,6 +307,8 @@ files:
|
|
296
307
|
- lib/HDLRuby/sim/hruby_sim_calc.c
|
297
308
|
- lib/HDLRuby/sim/hruby_sim_core.c
|
298
309
|
- lib/HDLRuby/sim/hruby_sim_list.c
|
310
|
+
- lib/HDLRuby/sim/hruby_sim_stack_calc.c
|
311
|
+
- lib/HDLRuby/sim/hruby_sim_stack_calc.c.sav
|
299
312
|
- lib/HDLRuby/sim/hruby_sim_vcd.c
|
300
313
|
- lib/HDLRuby/sim/hruby_sim_vizualize.c
|
301
314
|
- lib/HDLRuby/sim/hruby_value_pool.c
|