新人一枚,
仿真出现代码如下
`
timescale 1ns/1ns
module led_tb();
reg clk;
//always #DELAY clk=~clk;
initial
begin
clk=0;
end
endmodule
编译后提示
vcom -work work -2002 -explicit -vopt -stats=none {H:/
FPGA_PRO/FuncTest v1.0/LED/tb/led_tb.v}
Model Technology ModelSim SE-64 vcom 10.4 Compiler 2014.12 Dec 3 2014
-- Loading package STANDARD
** Error: H:/FPGA_PRO/FuncTest v1.0/LED/tb/led_tb.v(1): near "timescal":
** Error: H:/FPGA_PRO/FuncTest v1.0/LED/tb/led_tb.v(1): VHDL Compiler exiting
跪求!!!大神!!!