ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Embedded Systems  >>  VLSI
 
 


 

 
 86 Family interview questions  86 Family Interview Questions
 VLSI interview questions  VLSI Interview Questions
 DSP interview questions  DSP Interview Questions
 Embedded Systems AllOther interview questions  Embedded Systems AllOther Interview Questions
Question
Implement D flip-flop with a couple of latches? Write a VHDL
Code for a D flip-flop?
 Question Submitted By :: Markus
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Implement D flip-flop with a couple of latches? Write a VHDL Code for a D flip-flop?
Answer
# 1
library ieee;
use ieee.std_logic_1164.all;

entity d_ff is
port(d,clk:in std_logic;
     q,q'bar:out std_logic);
end d_ff;

architecture a_d_ff of d_ff is
begin
process(clk)
begin
if rising_edge(clk) then
q<=d;
q'bar<=not d;
end if;
end process;
end a_d_ff;
 
Is This Answer Correct ?    6 Yes 0 No
Balaji
 
  Re: Implement D flip-flop with a couple of latches? Write a VHDL Code for a D flip-flop?
Answer
# 2
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 ?    6 Yes 0 No
Muthu
 
 
 
  Re: Implement D flip-flop with a couple of latches? Write a VHDL Code for a D flip-flop?
Answer
# 3
D flip-flop can be implemented by using 2 D-Latches.



   ----------       -----------
--|Din     Q |-----|Din       Q|---output of Flop
  |  D-latch1|     | D-latch2  |
  |    ^     |     |    ^      |
   ----|-----       ----|------
Clk -------------not-----
 
Is This Answer Correct ?    2 Yes 0 No
Seetharamukg
 

 
 
 
Other VLSI Interview Questions
 
  Question Asked @ Answers
 
Differences between DRAM and SRAM? Intel4
what is short Channel effect.  1
What is polymorphism? (C++) Intel1
How many bit combinations are there in a byte? Intel4
What is FPGA? Intel2
What are the two types of noise of MOSFET, how to eliminate them?(Thermal and Flicker). Analog-Devices2
How does Resistance of the metal lines vary with increasing thickness and increasing length?  1
Differences between Signals and Variables in VHDL? If the same code is written using Signals and Variables what does it synthesize to? Intel1
Are you familiar with the term MESI? Intel1
What is setup time and hold time? Intel1
What are the main issues associated with multiprocessor caches and how might you solve them? Intel1
Explain the concept of a Clock Divider Circuit? Write a VHDL code for the same? Intel1
Explain about stuck at fault models, scan design, BIST and IDDQ testing? Intel1
Differences between D-Latch and D flip-flop? Intel6
What products have you designed which have entered high volume production? Intel1
What is LVS, DRC? Intel4
What are the limitations in increasing the power supply to reduce delay?  1
What is a linked list? Explain the 2 fields in a linked list? Intel1
Implement D flip-flop with a couple of latches? Write a VHDL Code for a D flip-flop? Intel3
Which gate is normally preferred while implementing circuits using CMOS logic, NAND or NOR? Why? Intel6
 
For more VLSI Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com