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

Reply

VHDL - Glitchs at the output of a latch

 
Thread Tools Search this Thread
Old 05-26-2004, 03:02 PM   #1
Default Glitchs at the output of a latch


hello,

I synthesis a simple latch of 18 bits on a altera stratix fpga with
quartus II 4.0.

I use two sort of implementation :

1 - Latch_18 : process (clock_smp,reset)
begin
if (clock_smp'event and clock_smp='1') then
if reset = '1' then out_filter <= "000000000000000000";
else out_filter <= resul;
end if;
end if;
end process Latch_18;

2 - With the Megafunction Latch LPM of Altera

The simulation after synthesis show that the data on the 18 bit bus
arrive 7 ns after the rising edge of clock_smp AND they arrived within
à 1 ns time, so that generate glitchs of 1 ns large..

What's happen ? I put with latche_18 on the output of a RIF filter for
cancelling glitches but it doesn't work correctly...

Thanks for subjection


Patrick
  Reply With Quote
Old 05-26-2004, 03:33 PM   #2
Nicolas Matringe
 
Posts: n/a
Default Re: Glitchs at the output of a latch
Patrick a écrit:

> The simulation after synthesis show that the data on the 18 bit bus
> arrive 7 ns after the rising edge of clock_smp AND they arrived within
> à 1 ns time, so that generate glitchs of 1 ns large..


Maybe a stupid question but what is your simulation resolution? Make
sure you don't simulate with a 1ns reslution.


--
____ _ __ ___
| _ \_)/ _|/ _ \ Adresse de retour invalide: retirez le -
| | | | | (_| |_| | Invalid return address: remove the -
|_| |_|_|\__|\___/



Nicolas Matringe
  Reply With Quote
Old 05-26-2004, 05:01 PM   #3
paris
 
Posts: n/a
Default Re: Glitchs at the output of a latch

"Patrick" <> escribió en el mensaje
news: m...
> hello,
>
> I synthesis a simple latch of 18 bits on a altera stratix fpga with
> quartus II 4.0.
>
> I use two sort of implementation :
>
> 1 - Latch_18 : process (clock_smp,reset)
> begin
> if (clock_smp'event and clock_smp='1') then
> if reset = '1' then out_filter <= "000000000000000000";
> else out_filter <= resul;
> end if;
> end if;
> end process Latch_18;
>
> 2 - With the Megafunction Latch LPM of Altera
>
> The simulation after synthesis show that the data on the 18 bit bus
> arrive 7 ns after the rising edge of clock_smp AND they arrived within
> à 1 ns time, so that generate glitchs of 1 ns large..
>


im not sure if i understood your problem, but is it that the different bits
that form the 18bit bus are not arriving at the same time, but within a std
deviation of 1ns around 7ns, is that right? if it is, then it's due to
routing delay and as long as your design is synchronous, you shouldnt have
any trouble as the data should be already stabilised when the next clock
edge arrives and latches the data for the next stage.

also i believe that modelsim has an option to turn off glitch generation,
but i've never used.

> What's happen ? I put with latche_18 on the output of a RIF filter for
> cancelling glitches but it doesn't work correctly...
>
> Thanks for subjection





paris
  Reply With Quote
Old 05-27-2004, 09:51 AM   #4
Patrick
 
Posts: n/a
Default Re: Glitchs at the output of a latch
Nicolas Matringe <> wrote in message news:<>...
> Patrick a écrit:
>
> > The simulation after synthesis show that the data on the 18 bit bus
> > arrive 7 ns after the rising edge of clock_smp AND they arrived within
> > à 1 ns time, so that generate glitchs of 1 ns large..

>
> Maybe a stupid question but what is your simulation resolution? Make
> sure you don't simulate with a 1ns reslution.


Of course the simulator have a time step of 1 ps !!! Sorry...


Patrick
  Reply With Quote
Old 05-27-2004, 10:08 AM   #5
Patrick
 
Posts: n/a
Default Re: Glitchs at the output of a latch
Hello,

In fact, the problem is due to the I/O Pads, because the signal before
the latch and after the latch comes out the fpga that result in a
propagation time of 7 ns with delta time 400 ps

and in an internal latche (without pads) the propagation delay becomes
3 ns with a delta time of 40 ps.... that looks better...


Patrick
  Reply With Quote
Old 05-28-2004, 07:35 AM   #6
Thomas Stanka
 
Posts: n/a
Default Re: Glitchs at the output of a latch
Hello,

"paris" <> wrote:
> "Patrick" <>
> > The simulation after synthesis show that the data on the 18 bit bus
> > arrive 7 ns after the rising edge of clock_smp AND they arrived within
> > à 1 ns time, so that generate glitchs of 1 ns large..
> >

>
> im not sure if i understood your problem, but is it that the different bits
> that form the 18bit bus are not arriving at the same time, but within a std
> deviation of 1ns around 7ns, is that right? if it is, then it's due to
> routing delay and as long as your design is synchronous, you shouldnt have
> any trouble as the data should be already stabilised when the next clock
> edge arrives and latches the data for the next stage.
>
> also i believe that modelsim has an option to turn off glitch generation,
> but i've never used.


It has, but that is no glitch problem, this is a problem of routing
delays.
Glitch means a signal going high and back low (or vice versa) within a
very short period due to differnent signal routing delays for the same
signal.
(eg. the output of a nand with both inputs changing its value with a
very small delay).

If you have a problem with 1ns deviation, you should place by hand to
optimize the timing. The reachable value depends strongly on the
technic of your device (and your patience, this job might be very
nasty).

bye Thomas


Thomas Stanka
  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
CISCO 1801 DNS problem marsav Hardware 2 07-05-2009 11:41 PM
Different types of video output - I'm confused robotiser@googlemail.com DVD Video 2 07-29-2007 04:25 PM
Post-Route Simulation does not give output for the first clock cycle Options velocityreviews Software 0 04-17-2007 05:47 PM
Sony Precision Cinema Progressive Output vs Component 480p Output Otto Pylot DVD Video 1 04-18-2004 10:49 PM
Panasonic S25 DVD player w/o S-video output - will its replacement have S-video? Mark DVD Video 1 02-11-2004 04:19 PM




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