Step 4.3 Inspect Array Values - 2022.2 English

Vitis Tutorials: AI Engine Development

Document ID
XD100
Release Date
2022-12-01
Version
2022.2 English

Double click the Variables view to enlarge view area. Double click again to restore it back to the original size. To inspect vector values, click on arrow of bufa0, arrow of data, arrow of val, arrow of data (where array<v1cint16, 8> is shown, arrow of __elems_ (where shows __elems_[0] to __elems_[7], arrow of __elems_[0], arrow of val, arrow of data, arrow of __elems_, arrow of __elems_[0], arrow of val, arrow of VBitDataBase<16, true, false>, arrow of data, (x)=0. It shows unsigned value of 61038 that translates to signed decimal value of -4498. Follow above steps and click on __elems_[1] instead of __elems_[0], the value is 5022.

To cross check, first input data set is cint16 type and from input file at $PROJECT_PATH/data/ulbf_cin17.txt.

-4498 5022 -4794 -631
-4372 325 2892 -3431
-7067 -6110 3811 1737
-5236 1188 3326 6723
-6130 6024 5845 -1099
...

Data generated by x86simulator --dump is at $PROJECT_PATH/Emulation-SW/x86simulator_output/dump/dut_ulbf_bf1_core_7_in_0.txt with first pair values -4498 5022.

# port: dut.ulbf.bf1.core[7].in[0]
# port_dir: in
# port_type: window
# data_type: cint16
# Iteration 1; snapshot 1
-4498 5022
-4794 -631
-4372 325
2892 -3431
-7067 -6110
3811 1737
-5236 1188
3326 6723
-6130 6024
5845 -1099
...