目录 创建工程 创建源文件并编写C代码 C仿真 综合 仿真 导出RTL CG 导出RTL错误处理: 创建工程 创建源文件并编写C代码 创建源文件(Souces下的hlsv.h和hlsv.cpp,Test Bench下的test_hlsv1.cpp): hlsv1.h #ifndef HLSV1 #define HLSV1 #include <ap_int.h> typedef ap_int<1> led_t; void hlsv(ap_int<1> *led); #endif<