{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Experiment1 - Experiment#1 CPE 269 04 Professor Bell Oct 3...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Experiment #1 CPE 269 – 04 Professor Bell Oct. 3, 2006 Colin McKinney Jon Lyons
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Structural VHDL: entity exp1_ckt is Port ( CLK_IN : in STD_LOGIC; RESET_IN : in STD_LOGIC; UP_IN : in STD_LOGIC; DEN1 : in STD_LOGIC; DEN 2 : in STD_LOGIC; CKT_OUT : out STD_LOGIC_VECTOR (7 downto 0)); end exp1_ckt; architecture ckt of exp1_ckt is component bit_3_count port (CLK, RESET, UP : in STD_LOGIC; COUNT : out STD_LOGIC_VECTOR(2 downto 0)); end component; component decoder port (DEN : in STD_LOGIC; D_IN : in STD_LOGIC_VECTOR(2 downto 0); F_OUT : out STD_LOGIC VECTOR(7 downto 0)); end component; signal count_to_decoder : STD_LOGIC_VECTOR( 2 downto 0); signal d_nand : STD_LOGIC; begin d_nand <= not (DEN1 and DEN2); x1 : bit_3_count port map (CLK => CLK_IN, RESET => RESET_IN, UP => UP_IN, COUNT => count_to_decoder); a1 : decoder port map (DEN => d_nand, D_IN => count_to_decoder, F_OUT => CKT_OUT); end ckt;
Image of page 2
Explanation of Circuit (Part 7 of procedure): The circuit outputs minterms is an ascending order if the UP, DEN1, and DEN2 inputs are high and the RESET input is low. This is triggered by the rising edge of the CLK input. Each minterm has a corresponding output D0-D7 which each light up and LED.
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern