Implement D flip-flop with a couple of latches? Write a VHDL
Code for a D flip-flop?
Answer Posted / rakesh
ibrary IEEE;
use IEEE.STD_LOGIC_1164.all;
entity DFlip_Flop is
port(
D : in STD_LOGIC;
CLK : in STD_LOGIC;
rst : in STD_LOGIC;
Q : out STD_LOGIC
);
end DFlip_Flop;
Architecture of DFlip_Flop is
begin
---ANother way of writing code for creating D_Flip_Flop in VHDL
process(Clk, Rst)
begin
if (Rst ='1') then
Q <= '0';
elsif(clk='1' and clk'event) then
Q <= D;
end if;
end process;
end ;
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain what is the depletion region?
Explain depletion region.
what is SCR (Silicon Controlled Rectifier)?
For f = AB+CD if B is S-a-1, what are the test vectors needed to detect the fault?
Explain the working of Insights of a pass gate ?
What is Body Effect?
What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?
What are the steps required to solve setup and hold violations in vlsi?
What types of high speed CMOS circuits have you designed?
Explain the Charge Sharing problem while sampling data from a Bus?
Implement a function with both ratioed and domino logic and merits and demerits of each logic?
What are the steps involved in designing an optimal pad ring?
How do you size NMOS and PMOS transistors to increase the threshold voltage?
What is the function of tie-high and tie-low cells?
How can you model a SRAM at RTL Level?