Prelab10Upload - Objectives I will be introduced to new...

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

View Full Document Right Arrow Icon
Objectives: I will be introduced to new techniques that exist for binary addition, like carry-lookahead addition. I will learn how to design the necessary components using a mixture of dataflow and structural Verilog. Then I will simulate the circuit using Xilinx ISE. I will reinforce the concepts discussed in lecture with this hands-on experience. Design: For this pre-lab, we were asked to provide: 1. Describe the Generate/Propogate Unit, Carry-Lookahead Unit, and the Summation Unit with dataflow Verilog. /* This module describes the Carry Generate/Propagate Unit for 4bit carry-lookahead addition*/ module generate_propagate_unit(G, P, X, Y); //ports are wires as we will use dataflow Output wire [3:0] G, P; Input wire [3:0] X, Y; Assign G[3] = X[3]&Y[3]; Assign G[2] = X[2]&Y[2]; Assign G[1] = X[1]&Y[1]; Assign G[0] = X[0]&Y[0]; Assign P[3] = X[3]^Y[3]; Assign P[2] = X[2]^Y[2]; Assign P[1] = X[1]^Y[1]; Assign P[0] = X[0]^Y[0]; endmodule ///////////////// This study resource was shared via CourseHero.com
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
Image of page 2
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