Implement D flip-flop with a couple of latches? Write a VHDL
Code for a D flip-flop?
Answer Posted / harvir
ibrary IEEE;
use IEEE.STD_LOGIC_1164.all;
entity gh_DFF is
port(
D : in STD_LOGIC;
CLK : in STD_LOGIC;
rst : in STD_LOGIC;
Q : out STD_LOGIC
);
end gh_DFF;
architecture a of gh_DFF is
begin
process(CLK,rst)
begin
if (rst = '1') then
Q <= '0';
elsif (rising_edge(CLK)) then
Q <= D;
end if;
end process;
end a;
| Is This Answer Correct ? | 12 Yes | 3 No |
Post New Answer View All Answers
Explain what is the depletion region?
What are the ways to Optimize the Performance of a Difference Amplifier?
Explain how MOSFET works?
What are the various regions of operation of mosfet? How are those regions used?
Draw the timing diagram for a SRAM Read. What happens if we delay the enabling of Clock signal?
Explain sizing of the inverter?
Give the cross-sectional diagram of the cmos.
What is Noise Margin? Explain the procedure to determine Noise Margin?
What is the difference between the mealy and moore state machine?
Mention what are the different gates where Boolean logic are applicable?
How do you size NMOS and PMOS transistors to increase the threshold voltage?
For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?
Are you familiar with the term snooping?
What is the difference between cmos and bipolar technologies?
Explain how Verilog is different to normal programming language?