Implement D flip-flop with a couple of latches? Write a VHDL
Code for a D flip-flop?
Answer Posted / balaji
library ieee;
use ieee.std_logic_1164.all;
entity d_ff is
port(d,clk:in std_logic;
q,q'bar:out std_logic);
end d_ff;
architecture a_d_ff of d_ff is
begin
process(clk)
begin
if rising_edge(clk) then
q<=d;
q'bar<=not d;
end if;
end process;
end a_d_ff;
| Is This Answer Correct ? | 32 Yes | 13 No |
Post New Answer View All Answers
what is the use of defpararm?
What products have you designed which have entered high volume production?
Explain what is the use of defpararm?
Draw Vds-Ids curve for a MOSFET. Now, show how this curve changes with increasing transistor width.
Draw the timing diagram for a SRAM Read. What happens if we delay the enabling of Clock signal?
What work have you done on full chip Clock and Power distribution? What process technology and budgets were used?
Explain what is scr (silicon controlled rectifier)?
What's the price in 1K quantity?
What is Charge Sharing? Explain the Charge Sharing problem while sampling data from a Bus
What is Body Effect?
Working of a 2-stage OPAMP?
How does a Bandgap Voltage reference work?
Explain Cross section of a PMOS transistor?
Draw the Differential Sense Amplifier and explain its working. Any idea how to size this circuit? (Consider Channel Length Modulation)
why is the number of gate inputs to CMOS gates usually limited to four?