M
m
Guest
On 6 May 2005 14:26:11 -0700, "Praveen" <sams235@gmail.com> wrote:
....
input in;
output out;
wire indlyd = DELAY(in);
wire out = !indlyd & in;
endmodule
now of course the interesting part inside DELAY and the missing ports.
One very crude way is to instantiate some delays between in and
indlyd. Or declare indyd as register and clock in through some number
of cycles. This depends on whether you have a clock to which in is
synchronous or how wide you want the pulse to be etc.
module pulse(..., in, out);Hi,
Could someone suggest me a circuit to get the below ouput from the
input?
__________________________________
| |
____| |______________________ Input
_____
| |
____| |______________________ Output
Thanks.
....
input in;
output out;
wire indlyd = DELAY(in);
wire out = !indlyd & in;
endmodule
now of course the interesting part inside DELAY and the missing ports.
One very crude way is to instantiate some delays between in and
indlyd. Or declare indyd as register and clock in through some number
of cycles. This depends on whether you have a clock to which in is
synchronous or how wide you want the pulse to be etc.