\( \)

Error Detection/Correction and 2421 Adder

Assigned

October 23th, 2024

Due

November 4th, 2024

Contents

  1. Lore
  2. Goals
  3. Lab Report
  4. Deliverables
  5. Grading

Lore

This lab assignment consists of two parts. In the first part, you are invited to implement an error detection/correction circuit by modifying the Booth’s multiplier circuit you have designed in Digital in your Lab 2 assignment. We will provide you with a correctly functioning multiplier circuit for this part in case you do not have a fully operational circuit handy from your Lab 2 assignment. In the second part, we consider the subtraction of two decimal numbers represented in excess-3 codes. As we have discussed in CSE 140, the result of a direct binary subtraction on two excess-3 numbers is not a valid excess-3 code. Therefore, we ask you to implement an optimized correction circuit that will add/subtract 3 to/from the binary subtraction result of two excess-3 digits. The correct operation of your correction circuit can be confirmed by connecting it to a 4-bit binary subtractor that you can obtain from the Digital standard library. The combined circuit should deliver the difference of two excess-3 decimal digits in excess-3 representation which you will extend to subtract two 4 digit excess-3 numbers.

Goals

The goal of this lab is to teach you how to correct binary subtraction results for excess-3 numbers and extend the solution to subtract multi-digit excess-3 numbers. The lab will be divided into 2 parts:

  1. Error Detection/Correction Circuit
  2. Constant-3 Adder/Subtractor

Lab Report

Please write a lab report that contains the following information:

  • Your name(s) and PID(s)
  • Pictures of your final circuits for each part (including embedded circuits)
  • Answers to lab report questions (located on the bottom of each part)

Deliverables

Please submit the following files to Gradescope individually:

  • Lab3Part1.v
  • Lab3Part2.v
  • All .dig files you have created
  • PDF of your lab report

Grading


Table of contents


This page was last updated on November 30 2024 at 05:47 AM (UTC).