在ISE 14.7里面,如果HDL的头文件和verilog文件不在同一个文件夹下,直接添加文件就会i包含失败,而且无法实现综合。错误代码是 ERROR:HDLCompiler:281 :ERROR:HDLCompiler:281 - "C:/Users/lingking/Desktop/my_cpu_az/bus/src/bus_arbiter.v" Line 22: Cannot open include file "nettype.h".ERROR:HDLCompiler:281 - "C:/Users/lingking/Desktop/my_cpu_az/bus/src/bus_arbiter.v" Line 23: Cannot open include file "stddef.h".
ERROR:HDLCompiler:281 - "C:/Users/lingking/Desktop/my_cpu_az/bus/src/bus_arbiter.v" Line 24: Cannot open include file "global_config.h".
ERROR:HDLCompiler:281 - "C:/Users/lingking/Desktop/my_cpu_az/bus/src/bus_arbiter.v" Line 27: Cannot open include file "bus.h".
。