Error (10278):Verilog HDL Port Declaration error at led_display.v(9):input port "data_in" cannot be declared with type ""

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/30 09:23:08
Error (10278):Verilog HDL Port Declaration error at led_display.v(9):input port

Error (10278):Verilog HDL Port Declaration error at led_display.v(9):input port "data_in" cannot be declared with type ""
Error (10278):Verilog HDL Port Declaration error at led_display.v(9):
input port "data_in" cannot be declared with type ""

Error (10278):Verilog HDL Port Declaration error at led_display.v(9):input port "data_in" cannot be declared with type ""
是不是定义了input data_in 又定义了reg data_in?
去掉reg data_in那行代码