Implement D flip-flop with a couple of latches? Write a VHDL
Code for a D flip-flop?
Answer Posted / muthu
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 ? | 36 Yes | 2 No |
Post New Answer View All Answers
If the current through the poly is 20nA and the contact can take a max current of 10nA how would u overcome the problem?
What was your role in the silicon evaluation/product ramp? What tools did you use?
In a SRAM layout, which metal layers would you prefer for Word Lines and Bit Lines? Why?
What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?
How about voltage source?
How do you size NMOS and PMOS transistors to increase the threshold voltage?
Tell me how MOSFET works.
Explain Cross section of an NMOS transistor?
In the design of a large inverter, why do we prefer to connect small transistors in parallel (thus increasing effective width) rather than lay out one transistor with large width?
Explain the Charge Sharing problem while sampling data from a Bus?
What is the ideal input and output resistance of a current source?
Let A & B be two inputs of the NAND gate. Say signal A arrives at the NAND gate later than signal B. To optimize delay, of the two series NMOS inputs A & B, which one would you place near the output?
Differences between IRSIM and SPICE?
For a single computer processor computer system, what is the purpose of a processor cache and describe its operation?
What are the different design constraints occur in the synthesis phase?