axi_tdl 0.0.4 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/Gemfile.lock +1 -16
  4. data/README.md +7 -1
  5. data/axi_tdl.gemspec +2 -2
  6. data/lib/axi/AXI4/axi4_dpram_cache.rb +1 -0
  7. data/lib/axi/AXI4/axi4_dpram_cache.sv +4 -4
  8. data/lib/axi/AXI4/axis_to_axi4_wr.rb +5 -0
  9. data/lib/axi/AXI4/axis_to_axi4_wr.sv +7 -7
  10. data/lib/axi/AXI4/packet_partition/axi4_partition_rd_verb.sv +1 -1
  11. data/lib/axi/AXI4/packet_partition/data_inf_partition.sv +2 -2
  12. data/lib/axi/AXI_stream/axi_stream_latency.sv +56 -0
  13. data/lib/axi/AXI_stream/axi_stream_split_channel.sv +20 -20
  14. data/lib/axi/AXI_stream/axis_head_cut_verc.rb +99 -43
  15. data/lib/axi/AXI_stream/axis_head_cut_verc.sv +36 -39
  16. data/lib/axi/AXI_stream/axis_insert_copy.sv +1 -1
  17. data/lib/axi/AXI_stream/axis_length_split_with_user.sv +87 -0
  18. data/lib/axi/AXI_stream/axis_pipe_sync_seam.rb +41 -0
  19. data/lib/axi/AXI_stream/axis_pipe_sync_seam.sv +48 -0
  20. data/lib/axi/AXI_stream/axis_rom_contect_sim.rb +1 -0
  21. data/lib/axi/AXI_stream/packet_fifo/axi_stream_packet_long_fifo.sv +37 -16
  22. data/lib/axi/AXI_stream/parse_big_field_table_A2.sv +3 -2
  23. data/lib/axi/data_interface/data_inf_c/data_c_pipe_force_vld_bind_data.sv +1 -1
  24. data/lib/axi/data_interface/data_inf_c/data_c_pipe_sync.sv +70 -0
  25. data/lib/axi/data_interface/data_inf_c/data_c_pipe_sync_seam.rb +49 -0
  26. data/lib/axi/data_interface/data_inf_c/data_c_pipe_sync_seam.sv +84 -0
  27. data/lib/axi_tdl.rb +20 -0
  28. data/lib/axi_tdl/version.rb +1 -1
  29. data/lib/tdl/SDL/axistream/axi_stream_packet_long_fifo_sdl.rb +1 -0
  30. data/lib/tdl/SDL/path_lib.rb +1 -1
  31. data/lib/tdl/SDL/vcs_axi4_comptable.rb +9 -0
  32. data/lib/tdl/SDL/vcs_axis_comptable.rb +17 -0
  33. data/lib/tdl/SDL/vcs_data_c_comptable.rb +9 -0
  34. data/lib/tdl/class_hdl/hdl_redefine_opertor.rb +15 -3
  35. data/lib/tdl/examples/11_test_unit/tb_exp_test_unit.sv +2 -0
  36. data/lib/tdl/examples/2_hdl_class/module_def.rb +2 -1
  37. data/lib/tdl/examples/2_hdl_class/test_inst_sugar.rb +3 -1
  38. data/lib/tdl/examples/2_hdl_class/tmp/always_ff_test.sv +1 -1
  39. data/lib/tdl/examples/2_hdl_class/tmp/test_function.sv +2 -2
  40. data/lib/tdl/examples/8_top_module/tb_test_top.sv +0 -1
  41. data/lib/tdl/examples/9_itegration/tb_test_tttop.sv +0 -1
  42. data/lib/tdl/exlib/test_point.rb +8 -2
  43. data/lib/tdl/sdlmodule/sdlmodule.rb +64 -0
  44. data/lib/tdl/sdlmodule/sdlmodule_draw.rb +13 -0
  45. data/lib/tdl/sdlmodule/top_module.rb +1 -0
  46. data/lib/tdl/tdl.rb +14 -2
  47. data/lib/tdl/tdlerror/tdlerror.rb +1 -0
  48. metadata +114 -17
@@ -1,5 +1,6 @@
1
1
  class TdlError < ScriptError
2
2
  def initialize(arge)
3
+ Tdl.PutsEnable = false
3
4
  head_str0 = String.new("\n+_____________________________________________+\n")
4
5
  head_str1 = "\n|----------------TDL ERROR--------------------|\n"
5
6
  end_str0 = "\n+================TDL ERROR====================+\n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axi_tdl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cook.Darwin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-02-20 00:00:00.000000000 Z
11
+ date: 2021-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: pry
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -228,6 +214,7 @@ files:
228
214
  - lib/axi/AXI_stream/axi_stream_interconnect_S2M_auto.sv
229
215
  - lib/axi/AXI_stream/axi_stream_interconnect_S2M_with_info.sv
230
216
  - lib/axi/AXI_stream/axi_stream_interconnect_S2M_with_keep.sv.bak
217
+ - lib/axi/AXI_stream/axi_stream_latency.sv
231
218
  - lib/axi/AXI_stream/axi_stream_packet_fifo_with_info.sv.bak
232
219
  - lib/axi/AXI_stream/axi_stream_partition.sv
233
220
  - lib/axi/AXI_stream/axi_stream_partition_A1.sv
@@ -266,12 +253,15 @@ files:
266
253
  - lib/axi/AXI_stream/axis_length_fill.sv
267
254
  - lib/axi/AXI_stream/axis_length_split.sv
268
255
  - lib/axi/AXI_stream/axis_length_split_with_addr.sv
256
+ - lib/axi/AXI_stream/axis_length_split_with_user.sv
269
257
  - lib/axi/AXI_stream/axis_length_split_writh_user.sv
270
258
  - lib/axi/AXI_stream/axis_link_trigger.sv
271
259
  - lib/axi/AXI_stream/axis_master_empty.sv
272
260
  - lib/axi/AXI_stream/axis_mirror_to_master.sv
273
261
  - lib/axi/AXI_stream/axis_mirrors.sv
274
262
  - lib/axi/AXI_stream/axis_orthogonal.sv
263
+ - lib/axi/AXI_stream/axis_pipe_sync_seam.rb
264
+ - lib/axi/AXI_stream/axis_pipe_sync_seam.sv
275
265
  - lib/axi/AXI_stream/axis_ram_buffer.sv
276
266
  - lib/axi/AXI_stream/axis_rom_contect.rb
277
267
  - lib/axi/AXI_stream/axis_rom_contect.sv
@@ -413,6 +403,9 @@ files:
413
403
  - lib/axi/data_interface/data_inf_c/data_c_pipe_intc_M2S_verc_with_addr.sv
414
404
  - lib/axi/data_interface/data_inf_c/data_c_pipe_intc_M2S_verc_with_id.sv
415
405
  - lib/axi/data_interface/data_inf_c/data_c_pipe_latency.sv
406
+ - lib/axi/data_interface/data_inf_c/data_c_pipe_sync.sv
407
+ - lib/axi/data_interface/data_inf_c/data_c_pipe_sync_seam.rb
408
+ - lib/axi/data_interface/data_inf_c/data_c_pipe_sync_seam.sv
416
409
  - lib/axi/data_interface/data_inf_c/data_c_scaler.sv
417
410
  - lib/axi/data_interface/data_inf_c/data_c_scaler_A1.sv
418
411
  - lib/axi/data_interface/data_inf_c/data_c_tmp_cache.sv
@@ -821,6 +814,9 @@ files:
821
814
  - lib/tdl/SDL/fifo/independent_clock_fifo_sdl.rb
822
815
  - lib/tdl/SDL/fifo/independent_stack_sdl.rb
823
816
  - lib/tdl/SDL/path_lib.rb
817
+ - lib/tdl/SDL/vcs_axi4_comptable.rb
818
+ - lib/tdl/SDL/vcs_axis_comptable.rb
819
+ - lib/tdl/SDL/vcs_data_c_comptable.rb
824
820
  - lib/tdl/VideoInf/simple_video_gen.rb
825
821
  - lib/tdl/VideoInf/video_from_axi4.rb
826
822
  - lib/tdl/VideoInf/video_lib.rb
@@ -833,7 +829,108 @@ files:
833
829
  - lib/tdl/auto_script/import_sdl.rb
834
830
  - lib/tdl/auto_script/test_autogensdl.rb
835
831
  - lib/tdl/auto_script/tmp.rb
832
+ - lib/tdl/auto_script/tmp/TPU_reprogram_wrapper_verb_sdl.rb
833
+ - lib/tdl/auto_script/tmp/acce_iic_bus_upgrade_sdl.rb
834
+ - lib/tdl/auto_script/tmp/arp_tpu_wrapper_sdl.rb
835
+ - lib/tdl/auto_script/tmp/axi4_direct_verc_sdl.rb
836
+ - lib/tdl/auto_script/tmp/axi4_rd_mix_interconnect_M2S_A2_sdl.rb
837
+ - lib/tdl/auto_script/tmp/axi4_wr_auxiliary_gen_without_resp_sdl.rb
838
+ - lib/tdl/auto_script/tmp/axi4_wr_pipe_sdl.rb
839
+ - lib/tdl/auto_script/tmp/axi_stream_cache_35bit_sdl.rb
840
+ - lib/tdl/auto_script/tmp/axi_stream_cache_A1_sdl.rb
841
+ - lib/tdl/auto_script/tmp/axi_stream_cache_sdl.rb
842
+ - lib/tdl/auto_script/tmp/axi_stream_interconnect_M2S_A1_sdl.rb
843
+ - lib/tdl/auto_script/tmp/axi_stream_interconnect_M2S_bind_tuser_sdl.rb
844
+ - lib/tdl/auto_script/tmp/axi_stream_interconnect_S2M_sdl.rb
845
+ - lib/tdl/auto_script/tmp/axi_stream_latency_sdl.rb
846
+ - lib/tdl/auto_script/tmp/axi_stream_long_fifo_sdl.rb
847
+ - lib/tdl/auto_script/tmp/axi_stream_long_fifo_verb_sdl.rb
848
+ - lib/tdl/auto_script/tmp/axi_stream_packet_fifo_sdl.rb
849
+ - lib/tdl/auto_script/tmp/axi_stream_packet_long_fifo_sdl.rb
850
+ - lib/tdl/auto_script/tmp/axi_stream_planer_sdl.rb
851
+ - lib/tdl/auto_script/tmp/axi_streams_scaler_A1_sdl.rb
852
+ - lib/tdl/auto_script/tmp/axis_append_A1_sdl.rb
853
+ - lib/tdl/auto_script/tmp/axis_connect_pipe_right_shift_sdl.rb
854
+ - lib/tdl/auto_script/tmp/axis_connect_pipe_right_shift_verb_sdl.rb
855
+ - lib/tdl/auto_script/tmp/axis_connect_pipe_sdl.rb
856
+ - lib/tdl/auto_script/tmp/axis_connect_pipe_with_info_sdl.rb
857
+ - lib/tdl/auto_script/tmp/axis_direct_sdl.rb
858
+ - lib/tdl/auto_script/tmp/axis_head_cut_sdl.rb
859
+ - lib/tdl/auto_script/tmp/axis_head_cut_verb_sdl.rb
860
+ - lib/tdl/auto_script/tmp/axis_intc_S2M_with_addr_inf_sdl.rb
861
+ - lib/tdl/auto_script/tmp/axis_length_cut_sdl.rb
862
+ - lib/tdl/auto_script/tmp/axis_length_split_with_addr_sdl.rb
863
+ - lib/tdl/auto_script/tmp/axis_length_split_with_user_sdl.rb
864
+ - lib/tdl/auto_script/tmp/axis_master_empty_sdl.rb
865
+ - lib/tdl/auto_script/tmp/axis_mirror_to_master_sdl.rb
866
+ - lib/tdl/auto_script/tmp/axis_pkt_fifo_filter_keep_A1_sdl.rb
867
+ - lib/tdl/auto_script/tmp/axis_pkt_fifo_filter_keep_sdl.rb
868
+ - lib/tdl/auto_script/tmp/axis_slaver_empty_sdl.rb
869
+ - lib/tdl/auto_script/tmp/axis_uncompress_A1_sdl.rb
870
+ - lib/tdl/auto_script/tmp/axis_valve_sdl.rb
871
+ - lib/tdl/auto_script/tmp/axis_valve_with_pipe_sdl.rb
872
+ - lib/tdl/auto_script/tmp/axis_vector_slaver_empty_sdl.rb
873
+ - lib/tdl/auto_script/tmp/axis_width_combin_A1_sdl.rb
874
+ - lib/tdl/auto_script/tmp/axis_width_convert_sdl.rb
875
+ - lib/tdl/auto_script/tmp/axis_width_destruct_sdl.rb
876
+ - lib/tdl/auto_script/tmp/bits_decode_nc_verb_sdl.rb
877
+ - lib/tdl/auto_script/tmp/bits_decode_verb_sdl.rb
878
+ - lib/tdl/auto_script/tmp/clock_rst_verb_sdl.rb
879
+ - lib/tdl/auto_script/tmp/clock_rst_verc_sdl.rb
880
+ - lib/tdl/auto_script/tmp/common_fifo_sdl.rb
881
+ - lib/tdl/auto_script/tmp/data_c_cache_sdl.rb
882
+ - lib/tdl/auto_script/tmp/data_c_pipe_force_vld_bind_data_sdl.rb
883
+ - lib/tdl/auto_script/tmp/data_c_pipe_sync_sdl.rb
884
+ - lib/tdl/auto_script/tmp/data_inf_c_intc_S2M_sdl.rb
885
+ - lib/tdl/auto_script/tmp/data_inf_c_planer_A1_sdl.rb
886
+ - lib/tdl/auto_script/tmp/data_mirrors_sdl.rb
887
+ - lib/tdl/auto_script/tmp/data_valve_sdl.rb
888
+ - lib/tdl/auto_script/tmp/ethernet_wrapper_sdl.rb
889
+ - lib/tdl/auto_script/tmp/full_axi4_to_axis_partition_wr_rd_sdl.rb
890
+ - lib/tdl/auto_script/tmp/full_axi4_to_axis_sdl.rb
891
+ - lib/tdl/auto_script/tmp/gen_big_field_table_sdl.rb
892
+ - lib/tdl/auto_script/tmp/gen_common_frame_table_sdl.rb
893
+ - lib/tdl/auto_script/tmp/general_tap_ack_A3_sdl.rb
894
+ - lib/tdl/auto_script/tmp/general_tap_ack_sdl.rb
895
+ - lib/tdl/auto_script/tmp/general_tap_no_ack_sdl.rb
896
+ - lib/tdl/auto_script/tmp/gvi_k7_ddr3_ip_wrapper_sdl.rb
836
897
  - lib/tdl/auto_script/tmp/hdl_test_sdl.rb
898
+ - lib/tdl/auto_script/tmp/independent_clock_fifo_sdl.rb
899
+ - lib/tdl/auto_script/tmp/inf_time_delay_ctrl_verb_sdl.rb
900
+ - lib/tdl/auto_script/tmp/init_mac_sdl.rb
901
+ - lib/tdl/auto_script/tmp/ip_check_sum_sdl.rb
902
+ - lib/tdl/auto_script/tmp/k7_ethernet_10g_api_mask_shift_sdl.rb
903
+ - lib/tdl/auto_script/tmp/k7_ethernet_10g_api_sdl.rb
904
+ - lib/tdl/auto_script/tmp/mac_to_file_64b_sdl.rb
905
+ - lib/tdl/auto_script/tmp/mac_to_file_sdl.rb
906
+ - lib/tdl/auto_script/tmp/mdio_model_sdl.rb
907
+ - lib/tdl/auto_script/tmp/odata_pool_axi4_A2_sdl.rb
908
+ - lib/tdl/auto_script/tmp/odata_pool_axi4_A3_sdl.rb
909
+ - lib/tdl/auto_script/tmp/pack_ip_mac_B1_sdl.rb
910
+ - lib/tdl/auto_script/tmp/pack_ip_mac_verb_sdl.rb
911
+ - lib/tdl/auto_script/tmp/parse_big_field_table_A2_sdl.rb
912
+ - lib/tdl/auto_script/tmp/parse_big_field_table_sdl.rb
913
+ - lib/tdl/auto_script/tmp/parse_common_frame_table_A1_sdl.rb
914
+ - lib/tdl/auto_script/tmp/sensor_array_ddr_lvds_wrapper_sdl.rb
915
+ - lib/tdl/auto_script/tmp/sim_arp_tpu_sdl.rb
916
+ - lib/tdl/auto_script/tmp/sim_tpu_update_file_sdl.rb
917
+ - lib/tdl/auto_script/tmp/tcp_check_sum_sdl.rb
918
+ - lib/tdl/auto_script/tmp/tcp_option_split_sdl.rb
919
+ - lib/tdl/auto_script/tmp/time_step_module_A1_sdl.rb
920
+ - lib/tdl/auto_script/tmp/tpu_simple_boot_sdl.rb
921
+ - lib/tdl/auto_script/tmp/trigger_data_inf_c_sdl.rb
922
+ - lib/tdl/auto_script/tmp/udp_check_sum_sdl.rb
923
+ - lib/tdl/auto_script/tmp/udp_ctrl_set_A1_sdl.rb
924
+ - lib/tdl/auto_script/tmp/udp_fpga_ports_route_sdl.rb
925
+ - lib/tdl/auto_script/tmp/udp_socket_ddr_pump_A3_sdl.rb
926
+ - lib/tdl/auto_script/tmp/udp_socket_ddr_pump_verb_sdl.rb
927
+ - lib/tdl/auto_script/tmp/unpack_mac_ip_udp_D1_sdl.rb
928
+ - lib/tdl/auto_script/tmp/unpack_mac_ip_udp_tcp_sdl.rb
929
+ - lib/tdl/auto_script/tmp/unpack_mac_ip_udp_verd_sdl.rb
930
+ - lib/tdl/auto_script/tmp/wide_axis_to_axi4_wr_sdl.rb
931
+ - lib/tdl/auto_script/tmp/width_convert_verb_sdl.rb
932
+ - lib/tdl/auto_script/tmp/xilinx_hdl_dpram_sdl.rb
933
+ - lib/tdl/auto_script/tmp/xilinx_hdl_dpram_sim_sdl.rb
837
934
  - lib/tdl/axi4/axi4_combin_wr_rd_batch_auto.rb
838
935
  - lib/tdl/axi4/axi4_direct.rb
839
936
  - lib/tdl/axi4/axi4_direct_A1_auto.rb
@@ -1287,7 +1384,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1287
1384
  requirements:
1288
1385
  - - ">="
1289
1386
  - !ruby/object:Gem::Version
1290
- version: '0'
1387
+ version: 2.5.0
1291
1388
  required_rubygems_version: !ruby/object:Gem::Requirement
1292
1389
  requirements:
1293
1390
  - - ">="