Re: NCVer|log problem.
Hi,jelydonut,
You are right this is a oneshot circuit.The oneshot pulse is generateing in the RISING EDGE of 'signal' . I simulated it and source code is attached.
I simulated it in Nc-verilog, so some changes may be made in modelsim.
cac
module oneshot;
reg signal_dly,signal,clk;
parameter delay=1;
initial
begin
#5;
clk=0;
forever
clk= #10 ~clk;
end
initial
begin
#7;
signal=0;
forever
signal= # 20 ~signal;
end
always@(posedge clk)
signal_dly <= # delay signal;
assign # delay signal_os = signal & ~signal_dly;
initial
begin
$shm_open ("waves.shm");
$shm_probe ("AS");
end
endmodule