11.07.2015 Views

Sample Solution Written Exam in VLSI I - Integrated Systems ...

Sample Solution Written Exam in VLSI I - Integrated Systems ...

Sample Solution Written Exam in VLSI I - Integrated Systems ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

List<strong>in</strong>gs1 library i e e e ;2 use i e e e . std_logic_1164 . a l l ;3 use i e e e . numeric_std . a l l ;45 entity f b c i r c u i t i s67 port (8 InputxDI : <strong>in</strong> s t d _ l o g i c ;9 OutputxDO : out s t d _ l o g i c ;10 ClkxCI : <strong>in</strong> s t d _ l o g i c ;11 RstxRBI : <strong>in</strong> s t d _ l o g i c ;12 EnablexSI : <strong>in</strong> s t d _ l o g i c ) ;1314 end f b c i r c u i t ;1516 architecture r t l of f b c i r c u i t i s1718 signal Reg1xDP , Reg1xDN : s t d _ l o g i c ;19 signal Reg2xDP , Reg2xDN : s t d _ l o g i c ;2021 beg<strong>in</strong> −− r t l2223 p_seq : process ( ClkxCI , RstxRBI )24 beg<strong>in</strong> −− p r o c e s s p_seq25 i f RstxRBI = ’ 0 ’ then −− asynchronous r e s e t ( a c t i v e low )26 Reg1xDP

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!