Explain the concept of a Clock Divider Circuit? Write a VHDL
code for the same?

Answers were Sorted based on User's Feedback



Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same?..

Answer / jaya suriya


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;

Is This Answer Correct ?    19 Yes 13 No

Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same?..

Answer / senthil

I am using the Mr.Suriya code with little modification.

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;
BEGIN
PROCESS(CLK)
BEGIN
IF CLK='1' AND CLK'EVENT THEN
COUNT:=COUNT+1;
IF COUNT=8000000 THEN
NEWCLK<= '1';
COUNT:=0;
ELSE
NEWCLK<= '0';
END IF;
END IF;
END PROCESS;
END BEH;

Is This Answer Correct ?    12 Yes 12 No

Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same?..

Answer / manju

please initialize the variables before using it in the
behaviour architecture or else it will be in the unknown
state still it has some legal value.

Is This Answer Correct ?    2 Yes 4 No

Post New Answer

More VLSI Interview Questions

Approximately, what were the sizes of your transistors in the SRAM cell? How did you arrive at those sizes?

0 Answers   Infosys,


Give the various techniques you know to minimize power consumption?

5 Answers  


What types of high speed CMOS circuits have you designed?

2 Answers   Infosys, Intel,


What are the ways to Optimize the Performance of a Difference Amplifier?

0 Answers  


Explain the Working of a 2-stage OPAMP?

0 Answers   Intel,


Explain the working of differential sense amplifier?

1 Answers  


Explain how logical gates are controlled by Boolean logic?

0 Answers  


What was your role in the silicon evaluation or product ramp? What tools did you use?

0 Answers   Intel,


What are the different measures that are required to achieve the design for better yield?

0 Answers  


What happens to delay if you increase load capacitance?

1 Answers   Google,


Differences between blocking and Non-blocking statements in Verilog?

5 Answers   Intel,


Tell me the parameters as many as possible you know that used to character an amplifier?

1 Answers  


Categories