

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A lab assignment for undergraduate and graduate students to design and implement a 4-bit multiplier for signed binary numbers using booth's algorithm. Students will use schematic capture and/or vhdl to create the design, which will take two 4-bit signed binary numbers as input and display the product in decimal format and the sign on altera up 1 educational trainer's seven-segment leds. Background information on booth's algorithm and pin assignments for the flex_sw1 switches, flex digit segment i/o connections, and the flex_pb1 push button.
Typology: Assignments
1 / 2
This page cannot be seen from the preview
Don't miss anything!


(Undergraduate 100 points -- Graduate 80 points) ˚ The purpose of this laboratory project is to give each student the opportunity to develop a practical logic design using both schematic capture and/or VHDL that will implement a 4-bit multiplier for signed binary number using Booth s algorithm. The design will take two 4-bit singed binary numbers (2 s complement) from Altera UP 1 Educational Trainer’s FLEX_SW switches and display the product in decimal format as well as the sign on two of the Altera UP 1 Educational Trainer’s seven-segment LEDs.
Problem 4.15 (pages 158-159) of the textbook has a detailed description of the Booth s algorithm. You can try this nice on-line Booth s algorithm simulator also: (http://www.ecs.umass.edu/ece/koren/arith/simulator/Booth/)
Altera Pin Numbers for FLEX_PB1 push button
FLEX_PB1 push button connects to pin 28 of the EPF10K20 FPGA device
Altera Pin Numbers for Crystal Oscillator
The Altera UP 1 Educational Trainer’s board contains a 25.175-MHz crystal oscillator. The output of the oscillator drives a global clock input on the EPF10K20 FPGA device (Pin91).
Note: use SW1- SW4 to set up multiplier, and SW5 — SW8 to set up multiplicand
Note : Decimal Point for DIGIT 1 will be used to display the signed of the result. On represents negative, while off represents positive.
Assignment
0110 x 0011 1000 x 0010 0110 x 1110 1100 x 1001
Due Day
Lab: 4/16 and Lab Report: 4/