FPGARelated.com
Forums

Gray code in asynchronous FIFO design

Started by anand April 4, 2007
"morpheus" <saurster@gmail.com> wrote in message 
news:1175787053.797301.170230@d57g2000hsg.googlegroups.com...
> On Apr 5, 12:29 am, Sylvain Munaut <tnt-at-246tNt- > dot-...@youknowwhattodo.com> wrote: >> >>> If you had a belt tight around the equator of the earth, how >> >>> much length do you figure you'd need to add to raise the belt to an >> >>> altitude of 1 foot across the entire distance and why? >> > The earth's equatorial radius is 3,963.189mi, so elevate the radius by >> > 1 ft, from the top view, it would be like drawing an outer circle with >> > a 1 ft border. From this we can calculate the new radius and hence the >> > addition in the radius gives us the new circumference and thus the >> > addition in length.....what do u think...am I way off??? >> >> You don't need the earth radius. >> >> Let's says the original radius is r and expressed in feet, the >> original belt would be 2*pi*r . By adding 1 feet, you now have >> a belt of 2*pi*(r+1). So you added 2*pi feet to it no matter what. >> >> Sylvain > > Yeah I knw....I have a habit of thinking out loud....atleast I wasnt > way off > Any idea on the estimation on the number of gas pumps in the US?
It's not about the answer, it's about the process. Can you demonstrate how to come up with a credible engineering estimate with sparse real data (your own experience)? If you rely on precise data as a crutch (diameter of the earth to 7 decimal places) you may not find a place as a "superb" engineer, but still quite passable.
"Symon" <symon_brewer@hotmail.com> wrote in message 
news:46151b41$1_2@x-privat.org...
> "John_H" <newsgroup@johnhandwork.com> wrote in message > news:13185gkp47lpq2c@corp.supernews.com... >> >> Now, do you know how to properly pipeline? How about state machines: can >> you design a soda dispenser state machine to count change? And how many >> gas stations would you estimate are in the US (please explain your >> reasoning)? If you had a belt tight around the equator of the earth, how >> much length do you figure you'd need to add to raise the belt to an >> altitude of 1 foot across the entire distance and why? >> >> Good luck with your interviewing. > Hi John, > I used to drive my buddy Kurt insane with these questions. The secret is > to ask him about two pints into a Friday night Guinness session. After > four pints he'll let you tell him the answer. The next few pints erase his > memory so you can do it all over again a couple of weeks later. Eventually > he bought himself a notebook! > For example, a brother and sister were born on the same day a few minutes > apart. But they're not twins. How? > Cheers, Syms.
Assuming the same day of the same year, 1) At least one is adopted. 2) They're in a monastery (and not related). 3) At least one is born to a surrogate mother. A man marries his daughter. Legally. How? A (biological) father and son are in a car accident, both rushed to the hospital. The unconscious son is wheeled into the operating room for emergency surgery. At first glance, the doctor turns pale and declares "we need another surgeon to perform this operation; that's my own (biological) son!" How can this be? [I added the "biological" notes to try to avoid some of the arguments related to your question.]
"John_H" <newsgroup@johnhandwork.com> wrote in message 
news:131a8e3mm8hpl4a@corp.supernews.com...

> > A (biological) father and son are in a car accident, both rushed to the > hospital. The unconscious son is wheeled into the operating room for > emergency surgery. At first glance, the doctor turns pale and declares > "we need another surgeon to perform this operation; that's my own > (biological) son!" How can this be?
I must be missing something. The surgeon is the kid's mother?!
"John_H" <newsgroup@johnhandwork.com> wrote in message 
news:131a8e3mm8hpl4a@corp.supernews.com...
> "Symon" <symon_brewer@hotmail.com> wrote in message >> I used to drive my buddy Kurt insane with these questions. For example, a >> brother and sister were born on the same day a few minutes apart. But >> they're not twins. How? >> Cheers, Syms. > > Assuming the same day of the same year, > 1) At least one is adopted. > 2) They're in a monastery (and not related). > 3) At least one is born to a surrogate mother. >
Good effort, but no. They're biological brother and sister, no fancy IVF nonsense involved, same mother and father. No relativistic effects either! IIRC Kurt was similarly very inventive too... :-)
> > A man marries his daughter. Legally. How? > > A (biological) father and son are in a car accident, both rushed to the > hospital. The unconscious son is wheeled into the operating room for > emergency surgery. At first glance, the doctor turns pale and declares > "we need another surgeon to perform this operation; that's my own > (biological) son!" How can this be? [I added the "biological" notes to > try to avoid some of the arguments related to your question.] >
I've heard these, and, rest assured, so has Kurt! :-) Cheers, Syms.
"Pete Fraser" <pfraser@covad.net> wrote in message 
news:52686$461527ab$43656287$21395@msgid.meganewsservers.com...
> "John_H" <newsgroup@johnhandwork.com> wrote in message > news:131a8e3mm8hpl4a@corp.supernews.com... > >> >> A (biological) father and son are in a car accident, both rushed to the >> hospital. The unconscious son is wheeled into the operating room for >> emergency surgery. At first glance, the doctor turns pale and declares >> "we need another surgeon to perform this operation; that's my own >> (biological) son!" How can this be? > > I must be missing something. > The surgeon is the kid's mother?!
Bingo. This addresses bad assumptions and was easier to trip people up a decade or two ago.
John_H wrote:
> "Symon" <symon_brewer@hotmail.com> wrote in message > news:46151b41$1_2@x-privat.org... >> "John_H" <newsgroup@johnhandwork.com> wrote in message >> news:13185gkp47lpq2c@corp.supernews.com... >>> Now, do you know how to properly pipeline? How about state machines: can >>> you design a soda dispenser state machine to count change? And how many >>> gas stations would you estimate are in the US (please explain your >>> reasoning)? If you had a belt tight around the equator of the earth, how >>> much length do you figure you'd need to add to raise the belt to an >>> altitude of 1 foot across the entire distance and why? >>> >>> Good luck with your interviewing. >> Hi John, >> I used to drive my buddy Kurt insane with these questions. The secret is >> to ask him about two pints into a Friday night Guinness session. After >> four pints he'll let you tell him the answer. The next few pints erase his >> memory so you can do it all over again a couple of weeks later. Eventually >> he bought himself a notebook! >> For example, a brother and sister were born on the same day a few minutes >> apart. But they're not twins. How?
Given that the definition of twins is that they're born from the same pregnancy, I see two options : - They are only half brother and sister : Same father, different mother and they just happened to give birth at the same time. - They are from the same mother but different pregnancy ... some women have two uteruses, one baby in each could be viewed as different pregnency and even with slightly different conception date, they could come to term at the same time (one of them induced for convenience for example ...).
> A man marries his daughter. Legally. How?
Couldn't the man have a daughter when he was young and either abandon her, or give her for adoption, then ... twenty years later decides to find him self a young wife and by "chance" choose his own daughter without knowing it ... Sylvain
Symon a &#4294967295;crit :

> For example, a brother and sister were born on the same day a few minutes > apart. But they're not twins. How?
Hasn't this something to do with a boat crossing the date change line ? I seem to recall something like that ... Nicolas
"Nicolas Matringe" <nicolas.matringe@fre.fre> wrote in message 
news:461549a6$0$28810$426a74cc@news.free.fr...
> Symon a &#4294967295;crit : > >> For example, a brother and sister were born on the same day a few minutes >> apart. But they're not twins. How? > > Hasn't this something to do with a boat crossing the date change line ? I > seem to recall something like that ... > > Nicolas
Hi Nicolas, I like your thinking, but that only gives you a day maximum. Hard to conceive and gestate a baby in 24 hours, I think?! :-) Anyway, it's much simpler than that. There's another sibling. So, not twins. Triplets! Sometimes it's safer to post this online than IRL!! Cheers, Syms. p.s. The guy who married his own daughter? He's a vicar! Happy Easter all!
On Apr 6, 8:25 am, "Symon" <symon_bre...@hotmail.com> wrote:
> "Nicolas Matringe" <nicolas.matri...@fre.fre> wrote in message > > news:461549a6$0$28810$426a74cc@news.free.fr... > > > Symon a =E9crit : > > >> For example, a brother and sister were born on the same day a few minu=
tes
> >> apart. But they're not twins. How? > > > Hasn't this something to do with a boat crossing the date change line ?=
I
> > seem to recall something like that ... > > > Nicolas > > Hi Nicolas, > I like your thinking, but that only gives you a day maximum. Hard to > conceive and gestate a baby in 24 hours, I think?! :-) > Anyway, it's much simpler than that. There's another sibling. So, not twi=
ns.
> Triplets! > Sometimes it's safer to post this online than IRL!! > Cheers, Syms. > p.s. The guy who married his own daughter? He's a vicar! Happy Easter all!
Triplets (or more) is a solution, but an even more common one is that they are simply born from different mothers who have previously had another child. The statement was just that "a brother and sister were born..." there is nothing saying that the 'brother' is the brother of the 'sister' that was born (and vice versa), just that they are a 'brother' and a 'sister'. This situation happens every day in every maternity ward in every major hospital (i.e. one with more than a couple mothers in labor on a given day), whereas the multiple births are not nearly as common. KJ