v++ -c --mode aie の出力ディレクトリ - 2023.2 日本語

Vitis 統合ソフトウェア プラットフォームの資料: アプリケーション アクセラレーション開発 (UG1393)

Document ID
UG1393
Release Date
2023-12-13
Version
2023.2 日本語

v++ -c --mode aie コマンドで生成されるディレクトリ構造は、プロジェクトからファイルを簡単に見つけてアクセスできるように構成されています。

次に示す例のディレクトリは、次のコマンド ラインで生成されます。

v++ -c --mode aie --target hw --config ./workAIE/aie_sys_design_aie/aiecompiler.cfg \
--platform $XILINX_VITIS/base_platforms/xilinx_vck190_base_202320_1/xilinx_vck190_base_202320_1.xpfm \
--work_dir ./newAIE/hw/Work ./workAIE/aie_sys_design_aie/src/graph.cpp

aie_config.cfg.cfg ファイルでは、次のオプションが定義されます。

include=./workAIE/aie_sys_design_aie
include=./workAIE/aie_sys_design_aie/../aie_sys_design_common/src
include=./workAIE/aie_sys_design_aie/src

[aie]
Xchess=main:darts.xargs=-nb
log-level=1
stacksize=1024
heapsize=1024

次は v++ コマンドの AI エンジン コンポーネント ディレクトリ出力の例です。

newAIE
└── hw
    └── Work
        ├── aie
        │   ├── 24_0
        │   │   ├── 24_0.log
        │   │   ├── Release
        │   │   │   ├── 24_0
        │   │   │   ├── 24_0.#
        │   │   │   ├── 24_0.##
        │   │   │   ├── 24_0.calltree
        │   │   │   ├── 24_0.cmic2
        │   │   │   ├── 24_0.cmico
        │   │   │   ├── 24_0.lst
        │   │   │   ├── 24_0.map
        │   │   │   ├── 24_0.o
        │   │   │   ├── 24_0.o.lst
        │   │   │   ├── 24_0.sdr
        │   │   │   ├── 24_0.srv
        │   │   │   ├── 24_0.txt
        │   │   │   └── chesswork
        │   │   │       ├── 24_0.aliases
        │   │   │       ├── 24_0.ctt
        │   │   │       ├── 24_0.dti
        │   │   │       ├── 24_0.fnm
        │   │   │       ├── 24_0-F_Z17fir_27t_sym_hb_2iP12input_windowI6cint16EP13output_windowIS0_E_.#
        │   │   │       ├── 24_0-F_Z17fir_27t_sym_hb_2iP12input_windowI6cint16EP13output_windowIS0_E_.o
        │   │   │       ├── 24_0-F_Z17fir_27t_sym_hb_2iP12input_windowI6cint16EP13output_windowIS0_E__ra.lib
        │   │   │       ├── 24_0-F_Z17fir_27t_sym_hb_2iP12input_windowI6cint16EP13output_windowIS0_E_.sfg
        │   │   │       ├── 24_0.gvt
        │   │   │       ├── 24_0.gvt.#
        │   │   │       ├── 24_0.gvt.o
        │   │   │       ├── 24_0.ini
        │   │   │       ├── 24_0.lib
        │   │   │       ├── 24_0-main_.#
        │   │   │       ├── 24_0-main_.o
        │   │   │       ├── 24_0-main__ra.lib
        │   │   │       ├── 24_0-main_.sfg
        │   │   │       ├── 24_0.objlist
        │   │   │       └── 24_0.sfg
        │   │   ├── scripts
        │   │   │   ├── 24_0.bcf
        │   │   │   └── 24_0.prx
        │   │   ├── src
        │   │   │   └── 24_0.cc
        │   │   ├── timestamped_log
        │   │   │   └── 24_0-2023-09-01-12-08-47.log
        │   │   └── xlopt.log
        │   ├── 25_0
        │   │   ├── 25_0.log
        │   │   ├── Release
        │   │   │   ├── 25_0
        │   │   │   ├── 25_0.#
        │   │   │   ├── 25_0.##
        │   │   │   ├── 25_0.calltree
        │   │   │   ├── 25_0.cmic2
        │   │   │   ├── 25_0.cmico
        │   │   │   ├── 25_0.lst
        │   │   │   ├── 25_0.map
        │   │   │   ├── 25_0.o
        │   │   │   ├── 25_0.o.lst
        │   │   │   ├── 25_0.sdr
        │   │   │   ├── 25_0.srv
        │   │   │   ├── 25_0.txt
        │   │   │   └── chesswork
        │   │   │       ├── 25_0.aliases
        │   │   │       ├── 25_0-classifier_.#
        │   │   │       ├── 25_0-classifier_.o
        │   │   │       ├── 25_0-classifier__ra.lib
        │   │   │       ├── 25_0-classifier_.sfg
        │   │   │       ├── 25_0.ctt
        │   │   │       ├── 25_0.dti
        │   │   │       ├── 25_0.fnm
        │   │   │       ├── 25_0.gvt
        │   │   │       ├── 25_0.gvt.#
        │   │   │       ├── 25_0.gvt.o
        │   │   │       ├── 25_0.ini
        │   │   │       ├── 25_0.lib
        │   │   │       ├── 25_0-main_.#
        │   │   │       ├── 25_0-main_.o
        │   │   │       ├── 25_0-main__ra.lib
        │   │   │       ├── 25_0-main_.sfg
        │   │   │       ├── 25_0.objlist
        │   │   │       └── 25_0.sfg
        │   │   ├── scripts
        │   │   │   ├── 25_0.bcf
        │   │   │   └── 25_0.prx
        │   │   ├── src
        │   │   │   └── 25_0.cc
        │   │   ├── timestamped_log
        │   │   │   └── 25_0-2023-09-01-12-08-47.log
        │   │   └── xlopt.log
        │   ├── active_cores.json
        │   ├── AddressSpace.txt
        │   ├── AliasAnalysisReport.txt
        │   ├── ir
        │   │   ├── 24_0_dependence.json
        │   │   ├── 24_0_guidance.json
        │   │   ├── 24_0.ll
        │   │   ├── 24_0_main.ll
        │   │   ├── 24_0_orig.ll
        │   │   ├── 25_0_dependence.json
        │   │   ├── 25_0_guidance.json
        │   │   ├── 25_0.ll
        │   │   ├── 25_0_main.ll
        │   │   ├── 25_0_orig.ll
        │   │   ├── empty.cc
        │   │   ├── _header.ll
        │   │   ├── i4_hb27_2i_analysis.json
        │   │   ├── i4_hb27_2i_dependence_guidance.json
        │   │   ├── i4_hb27_2i.ll
        │   │   ├── i4_hb27_2i_results.json
        │   │   ├── i4_hb27_2i_spec.json
        │   │   ├── i5_classify_analysis.json
        │   │   ├── i5_classify_dependence_guidance.json
        │   │   ├── i5_classify.ll
        │   │   ├── i5_classify_results.json
        │   │   ├── i5_classify_spec.json
        │   │   └── Makefile
        │   └── Makefile
        ├── aie_hw.cfg
        ├── arch
        │   ├── aie_interface.aieintfcst
        │   ├── aie_partition.json
        │   ├── aie_pl_intf.json
        │   ├── aieshim_solution.aiesol
        │   ├── cfgraph.xml
        │   └── logical_arch_aie.larch
        ├── config
        │   ├── aie_partition_id.json
        │   ├── aie_resources.bin
        │   ├── aiesim_config.txt
        │   └── scsim_config.json
        ├── graph.aiecompile_summary
        ├── logs
        │   ├── aie_hw.log
        │   ├── Work.steps.log
        │   └── xcd.log
        ├── ps
        │   ├── cdo
        │   │   ├── aie_cdo_clock_gating.bin
        │   │   ├── aie_cdo_debug.bin
        │   │   ├── aie_cdo_elfs.bin
        │   │   ├── aie_cdo_enable.bin
        │   │   ├── aie_cdo_error_handling.bin
        │   │   ├── aie_cdo_init.bin
        │   │   ├── aie_cdo_mem_clear.bin
        │   │   ├── aie_cdo_reset.bin
        │   │   ├── generateAIEConfig
        │   │   ├── generated-objects
        │   │   │   ├── cdo_main.o
        │   │   │   ├── cdo_main.out
        │   │   │   └── gen_cdo.o
        │   │   ├── generated-source
        │   │   │   ├── cdo_main.cpp
        │   │   │   ├── gen_cdo.cpp
        │   │   │   └── gen_cdo.h
        │   │   └── Makefile
        │   └── c_rts
        │       ├── aie_control_config.json
        │       ├── aie_control.cpp
        │       ├── aie_control_xrt.cpp
        │       └── systemC
        │           ├── generated-objects
        │           │   ├── genwrapper_for_ps_i6.o
        │           │   └── ps_i6.so
        │           ├── generated-source
        │           │   └── genwrapper_for_ps_i6.cpp
        │           ├── Makefile
        │           ├── Makefile.questa
        │           ├── Makefile.riviera
        │           ├── Makefile.vcs
        │           ├── Makefile.xcelium
        │           └── Makefile.xsim
        ├── reports
        │   ├── compiler_report.json
        │   ├── complexity.csv
        │   ├── dma_lock_report.json
        │   ├── DMA_report.txt
        │   ├── FIFO_guidance_report.txt
        │   ├── graph.dot
        │   ├── graph_mapped_post.png
        │   ├── graph_mapping_analysis_report.txt
        │   ├── graph.pdf
        │   ├── graph.png
        │   ├── graph.xpe
        │   ├── guidance.html
        │   ├── guidance.pb3
        │   ├── Interposer_analysis_report.txt
        │   ├── lock_allocation_report.json
        │   ├── Lock_report.txt
        │   ├── Stream_report.txt
        │   ├── sync_buffer_address.json
        │   └── v++_compile_Work_guidance.html
        ├── temp
        │   ├── cfg.o
        │   ├── debug_config.json
        │   ├── DMA_FIFO_info_report.json
        │   ├── dummy.cpp
        │   ├── graph_aie_constraints.aiecst
        │   ├── graph_aie_constraints_for_placer.aiecst
        │   ├── graph_aie_full_netlist.aiexn
        │   ├── graph_aieir_dump.txt
        │   ├── graph_aie_mapped.aiecst
        │   ├── graph_aie_mapped.aiesol
        │   ├── graph_aie_netlist.aiexn
        │   ├── graph_aie_partitioned.aiesol
        │   ├── graph_aie_premapped.aiesol
        │   ├── graph_aie_prerouted.aiesol
        │   ├── graph_aie_routed.aiecst
        │   ├── graph_aie_routed.aiesol
        │   ├── graph.ii
        │   ├── graph.json
        │   ├── graph_link_design.tcl
        │   ├── graph_mapped.json
        │   ├── graph_mapped_post.dot
        │   ├── graph.out
        │   ├── graph_partition.json
        │   ├── graph.processed.ii
        │   ├── hw.o
        │   ├── log4cfg
        │   ├── router.input
        │   ├── router_soln.dot
        │   ├── router_soln.json
        │   ├── router_soln.pdf
        │   ├── router_soln.png
        │   └── sw.o
        └── Work.spr