`timescale 1ns/1ns\n\n`module top_module(output one);\n\t`assign one = 1; \n`endmodule; \n编译错误:\nmain.v:5: syntax error\nI give up. 内容:此处编译错误是因为`timescale`语句后面缺少一个分号。正确的代码应该是:\n\n`timescale 1ns/1ns`\n`module top_module(output one);`\n`assign one = 1; `\n`endmodule; `

Verilog 编译错误: `timescale` 语句缺少分号

原文地址: https://www.cveoy.top/t/topic/p2kX 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录