C validation
lab 1
int16_t 可以仿真
int32_t 可以仿真
lab2
int16 和 int32 不能仿真
When using arbitrary precision types in an ANSI C design, the debug environment cannot be used and printf or fprintf statements must be used to debug the design.
在ANSI C设计中使用任意精度类型时,不能使用调试环境,必须使用printf或fprintf语句来调试设计。
lab3
c++使用任意精度的数据类型,可以仿真
Arbitrary precision types are a powerful means to create high-performance bit-accurate
hardware designs. However, in a debug environment, productivity can be reduced by stepping through the header file definitions. Use breakpoints and the step return feature to skip over the low-level calculations and view the value of variables in the Variables tab.