jelydonut
Full Member level 4
this is the problem im having..
i have a clock running and at the same simulation time as the rising edge i deposit a 1 to say "signal". Then i try to create a oneshot from it.. so..
always@(posedge clk)
signal_dly <= signal;
assign signal_os = signal & ~signal_dly;
what is happening though is that because im depositing the 1 on the posedge both signal and signal_dly get assigned the 1 at the same time.. hense no oneshot is produced.. i know m0dels|m doesn't do this..
is there a setting or something i need to change or do i just kick my system across the room and hope that works?
jelydonut
i have a clock running and at the same simulation time as the rising edge i deposit a 1 to say "signal". Then i try to create a oneshot from it.. so..
always@(posedge clk)
signal_dly <= signal;
assign signal_os = signal & ~signal_dly;
what is happening though is that because im depositing the 1 on the posedge both signal and signal_dly get assigned the 1 at the same time.. hense no oneshot is produced.. i know m0dels|m doesn't do this..
is there a setting or something i need to change or do i just kick my system across the room and hope that works?
jelydonut