求助,关于modelsim的仿真

2019-07-16 02:00发布

testbench编译后总是提示错误:
near”’t”:Illegal base specifier in numeric constant.
near”’t”:syntax error,unexpected BASE,expecting class
请问什么原因??

'timescale 1ns/100ps
module lxh_tp;

        reg clk,reste;
        wire [3:0] led;
        
        parameter DELY=100;
        
        top_module mylxh
        (
                .CLK(clk),
                .RSTn(reset),
                .LED_Out(led)
        );

        initial
                begin
                        clk=0;
                        reset=0;
                        
                        #DELY reset=1;
                        #DELY reset=0;
                        #(DELY*20) $finish;
               
                end


        always
                #(DELY/10)        clk=~clk;

        initial $monitor($time,,,"clk=%d reset=%d out=%d",clk,reset,led);


endmodule
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。