hw01 - ECE420 Homework#1 10 points Using the schematic...

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

View Full Document Right Arrow Icon
ECE420 Homework #1 10 points Using the schematic Design Entry Method, design a logic circuit that has two 2- bit inputs X and Y, a 1-bit input CinOrBin, and a 1-bit control input SubAddn. When the control input SubAddn is ‘0’, the logic circuit behaves as a 2-bit adder ( X + Y + CinOrBin ) with CinOrBin as the carry-in; when the control input SubAddn is ‘1’ and the logic circuit behaves as a 2-bit subtracter ( X – Y – CinOrBin ) with CinOrBin as the borrow-in. You must use Half-Adders and Half-Subtracters as building blocks to obtain a structured design. Your design will be used to configure the target FPGA EP2C35F672C6 with the following pin assignments: Pin Assignment Table DE2 Board Componen t Names Tutorial01 Signal Names Pin Numbers SW[5] SubAddn PIN_AD13 SW[4] Y1 PIN_AF14 SW[3] Y0 PIN_AE14 SW[2] X1 PIN_P25 SW[1] X0 PIN_N26 SW[0] CinOrBin PIN_N25 LEDR[2] CoutOrBout PIN_AB21 LEDR[1] SumOrDiff1 PIN_AF23 LEDR[0]] SumOrDiff0 PIN_AE23 Block Diagram X Y CoutOrBout CinOrBin SumOrDiff SubAddn 2 2 2
Image of page 1

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

View Full Document Right Arrow Icon
Verify your design by Functional simulation and by Timing simulation.
Image of page 2
Image of page 3
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