Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - pulse streatcher

 
Thread Tools Search this Thread
Old 05-06-2005, 10:26 PM   #1
Default pulse streatcher


Hi,

Could someone suggest me a circuit to get the below ouput from the
input?

__________________________________
| |
____| |______________________ Input


_____
| |
____| |______________________ Output


Thanks.



Praveen
  Reply With Quote
Old 05-07-2005, 04:32 AM   #2
mk
 
Posts: n/a
Default Re: pulse streatcher
On 6 May 2005 14:26:11 -0700, "Praveen" <> wrote:

>Hi,
>
>Could someone suggest me a circuit to get the below ouput from the
>input?
>
> __________________________________
> | |
>____| |______________________ Input
>
>
> _____
> | |
>____| |______________________ Output
>
>
>Thanks.


module pulse(..., in, out);
....
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.



mk
  Reply With Quote
Old 05-07-2005, 07:25 AM   #3
Ralf Hildebrandt
 
Posts: n/a
Default Re: pulse streatcher
Praveen wrote:

> Could someone suggest me a circuit to get the below ouput from the
> input?
>
> __________________________________
> | |
> ____| |______________________ Input
>
>
> _____
> | |
> ____| |______________________ Output
>


_ _ _
| | | | | ...
____| |_| |_| clock


Sample Input with the rising_edge of clock. If Input is high, set output
high. With the next rising_edge of clock, if output is high, set it low
/and/ store the information, that Input was already high. Do not set
Output high, if the stored information says, that Input was already
high. Reset this information with the rising_edge of clock, if Input is low.
Hint: In the 2nd. sentence is an "error", because I did not want to
mention the stored information so early there.

Note: The rising_edge of Output will have a delay respective to Input.

Finally: This is a "pulse compressor", not a "pulse stretcher"

Ralf


Ralf Hildebrandt
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sewing, Embroidery & SignMaking Software.. embsupply Software 0 08-14-2007 04:01 PM
New releases: Pulse (2006), Inconvenient Truth & Tristan + Isolde: Updated complete downloadable R1 DVD DB & info lists Doug MacLean DVD Video 1 09-12-2006 06:04 AM
Pink Floyd: Pulse Phisherman DVD Video 2 08-05-2006 07:49 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46