ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories >> Software >> Embedded-Systems >> VLSI
 
 
 
Question
Explain the concept of a Clock Divider Circuit? Write a VHDL
code for the same?
 Question Submitted By :: Markus
I also faced this Question!!     Rank Answer Posted By  
 
Answer
IN SPARTAN 3E BOARD.. THE INTERNAL CLOCK FREQUENCY IS 
16MHZ... IF WE WANT TO INTERFACING THE EXT DIPLAY DEVICES
WE WON'T RUN IT WITH A NORMAL CLOCK FREQ(16 
MHZ)....THATSWHY I HAVE TO CREATED NEW CLOCK PULSE WITH THE 
FREQ OF 1HZ BY DEVIDING THE CLOCK..... TAKE THE NORMAL CLK 
AS A REFERENCE...THIS IS KNOWN AS CLOCK DIVIDER CONCEPT...

ENTITY CLK_DIV IS
    PORT(CLK: IN STD_LOGIC;
          NEWCLK:OUT STD_LOGIC);
END CLK_DIV
ARCH BEH OF CLK_DIV IS
VARIABLE COUNT:INTEGER:=0;
SIGNAL CLKN:STD_LOGIC; 
BEGIN
PROCESS(CLK)
BEGIN
IF CLK='1' AND CLK'EVENT THEN
COUNT:=COUNT+1;
IF COUNT=8000000 THEN
    NEWCLK<= NOT CLKN 
    COUNT:=0;
END PROCESS;
END BEH;
 
0
Jaya Suriya
 
View All Answers
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com