electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to solve the problem: if setup time is not enough?


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> how to solve the problem: if setup time is not enough?
Author Message
bigrice911



Joined: 27 Apr 2004
Posts: 84


Post15 Oct 2008 12:22   

how to solve the problem: if setup time is not enough?


HI, it's an IC interview question, can anyone give me a perfect answer?

When your design's setup time is not enough, what will you do?
How to design a 5.5 frequency divder with some simple CMOS transistors?
Back to top
dexter_ex_2ks



Joined: 19 Jun 2006
Posts: 43
Helped: 1
Location: Romania


Post15 Oct 2008 13:12   

Re: how to solve the problem: if setup time is not enough?


Hi,
In my opinion I think u can't design a 5.5 frequency divider with "some simple CMOS transistors". My proposal to u is to use a PLL, wich is a pretty complex circuit, but I think u can manage (if not ask on this forum, and u'll get answers).
Back to top
Google
AdSense
Google Adsense




Post15 Oct 2008 13:12   

Ads




Back to top
bigrice911



Joined: 27 Apr 2004
Posts: 84


Post15 Oct 2008 14:39   

how to solve the problem: if setup time is not enough?


I said I need to use PLL which made the interviewer very unhappy...Smile Maybe there's a way which I don't know.
Back to top
Nir Dahan



Joined: 19 May 2008
Posts: 74
Helped: 6
Location: Munich, Germany


Post15 Oct 2008 23:03   

Re: how to solve the problem: if setup time is not enough?


Whenever you encounter a problem like "design a divide by ..." this is how you solve it.
1) draw original clock
2) draw target desired clock
3) watch if the new desired clock can be derived from the original clock - this means if the ALL rising edges and the falling edges of the new clock ALIGN with the original clock.

look at the diagram below I made.
the original clock is on top.
the interviewer asked a divide by 5.5.
this means that there should be 4 clock cycles within 22 original clock cycles 5.5*4=22

First lets look at the signal second from the top. If you wanna be a bit nasty you can offer him that solution - it is the easiest. you just pick 4 edges of the original clock for each 22 original clock cycles.
That is A solution but it is not one I would use. But as an interviewer I guess I would be happy to see someone interpreting the question like this.
to sum up - second signal from top selects 4 edges withing 22 original clock cycles.

next - 3rd signal from top. Here we want those 4 clock edges EVENLY distributed in time. again this is done by SELECTION of original clock edges. draw the DESIRED clock pattern and you will realize which edges to choose from. Notice that sometimes you gotta choose negative edges to trigger a positive edge in the desired clock - this can become tricky!
to sum up - 3rd signal from top divides the desired clock edges in time (orange arrows show the cycle time) notice how the duty cycle is NOT 50-50

4th signal from top - what if the interviewer wants a 50% duty cycle divide by 5.5 circuit?
what do we do - yes, we draw the DESIRED clock pattern. We notice something strange, some edges of the desired clock do not correspond to ANY original edges (red vertical lines in diagram)!! this means that with only simple memory elements this can't be done.

This is actually a very neat question IMHO. it can show the thinking process and a proof of impossibility is always nice.

for more info check my posts here
http://asicdigitaldesign.wordpress.com/2007/07/09/the-ultimate-interview-question-for-logic-design-a-mini-challenge/
http://asicdigitaldesign.wordpress.com/2008/01/24/ultimate-technical-interview-question-the-standard-solution/
http://asicdigitaldesign.wordpress.com/2008/01/31/ultimate-technical-interview-question-take-2/

hope this helps!

ND.
http://asicdigitaldesign.wordpress.com/



Sorry, but you need login in to view this attachment

Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> how to solve the problem: if setup time is not enough?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Am I not smart enough to do the assignment? (18)
how to control the data setup&hold time? (2)
how to calculate the setup and hold time ,thanks (51)
setup time is less than hold time,will this cause problem??? (5)
[Methodology] - How to solve setup timing errors ? (5)
the size is not big enough to place all pads- need help (3)
How to solve the problem of PFD dead zone? (3)
How to solve the convergence problem in post simulation? (1)
how to solve this $setup violation in gate-level simulation (4)
If setup time is met, so how hold time violation maybe occur (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS