HITEQUEST
technical interview Q & A for high-tech professionals
 
 
Interview Questions
Electronics Hardware
Computer Software
General questions
Brain teasers

Resources
Resume and interview
How to get a job in Silicon Valley
How much are you worth on market?
Do you need an agent?

Break time stories
Tomato company

About Hitequest
About Hitequest
Join us
Home page

 
 
 
 
 
 
   

 
=Electronics Hardware Questions=

     
   

 
 
Q: Convert D-latch into divider by 2. What is the max clock frequency the circuit can handle ?
T_setup= 6nS
T_hold = 2nS
T_propagation = 10nS
 
 
 
 
 
 
A: Anup
 
 

    _____________________
   |	 _______         |
   |	|	|   Q    |
   `----|D	|----    |
  clock |	|        |
   ----->	|   _	 | 		
   	|	|   Q    |
   	|	|--------'
	|_______|
	
	


	    ___     ___     ___
	   |   |   |   |   |   |
clock	___|   |___|   |___|   |___
	      _______
	     |	     |
Q	 ____|	     |___

	 ____	      ___
_	     |	     |
Q	     |_______| 


Any system with clock should meet setup and hold time conditions.
Besides, since there is a feedback from !Q to D, we should take 
care of D input timing: the data on D input should not change 
while the clock is high!
Otherwise the results are unpredictable.
To meet these conditions:

         t_clock_high <= T_prop
        
         t_clock_low  >= T_setup
         
         T_hold <= T_prop
                 
For example, if we take t_clock_high= t_clock_low = 6nS
Then clock period = 12nS, i.e max Freq = 80MHz