HDLRuby 2.6.4 → 2.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/HDLRuby/hdr_samples/comparison_bench.rb +40 -0
- data/lib/HDLRuby/hdr_samples/neg_arith_bench.rb +11 -0
- data/lib/HDLRuby/hdr_samples/type_minmax_bench.rb +37 -0
- data/lib/HDLRuby/hdr_samples/with_to_array.rb +29 -0
- data/lib/HDLRuby/hdrcc.rb +49 -24
- data/lib/HDLRuby/hruby_high.rb +136 -117
- data/lib/HDLRuby/hruby_low.rb +58 -27
- data/lib/HDLRuby/hruby_low2c.rb +3 -1
- data/lib/HDLRuby/hruby_low_resolve.rb +24 -0
- data/lib/HDLRuby/hruby_verilog.rb +5 -5
- data/lib/HDLRuby/hruby_verilog_name.rb +50 -32
- data/lib/HDLRuby/sim/hruby_sim.h +16 -2
- data/lib/HDLRuby/sim/hruby_sim_calc.c +293 -18
- data/lib/HDLRuby/sim/hruby_sim_vcd.c +2 -2
- data/lib/HDLRuby/version.rb +1 -1
- metadata +5 -2
@@ -366,8 +366,8 @@ static void vcd_print_header() {
|
|
366
366
|
extern void init_vcd_visualizer(char* name) {
|
367
367
|
/* Open the resulting file with name: <name>.vcd */
|
368
368
|
char filename[256];
|
369
|
-
strncpy(filename,name,
|
370
|
-
strncat(filename,".vcd",
|
369
|
+
strncpy(filename,name,255);
|
370
|
+
strncat(filename,".vcd",255);
|
371
371
|
vcd_file = fopen(filename,"w");
|
372
372
|
|
373
373
|
/* Initialize the vizualizer printer engine. */
|
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.6.
|
4
|
+
version: 2.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lovic Gauthier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-09-15 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/comparison_bench.rb
|
86
87
|
- lib/HDLRuby/hdr_samples/constant_in_function.rb
|
87
88
|
- lib/HDLRuby/hdr_samples/counter_bench.rb
|
88
89
|
- lib/HDLRuby/hdr_samples/dff.rb
|
@@ -134,6 +135,7 @@ files:
|
|
134
135
|
- lib/HDLRuby/hdr_samples/sw_encrypt_cpusim_bench.rb
|
135
136
|
- lib/HDLRuby/hdr_samples/system_open.rb
|
136
137
|
- lib/HDLRuby/hdr_samples/tuple.rb
|
138
|
+
- lib/HDLRuby/hdr_samples/type_minmax_bench.rb
|
137
139
|
- lib/HDLRuby/hdr_samples/with_channel.rb
|
138
140
|
- lib/HDLRuby/hdr_samples/with_class.rb
|
139
141
|
- lib/HDLRuby/hdr_samples/with_connector.rb
|
@@ -148,6 +150,7 @@ files:
|
|
148
150
|
- lib/HDLRuby/hdr_samples/with_memory_rom.rb
|
149
151
|
- lib/HDLRuby/hdr_samples/with_multi_channels.rb
|
150
152
|
- lib/HDLRuby/hdr_samples/with_reconf.rb
|
153
|
+
- lib/HDLRuby/hdr_samples/with_to_array.rb
|
151
154
|
- lib/HDLRuby/hdrcc.rb
|
152
155
|
- lib/HDLRuby/high_samples/_adder_fault.rb
|
153
156
|
- lib/HDLRuby/high_samples/_generic_transmission2.rb
|