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
What are the different gates where boolean logic are applicable?
Explain Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?
Explain what is scr (silicon controlled rectifier)?
Explain the working of 4-bit Up/down Counter?
Design an 8 is to 3 encoder using 4 is to encoder?
Help with VHDL programming. Write a VHDL code for a D-Latch with clear input ?? (Hint: Set up a “Process” with appropriate sensitivity list to get the desired D-Latch with Clr working.) Inputs AND OUTPUTS: entity Lab4b is Port ( Clr, Clk, D : in STD_LOGIC; Q : out STD_LOGIC); end Lab4b;
Implement a function with both ratioed and domino logic and merits and demerits of each logic?
what is verilog?
Explain Basic Stuff related to Perl?
What are the main issues associated with multiprocessor caches and how might you solve them?
Explain CMOS Inverter transfer characteristics?
What's the price in 1K quantity?
What are the different design constraints occur in the synthesis phase?
What does it mean “the channel is pinched off”?
what is the difference between the TTL chips and CMOS chips?