0 Bewertungen0% fanden dieses Dokument nützlich (0 Abstimmungen)
181 Ansichten10 Seiten
This document describes how to design a combinational circuit to convert a binary number to a binary coded decimal (BCD) number using a shift-add-3 algorithm. The algorithm involves shifting each bit of the binary number left and adding 3 to the result if it is greater than 4. This converts it to a valid BCD value. The document provides examples and truth tables for implementing the shift-add-3 operation and an Add-3 module using logic gates or Verilog. The goal of the lab is to implement the full shift-add-3 circuit in a FPGA to convert an 8-bit binary number from switches to a BCD number displayed on a 7-segment LED display.
This document describes how to design a combinational circuit to convert a binary number to a binary coded decimal (BCD) number using a shift-add-3 algorithm. The algorithm involves shifting each bit of the binary number left and adding 3 to the result if it is greater than 4. This converts it to a valid BCD value. The document provides examples and truth tables for implementing the shift-add-3 operation and an Add-3 module using logic gates or Verilog. The goal of the lab is to implement the full shift-add-3 circuit in a FPGA to convert an 8-bit binary number from switches to a BCD number displayed on a 7-segment LED display.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als PDF, TXT herunterladen oder online auf Scribd lesen
This document describes how to design a combinational circuit to convert a binary number to a binary coded decimal (BCD) number using a shift-add-3 algorithm. The algorithm involves shifting each bit of the binary number left and adding 3 to the result if it is greater than 4. This converts it to a valid BCD value. The document provides examples and truth tables for implementing the shift-add-3 operation and an Add-3 module using logic gates or Verilog. The goal of the lab is to implement the full shift-add-3 circuit in a FPGA to convert an 8-bit binary number from switches to a BCD number displayed on a 7-segment LED display.
Copyright:
Attribution Non-Commercial (BY-NC)
Verfügbare Formate
Als PDF, TXT herunterladen oder online auf Scribd lesen