HDLRuby 2.11.11 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.html +3274 -0
- data/README.md +608 -99
- data/ext/hruby_sim/hruby_rcsim_build.c +27 -0
- data/ext/hruby_sim/hruby_sim.h +3 -0
- data/ext/hruby_sim/hruby_sim_calc.c +2 -0
- data/ext/hruby_sim/hruby_sim_core.c +17 -5
- data/ext/hruby_sim/hruby_sim_stack_calc.c +1 -1
- data/ext/hruby_sim/hruby_sim_tree_calc.c +8 -1
- data/ext/hruby_sim/hruby_sim_vcd.c +24 -7
- data/ext/hruby_sim/hruby_sim_vizualize.c +9 -1
- data/lib/HDLRuby/backend/hruby_allocator.rb +2 -2
- data/lib/HDLRuby/backend/hruby_c_allocator.rb +7 -7
- data/lib/HDLRuby/hdr_samples/constant_in_function.rb +3 -1
- data/lib/HDLRuby/hdr_samples/counter_dff_bench.rb +3 -1
- data/lib/HDLRuby/hdr_samples/huge_rom.rb +1 -1
- data/lib/HDLRuby/hdr_samples/mei8.rb +11 -11
- data/lib/HDLRuby/hdr_samples/mei8_bench.rb +12 -12
- data/lib/HDLRuby/hdr_samples/neg_arith_bench.rb +4 -4
- data/lib/HDLRuby/hdr_samples/rom_nest.rb +1 -1
- data/lib/HDLRuby/hdr_samples/ruby_fir_hw.rb +4 -4
- data/lib/HDLRuby/hdr_samples/struct.rb +44 -10
- data/lib/HDLRuby/hdr_samples/with_bram.rb +45 -0
- data/lib/HDLRuby/hdr_samples/with_bram_frame_stack.rb +105 -0
- data/lib/HDLRuby/hdr_samples/with_bram_stack.rb +69 -0
- data/lib/HDLRuby/hdr_samples/with_casts.rb +3 -3
- data/lib/HDLRuby/hdr_samples/with_concat.rb +6 -6
- data/lib/HDLRuby/hdr_samples/with_connector_memory.rb +2 -2
- data/lib/HDLRuby/hdr_samples/with_def.rb +10 -3
- data/lib/HDLRuby/hdr_samples/with_define_operator.rb +44 -0
- data/lib/HDLRuby/hdr_samples/with_fixpoint.rb +12 -12
- data/lib/HDLRuby/hdr_samples/with_init.rb +3 -3
- data/lib/HDLRuby/hdr_samples/with_leftright.rb +21 -0
- data/lib/HDLRuby/hdr_samples/with_reduce.rb +13 -13
- data/lib/HDLRuby/hdr_samples/with_ref_array.rb +6 -6
- data/lib/HDLRuby/hdr_samples/with_register_stack.rb +150 -0
- data/lib/HDLRuby/hdr_samples/with_sequencer.rb +190 -0
- data/lib/HDLRuby/hdr_samples/with_sequencer_deep.rb +91 -0
- data/lib/HDLRuby/hdr_samples/with_sequencer_enumerable.rb +405 -0
- data/lib/HDLRuby/hdr_samples/with_sequencer_enumerator.rb +89 -0
- data/lib/HDLRuby/hdr_samples/with_sequencer_sync.rb +120 -0
- data/lib/HDLRuby/hdr_samples/with_subsums.rb +3 -3
- data/lib/HDLRuby/hdr_samples/with_terminate.rb +3 -3
- data/lib/HDLRuby/hdr_samples/with_to_a.rb +10 -10
- data/lib/HDLRuby/hdr_samples/with_values.rb +3 -3
- data/lib/HDLRuby/hdrcc.rb +29 -3
- data/lib/HDLRuby/hdrlib.rb +1 -1
- data/lib/HDLRuby/hruby_bstr.rb +10 -5
- data/lib/HDLRuby/hruby_db.rb +2 -2
- data/lib/HDLRuby/hruby_high.rb +152 -47
- data/lib/HDLRuby/hruby_high_fullname.rb +3 -1
- data/lib/HDLRuby/hruby_low.rb +189 -18
- data/lib/HDLRuby/hruby_low2c.rb +129 -54
- data/lib/HDLRuby/hruby_low2hdr.rb +66 -40
- data/lib/HDLRuby/hruby_low2high.rb +86 -44
- data/lib/HDLRuby/hruby_low2seq.rb +26 -18
- data/lib/HDLRuby/hruby_low2sym.rb +14 -13
- data/lib/HDLRuby/hruby_low2vhd.rb +80 -44
- data/lib/HDLRuby/hruby_low_bool2select.rb +61 -46
- data/lib/HDLRuby/hruby_low_casts_without_expression.rb +56 -44
- data/lib/HDLRuby/hruby_low_cleanup.rb +18 -16
- data/lib/HDLRuby/hruby_low_fix_types.rb +65 -32
- data/lib/HDLRuby/hruby_low_mutable.rb +83 -119
- data/lib/HDLRuby/hruby_low_resolve.rb +38 -30
- data/lib/HDLRuby/hruby_low_with_bool.rb +33 -16
- data/lib/HDLRuby/hruby_low_with_port.rb +3 -3
- data/lib/HDLRuby/hruby_low_with_var.rb +23 -9
- data/lib/HDLRuby/hruby_low_without_concat.rb +45 -19
- data/lib/HDLRuby/hruby_low_without_namespace.rb +47 -32
- data/lib/HDLRuby/hruby_low_without_parinseq.rb +32 -16
- data/lib/HDLRuby/hruby_low_without_select.rb +37 -24
- data/lib/HDLRuby/hruby_low_without_subsignals.rb +280 -0
- data/lib/HDLRuby/hruby_rcsim.rb +158 -134
- data/lib/HDLRuby/hruby_rsim.rb +194 -20
- data/lib/HDLRuby/hruby_rsim_mute.rb +2 -3
- data/lib/HDLRuby/hruby_rsim_vcd.rb +125 -50
- data/lib/HDLRuby/hruby_values.rb +48 -33
- data/lib/HDLRuby/hruby_verilog.rb +90 -48
- data/lib/HDLRuby/soft/stacks.rb +219 -0
- data/lib/HDLRuby/std/bram.rb +26 -0
- data/lib/HDLRuby/std/clocks.rb +1 -1
- data/lib/HDLRuby/std/fixpoint.rb +2 -2
- data/lib/HDLRuby/std/fsm.rb +48 -11
- data/lib/HDLRuby/std/function_generator.rb +2 -2
- data/lib/HDLRuby/std/sequencer.rb +1857 -0
- data/lib/HDLRuby/std/sequencer_sync.rb +400 -0
- data/lib/HDLRuby/std/std.rb +12 -0
- data/lib/HDLRuby/version.rb +1 -1
- data/tuto/adder_sat_flags_vcd.png +0 -0
- data/tuto/addsub_vcd.png +0 -0
- data/tuto/alu_vcd.png +0 -0
- data/tuto/bit_pong_vcd.png +0 -0
- data/tuto/checksum_vcd.png +0 -0
- data/tuto/circuit_hdr.odg +0 -0
- data/tuto/circuit_hdr.png +0 -0
- data/tuto/circuit_hie.odg +0 -0
- data/tuto/circuit_hie.png +0 -0
- data/tuto/circuit_view.odg +0 -0
- data/tuto/circuit_view.png +0 -0
- data/tuto/clock_counter_vcd.png +0 -0
- data/tuto/counter_ext_vcd.png +0 -0
- data/tuto/fact_vcd.png +0 -0
- data/tuto/hw_flow.odg +0 -0
- data/tuto/hw_flow.png +0 -0
- data/tuto/maxxer_vcd.png +0 -0
- data/tuto/pingpong0_vcd.png +0 -0
- data/tuto/pingpong1_vcd.png +0 -0
- data/tuto/pingpong2_vcd.png +0 -0
- data/tuto/ram_vcd.png +0 -0
- data/tuto/serializer_vcd.png +0 -0
- data/tuto/sw_flow.odg +0 -0
- data/tuto/sw_flow.png +0 -0
- data/tuto/the_counter_vcd.png +0 -0
- data/tuto/tutorial_sw.html +2359 -0
- data/tuto/tutorial_sw.md +2684 -0
- data/tuto/tutorial_sw.pdf +0 -0
- data/tuto/tutorial_sw_jp.md +417 -0
- metadata +49 -3
- data/lib/HDLRuby/hdr_samples/sumprod.rb +0 -29
@@ -340,8 +340,8 @@ module HDLRuby::Low
|
|
340
340
|
end
|
341
341
|
|
342
342
|
|
343
|
-
## Extends the SystemT class with generation of HDLRuby::High text.
|
344
343
|
class SystemT
|
344
|
+
## Extends the SystemT class with generation of HDLRuby::High text.
|
345
345
|
|
346
346
|
# Generates the text of the equivalent HDLRuby::High code.
|
347
347
|
# +level+ is the hierachical level of the object.
|
@@ -403,8 +403,8 @@ module HDLRuby::Low
|
|
403
403
|
end
|
404
404
|
|
405
405
|
|
406
|
-
## Extends the Scope class with generation of HDLRuby::High text.
|
407
406
|
class Scope
|
407
|
+
## Extends the Scope class with generation of HDLRuby::High text.
|
408
408
|
|
409
409
|
## Tells if an expression is a reference to port +systemI.signal+.
|
410
410
|
def port_assign?(expr, systemI, signal)
|
@@ -611,8 +611,8 @@ module HDLRuby::Low
|
|
611
611
|
end
|
612
612
|
|
613
613
|
|
614
|
-
## Extends the Type class with generation of HDLRuby::High text.
|
615
614
|
class Type
|
615
|
+
## Extends the Type class with generation of HDLRuby::High text.
|
616
616
|
|
617
617
|
# Generates the text of the equivalent HDLRuby::High code.
|
618
618
|
# +level+ is the hierachical level of the object.
|
@@ -621,8 +621,9 @@ module HDLRuby::Low
|
|
621
621
|
end
|
622
622
|
end
|
623
623
|
|
624
|
-
|
624
|
+
|
625
625
|
class TypeDef
|
626
|
+
## Extends the TypeDef class with generation of HDLRuby::High text.
|
626
627
|
|
627
628
|
# Generates the text of the equivalent HDLRuby::High code.
|
628
629
|
# +level+ is the hierachical level of the object.
|
@@ -644,8 +645,9 @@ module HDLRuby::Low
|
|
644
645
|
end
|
645
646
|
end
|
646
647
|
|
647
|
-
|
648
|
+
|
648
649
|
class TypeVector
|
650
|
+
## Extends the TypeVector class with generation of HDLRuby::High text.
|
649
651
|
|
650
652
|
# Generates the text of the equivalent HDLRuby::High code.
|
651
653
|
# +level+ is the hierachical level of the object.
|
@@ -703,8 +705,9 @@ module HDLRuby::Low
|
|
703
705
|
end
|
704
706
|
end
|
705
707
|
|
706
|
-
|
708
|
+
|
707
709
|
class TypeTuple
|
710
|
+
## Extends the TypeTuple class with generation of HDLRuby::High text.
|
708
711
|
|
709
712
|
# Generates the text of the equivalent HDLRuby::High code.
|
710
713
|
# +level+ is the hierachical level of the object.
|
@@ -716,8 +719,9 @@ module HDLRuby::Low
|
|
716
719
|
end
|
717
720
|
end
|
718
721
|
|
719
|
-
|
722
|
+
|
720
723
|
class TypeStruct
|
724
|
+
## Extends the TypeStruct class with generation of HDLRuby::High text.
|
721
725
|
|
722
726
|
# Generates the text of the equivalent HDLRuby::High code.
|
723
727
|
# +level+ is the hierachical level of the object.
|
@@ -740,8 +744,8 @@ module HDLRuby::Low
|
|
740
744
|
end
|
741
745
|
|
742
746
|
|
743
|
-
## Extends the Behavior class with generation of HDLRuby::High text.
|
744
747
|
class Behavior
|
748
|
+
## Extends the Behavior class with generation of HDLRuby::High text.
|
745
749
|
|
746
750
|
# Generates the text of the equivalent HDLRuby::High code.
|
747
751
|
# +level+ is the hierachical level of the object.
|
@@ -807,7 +811,8 @@ module HDLRuby::Low
|
|
807
811
|
res << " " * (level*3)
|
808
812
|
res << "begin\n"
|
809
813
|
# Generate the edges if any.
|
810
|
-
if self.each_event.find {|event| event.type != :change} then
|
814
|
+
# if self.each_event.find {|event| event.type != :change} then
|
815
|
+
if self.each_event.find {|event| event.type != :anyedge} then
|
811
816
|
# Generate the edge test.
|
812
817
|
level = level + 1
|
813
818
|
res << " " * (level*3)
|
@@ -844,20 +849,24 @@ module HDLRuby::Low
|
|
844
849
|
end
|
845
850
|
end
|
846
851
|
|
847
|
-
|
852
|
+
|
848
853
|
class TimeBehavior
|
854
|
+
## Extends the TimeBehavior class with generation of HDLRuby::High text.
|
855
|
+
|
849
856
|
# TimeBehavior is identical to Behavior in VHDL
|
850
857
|
end
|
851
858
|
|
852
859
|
|
853
|
-
## Extends the Event class with generation of HDLRuby::High text.
|
854
860
|
class Event
|
861
|
+
## Extends the Event class with generation of HDLRuby::High text.
|
862
|
+
|
855
863
|
# Events are not directly generated.
|
856
864
|
end
|
857
865
|
|
858
866
|
|
859
|
-
## Extends the SignalI class with generation of HDLRuby::High text.
|
860
867
|
class SignalI
|
868
|
+
## Extends the SignalI class with generation of HDLRuby::High text.
|
869
|
+
|
861
870
|
# Signals are not directly generated.
|
862
871
|
|
863
872
|
# Generates the text of the equivalent HDLRuby::High code.
|
@@ -869,8 +878,9 @@ module HDLRuby::Low
|
|
869
878
|
end
|
870
879
|
|
871
880
|
|
872
|
-
## Extends the SystemI class with generation of HDLRuby::High text.
|
873
881
|
class SystemI
|
882
|
+
## Extends the SystemI class with generation of HDLRuby::High text.
|
883
|
+
|
874
884
|
# Instances are not directly generated.
|
875
885
|
|
876
886
|
# Generates the text of the equivalent HDLRuby::High code.
|
@@ -882,8 +892,8 @@ module HDLRuby::Low
|
|
882
892
|
end
|
883
893
|
|
884
894
|
|
885
|
-
## Extends the Statement class with generation of HDLRuby::High text.
|
886
895
|
class Statement
|
896
|
+
## Extends the Statement class with generation of HDLRuby::High text.
|
887
897
|
|
888
898
|
# Generates the text of the equivalent HDLRuby::High code.
|
889
899
|
# +vars+ is the list of the variables and
|
@@ -894,8 +904,9 @@ module HDLRuby::Low
|
|
894
904
|
end
|
895
905
|
end
|
896
906
|
|
897
|
-
|
907
|
+
|
898
908
|
class Transmit
|
909
|
+
## Extends the Transmit class with generation of HDLRuby::High text.
|
899
910
|
|
900
911
|
# Generates the text of the equivalent HDLRuby::High code.
|
901
912
|
# +vars+ is the list of the variables and
|
@@ -912,8 +923,9 @@ module HDLRuby::Low
|
|
912
923
|
end
|
913
924
|
end
|
914
925
|
|
915
|
-
|
926
|
+
|
916
927
|
class Print
|
928
|
+
## Extends the Print class with generation of HDLRuby::High text.
|
917
929
|
|
918
930
|
# Generates the text of the equivalent HDLRuby::High code.
|
919
931
|
# +vars+ is the list of the variables and
|
@@ -926,8 +938,9 @@ module HDLRuby::Low
|
|
926
938
|
end
|
927
939
|
end
|
928
940
|
|
929
|
-
|
941
|
+
|
930
942
|
class TimeTerminate
|
943
|
+
## Extends the TimeTerminate class with generation of HDLRuby::High text.
|
931
944
|
|
932
945
|
# Generates the text of the equivalent HDLRuby::High code.
|
933
946
|
# +vars+ is the list of the variables and
|
@@ -937,9 +950,10 @@ module HDLRuby::Low
|
|
937
950
|
return " " * (level*3) + "finish;\n"
|
938
951
|
end
|
939
952
|
end
|
940
|
-
|
941
|
-
|
953
|
+
|
954
|
+
|
942
955
|
class If
|
956
|
+
## Extends the If class with generation of HDLRuby::High text.
|
943
957
|
|
944
958
|
# Generates the text of the equivalent HDLRuby::High code.
|
945
959
|
# +vars+ is the list of the variables and
|
@@ -971,8 +985,9 @@ module HDLRuby::Low
|
|
971
985
|
end
|
972
986
|
end
|
973
987
|
|
974
|
-
|
988
|
+
|
975
989
|
class When
|
990
|
+
## Extends the When class with generation of HDLRuby::High text.
|
976
991
|
|
977
992
|
# Generates the text of the equivalent HDLRuby::High code ensuring
|
978
993
|
# the match is of +type+.
|
@@ -990,8 +1005,9 @@ module HDLRuby::Low
|
|
990
1005
|
end
|
991
1006
|
end
|
992
1007
|
|
993
|
-
|
1008
|
+
|
994
1009
|
class Case
|
1010
|
+
## Extends the Case class with generation of HDLRuby::High text.
|
995
1011
|
|
996
1012
|
# Generates the text of the equivalent HDLRuby::High code.
|
997
1013
|
# +vars+ is the list of the variables and
|
@@ -1026,8 +1042,8 @@ module HDLRuby::Low
|
|
1026
1042
|
end
|
1027
1043
|
|
1028
1044
|
|
1029
|
-
## Extends the Delay class with generation of HDLRuby::High text.
|
1030
1045
|
class Delay
|
1046
|
+
## Extends the Delay class with generation of HDLRuby::High text.
|
1031
1047
|
|
1032
1048
|
# Generates the text of the equivalent HDLRuby::High code.
|
1033
1049
|
# +level+ is the hierachical level of the object.
|
@@ -1037,8 +1053,8 @@ module HDLRuby::Low
|
|
1037
1053
|
end
|
1038
1054
|
|
1039
1055
|
|
1040
|
-
## Extends the TimeWait class with generation of HDLRuby::High text.
|
1041
1056
|
class TimeWait
|
1057
|
+
## Extends the TimeWait class with generation of HDLRuby::High text.
|
1042
1058
|
|
1043
1059
|
# Generates the text of the equivalent HDLRuby::High code.
|
1044
1060
|
# +vars+ is the list of the variables and
|
@@ -1053,8 +1069,10 @@ module HDLRuby::Low
|
|
1053
1069
|
end
|
1054
1070
|
end
|
1055
1071
|
|
1056
|
-
|
1072
|
+
|
1057
1073
|
class TimeRepeat
|
1074
|
+
## Extends the TimeRepeat class with generation of HDLRuby::High text.
|
1075
|
+
|
1058
1076
|
# Generates the text of the equivalent HDLRuby::High code.
|
1059
1077
|
# +vars+ is the list of the variables and
|
1060
1078
|
# +level+ is the hierachical level of the object.
|
@@ -1093,8 +1111,9 @@ module HDLRuby::Low
|
|
1093
1111
|
end
|
1094
1112
|
end
|
1095
1113
|
|
1096
|
-
|
1114
|
+
|
1097
1115
|
class Block
|
1116
|
+
## Extends the Block class with generation of HDLRuby::High text.
|
1098
1117
|
|
1099
1118
|
# Generates the text of the equivalent HDLRuby::High code.
|
1100
1119
|
# +vars+ is the list of variables and
|
@@ -1114,14 +1133,16 @@ module HDLRuby::Low
|
|
1114
1133
|
end
|
1115
1134
|
end
|
1116
1135
|
|
1117
|
-
|
1136
|
+
|
1118
1137
|
class TimeBlock
|
1138
|
+
## Extends the TimeBlock class with generation of HDLRuby::High text.
|
1139
|
+
|
1119
1140
|
# TimeBlock is identical to Block in VHDL
|
1120
1141
|
end
|
1121
1142
|
|
1122
1143
|
|
1123
|
-
## Extends the Code class with generation of HDLRuby::High text.
|
1124
1144
|
class Code
|
1145
|
+
## Extends the Code class with generation of HDLRuby::High text.
|
1125
1146
|
|
1126
1147
|
# Generates the text of the equivalent HDLRuby::High code.
|
1127
1148
|
# +level+ is the hierachical level of the object.
|
@@ -1130,14 +1151,16 @@ module HDLRuby::Low
|
|
1130
1151
|
end
|
1131
1152
|
end
|
1132
1153
|
|
1133
|
-
|
1154
|
+
|
1134
1155
|
class Connection
|
1156
|
+
## Extends the Connection class with generation of HDLRuby::High text.
|
1157
|
+
|
1135
1158
|
# Nothing required, Transmit is generated identically.
|
1136
1159
|
end
|
1137
1160
|
|
1138
1161
|
|
1139
|
-
## Extends the Expression class with generation of HDLRuby::High text.
|
1140
1162
|
class Expression
|
1163
|
+
## Extends the Expression class with generation of HDLRuby::High text.
|
1141
1164
|
|
1142
1165
|
# Generates the text of the equivalent HDLRuby::High code.
|
1143
1166
|
# +level+ is the hierachical level of the object.
|
@@ -1147,8 +1170,9 @@ module HDLRuby::Low
|
|
1147
1170
|
end
|
1148
1171
|
end
|
1149
1172
|
|
1150
|
-
|
1173
|
+
|
1151
1174
|
class Value
|
1175
|
+
## Extends the Value class with generation of HDLRuby::High text.
|
1152
1176
|
|
1153
1177
|
# Generate the text of the equivalent VHDL is case of arithmetic
|
1154
1178
|
# expression.
|
@@ -1208,8 +1232,9 @@ module HDLRuby::Low
|
|
1208
1232
|
end
|
1209
1233
|
end
|
1210
1234
|
|
1211
|
-
|
1235
|
+
|
1212
1236
|
class Cast
|
1237
|
+
## Extends the Cast class with generation of HDLRuby::High text.
|
1213
1238
|
|
1214
1239
|
# Generates the text of the equivalent HDLRuby::High code.
|
1215
1240
|
# +level+ is the hierachical level of the object.
|
@@ -1240,8 +1265,9 @@ module HDLRuby::Low
|
|
1240
1265
|
end
|
1241
1266
|
end
|
1242
1267
|
|
1243
|
-
|
1268
|
+
|
1244
1269
|
class Operation
|
1270
|
+
## Extends the Operation class with generation of HDLRuby::High text.
|
1245
1271
|
|
1246
1272
|
# Generates the text of the equivalent HDLRuby::High code.
|
1247
1273
|
# +level+ is the hierachical level of the object.
|
@@ -1251,8 +1277,9 @@ module HDLRuby::Low
|
|
1251
1277
|
end
|
1252
1278
|
end
|
1253
1279
|
|
1254
|
-
|
1280
|
+
|
1255
1281
|
class Unary
|
1282
|
+
## Extends the Unary class with generation of HDLRuby::High text.
|
1256
1283
|
|
1257
1284
|
# Generates the text of the equivalent HDLRuby::High code.
|
1258
1285
|
# +level+ is the hierachical level of the object.
|
@@ -1276,8 +1303,9 @@ module HDLRuby::Low
|
|
1276
1303
|
end
|
1277
1304
|
end
|
1278
1305
|
|
1279
|
-
|
1306
|
+
|
1280
1307
|
class Binary
|
1308
|
+
## Extends the Binary class with generation of HDLRuby::High text.
|
1281
1309
|
|
1282
1310
|
# Generates the text of the equivalent HDLRuby::High code.
|
1283
1311
|
# +level+ is the hierachical level of the object.
|
@@ -1351,8 +1379,9 @@ module HDLRuby::Low
|
|
1351
1379
|
end
|
1352
1380
|
end
|
1353
1381
|
|
1354
|
-
|
1382
|
+
|
1355
1383
|
class Select
|
1384
|
+
## Extends the Select class with generation of HDLRuby::High text.
|
1356
1385
|
|
1357
1386
|
# Generates the text of the equivalent HDLRuby::High code.
|
1358
1387
|
# +level+ is the hierachical level of the object.
|
@@ -1377,8 +1406,9 @@ module HDLRuby::Low
|
|
1377
1406
|
end
|
1378
1407
|
end
|
1379
1408
|
|
1380
|
-
|
1409
|
+
|
1381
1410
|
class Concat
|
1411
|
+
## Extends the Concat class with generation of HDLRuby::High text.
|
1382
1412
|
|
1383
1413
|
# Generates the text of the equivalent HDLRuby::High code.
|
1384
1414
|
# +type+ is the expected type of the content.
|
@@ -1416,8 +1446,8 @@ module HDLRuby::Low
|
|
1416
1446
|
end
|
1417
1447
|
|
1418
1448
|
|
1419
|
-
## Extends the Ref class with generation of HDLRuby::High text.
|
1420
1449
|
class Ref
|
1450
|
+
## Extends the Ref class with generation of HDLRuby::High text.
|
1421
1451
|
|
1422
1452
|
# Generates the text of the equivalent HDLRuby::High code.
|
1423
1453
|
# +level+ is the hierachical level of the object.
|
@@ -1427,8 +1457,9 @@ module HDLRuby::Low
|
|
1427
1457
|
end
|
1428
1458
|
end
|
1429
1459
|
|
1430
|
-
|
1460
|
+
|
1431
1461
|
class RefConcat
|
1462
|
+
## Extends the RefConcat class with generation of HDLRuby::High text.
|
1432
1463
|
|
1433
1464
|
# Generates the text of the equivalent HDLRuby::High code.
|
1434
1465
|
# +level+ is the hierachical level of the object.
|
@@ -1448,8 +1479,9 @@ module HDLRuby::Low
|
|
1448
1479
|
end
|
1449
1480
|
end
|
1450
1481
|
|
1451
|
-
|
1482
|
+
|
1452
1483
|
class RefIndex
|
1484
|
+
## Extends the RefIndex class with generation of HDLRuby::High text.
|
1453
1485
|
|
1454
1486
|
# Generates the text of the equivalent HDLRuby::High code.
|
1455
1487
|
# +level+ is the hierachical level of the object.
|
@@ -1465,8 +1497,9 @@ module HDLRuby::Low
|
|
1465
1497
|
end
|
1466
1498
|
end
|
1467
1499
|
|
1468
|
-
|
1500
|
+
|
1469
1501
|
class RefRange
|
1502
|
+
## Extends the RefRange class with generation of HDLRuby::High text.
|
1470
1503
|
|
1471
1504
|
# Generates the text of the equivalent HDLRuby::High code.
|
1472
1505
|
# +level+ is the hierachical level of the object.
|
@@ -1498,8 +1531,9 @@ module HDLRuby::Low
|
|
1498
1531
|
end
|
1499
1532
|
end
|
1500
1533
|
|
1501
|
-
|
1534
|
+
|
1502
1535
|
class RefName
|
1536
|
+
## Extends the RefName class with generation of HDLRuby::High text.
|
1503
1537
|
|
1504
1538
|
# Generates the text of the equivalent HDLRuby::High code.
|
1505
1539
|
# +level+ is the hierachical level of the object.
|
@@ -1519,13 +1553,15 @@ module HDLRuby::Low
|
|
1519
1553
|
end
|
1520
1554
|
end
|
1521
1555
|
|
1522
|
-
|
1556
|
+
|
1523
1557
|
class RefThis
|
1558
|
+
## Extends the RefThis class with generation of HDLRuby::High text.
|
1524
1559
|
# Nothing to generate.
|
1525
1560
|
end
|
1526
1561
|
|
1527
|
-
|
1562
|
+
|
1528
1563
|
class StringE
|
1564
|
+
## Extends the StringE class with generation of HDLRuby::High text.
|
1529
1565
|
|
1530
1566
|
# Generates the text of the equivalent HDLRuby::High code.
|
1531
1567
|
# +level+ is the hierachical level of the object.
|
@@ -1536,8 +1572,8 @@ module HDLRuby::Low
|
|
1536
1572
|
end
|
1537
1573
|
end
|
1538
1574
|
|
1539
|
-
## Extends the Numeric class with generation of HDLRuby::High text.
|
1540
1575
|
class ::Numeric
|
1576
|
+
## Extends the Numeric class with generation of HDLRuby::High text.
|
1541
1577
|
|
1542
1578
|
# Generates the text of the equivalent HDLRuby::High code.
|
1543
1579
|
# +level+ is the hierachical level of the object.
|