What is a D-latch? Write the VHDL Code for it?
Answer Posted / bhushan
D-Latch is a level sensitive flip-flop.
output changes as long as clock is High(for +ve level
sensitive) or High(for -ve level sensitive)
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 ? | 23 Yes | 24 No |
Post New Answer View All Answers
What is the difference between synchronous and asynchronous reset?
What was your role in the silicon evaluation or product ramp? What tools did you use?
You have a driver that drives a long signal & connects to an input device. At the input device there is either overshoot, undershoot or signal threshold violations, what can be done to correct this problem?
Draw the Layout of an Inverter?
Process technology? What package was used and how did you model the package/system? What parasitic effects were considered?
What is threshold voltage?
If an/ap = 0.5, an/ap = 1, an/ap = 3, for 3 inverters draw the transfer characteristics?
What are the various regions of operation of mosfet? How are those regions used?
Explain how MOSFET works?
what is the difference between the TTL chips and CMOS chips?
How can you model a SRAM at RTL Level?
What does it mean “the channel is pinched off”?
Describe the various effects of scaling?
Explain the working of Insights of a pass gate ?
What transistor level design tools are you proficient with? What types of designs were they used on?