Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

时间:2023-11-28 13:13:08

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

1.老样子,首先运行tcl脚本建工程:

Vivado_hls -f run_hls.tcl

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

2.打开工程

Vivado_hls -p hamming_window_prj

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

3.查看Test Bench部分的代码

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

生成的debug界面为:

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Step Into是单步调试:

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4) 观察变量的值:

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

设置断点来调试:

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(4)

就这样,第一个实验就结束啦,主要目的是熟悉使用调试工具,断点设置,step into,step return,Resume等功能。