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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain sizing of the inverter?

3899


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

584


Explain CMOS Inverter transfer characteristics?

3445


In vlsi chip 1000s of transistors are dropped, specifically categorized. Which method is used to achieve this & how it is done practically?

579


What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements?

2004






Mention what are the different gates where Boolean logic are applicable?

670


Explain depletion region.

616


What are the steps involved in preventing the metastability?

651


Why do we gradually increase the size of inverters in buffer design? Why not give the output of a circuit to one large inverter?

817


Explain Basic Stuff related to Perl?

609


Help with VHDL programming. Write a VHDL code for a D-Latch with clear input ?? (Hint: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs AND OUTPUTS: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;

1055


Explain various adders and difference between them?

678


How does Vbe and Ic change with temperature?

2954


Explain the working of 4-bit Up/down Counter?

3984


For an AND-OR implementation of a two input Mux, how do you test for Stuck-At-0 and Stuck-At-1 faults at the internal nodes? (You can expect a circuit with some redundant logic)

712