一、ESL
在ESL0.2进行调试
(1)cpan@smooth:~/workspace/esl_0.2/cpan_test_1$ gdb ../bin/Linux_64/esl-debug
(2)cpan@smooth:~/workspace/esl_0.2$ make -j12; make debug -j12
(3)cpan@smooth:~/workspace/esl_0.2/cpan_test_1$
测试
先ESL0.1_2019生成Verilog,在通过MPS测试
(1)cpan@smooth:~/workspace/esl_0.1_2019/esl_0.1/testcase/pan/struct_with_4_nesting/byFunction/output$
(2)/home/cpan/workspace/HLSTest/MPS/struct_with_4_nesting/byFunction
(3)/opt/Xilinx_2018/Vivado/2018.1/bin$ ./vivado
二、LLVM指令
(1) clang(clang++) struct.c -emit-llvm -c 生成.bc
(2)llvm-dis struct.bc
(3)优化bc,opt -mem2reg struct.bc -o main.bc