PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: marketing

Circuit Design with VHDL

Circuit Design with vhdl 1st Edition Volnei A. Pedroni, MIT Press, 2004 Selected Exercise Solutions Problem : Multiplexer ---------------------------------------- ---------- LIBRARY ieee; USE ; ---------------------------------------- ---------- ENTITY mux IS PORT ( a, b: IN STD_LOGIC_VECTOR(7 DOWNTO 0); sel: IN STD_LOGIC_VECTOR(1 DOWNTO 0); c: OUT STD_LOGIC_VECTOR(7 DOWNTO 0)); END mux; ---------------------------------------- ---------- ARCHITECTURE example OF mux IS BEGIN PROCESS (a, b, sel) BEGIN IF (sel="00") THEN c <= "00000000"; ELSIF (sel="01") THEN c <= a; ELSIF (sel="10") THEN c <= b; ELSE c <= (OTHERS => 'Z'); --or c<="ZZZZZZZZ"; END IF; END PROCESS; END example; ---------------------------------------- ---------- Problem : Dealing with data types First, recall figure , which shows four types of data structures.

Circuit Design with VHDL, 1st edition, Volnei A. Pedroni, MIT Press, 2004 Selected Exercise Solutions 3 w(2)(7 DOWNTO 0) <= x;

Tags:

  With, Design, Circuit, Vhdl, Circuit design with vhdl

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Circuit Design with VHDL

Related search queries