What is a D-latch? Write the VHDL Code for it?
Answer Posted / sghsg
library ieee;
use ieee.std_logic_1164.all;
entity D_latch is
port (
clk : in std_logic;
d : in std_logic;
q : out std_logic
);
end D_latch;
architecture arch_D_latch of D_latch is
begin
process(d,clk)
begin
-- +ve level sensitive
if(clk = '1') then
q <= d;
else
q <= q;
end if;
end process;
end arch_D_latch;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
You have three adjacent parallel metal lines. Two out of phase signals pass through the outer two metal lines. Draw the waveforms in the centre metal line due to interference. Now, draw the signals if the signals in outer metal lines are in phase with each other
What's the price in 1K quantity?
Tell me how MOSFET works.
If not into production, how far did you follow the design and why did not you see it into production?
What is the difference between cmos and bipolar technologies?
Are you familiar with the term snooping?
What are the Factors affecting Power Consumption on a chip?
Explain how logical gates are controlled by Boolean logic?
Implement a 2 I/P and gate using Tran gates?
Working of a 2-stage OPAMP?
What is the difference between synchronous and asynchronous reset?
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;
What types of high speed CMOS circuits have you designed?
Draw a CMOS Inverter. Explain its transfer characteristics
What is the function of tie-high and tie-low cells?