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
what is the use of defpararm?
Differences between Array and Booth Multipliers?
What are the Factors affecting Power Consumption on a chip?
Are you familiar with the term MESI?
What is the function of chain reordering?
Explain how Verilog is different to normal programming language?
6-T XOR gate?
What are the different ways in which antenna violation can be prevented?
How binary number can give a signal or convert into a digital signal?
Draw the SRAM Write Circuitry
What is the function of tie-high and tie-low cells?
What types of I/O have you designed? What were their size? Speed? Configuration? Voltage requirements?
What are the changes that are provided to meet design power targets?
In a SRAM layout, which metal layers would you prefer for Word Lines and Bit Lines? Why?
What transistor level design tools are you proficient with? What types of designs were they used on?