https://github.com/abdallahabusidu/combinational-multiplier
https://github.com/abdallahabusidu/combinational-multiplier
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/abdallahabusidu/combinational-multiplier
- Owner: abdallahabusidu
- Created: 2021-04-09T11:37:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-10T12:57:25.000Z (about 4 years ago)
- Last Synced: 2025-03-31T06:45:25.640Z (2 months ago)
- Language: Verilog
- Size: 367 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Design of Combinational Multiplier
#### - RTL implementation of a 4x4 multiplier for unsigned numbers using combinational logic
#### - RTL implementation of the conversion of binary numbers to binarycoded-decimal (BCD) encoder (binary to BCD conversion) using the "shift-add-3" algorithm
#### - RTL implementation of the a seven-segment decoder (SSD) using combinational logic.
#### - Integration of the above three blocks as shown in the figure below:
Figure 1: Block diagram for the integrated multiplier
## BCD Encoder using the "shift-add-3" algorithm
#### This will be implemented using shift-add-3 algorithm.#### Now, the question is how to implement this in your circuit.
#### First, we need a macro which has a four-bit input and four-bit output and which performs the operation "add 3 if the input is 5 or greater". This is up to you to design however you want. Then, the converter can be arranged in the following manner:

# Seven-segment Decoder (SSD)
#### 7-segment displays are paired to display numbers in various sizes. The figure below
#### shows the connection of seven segments (common anode) to pins on Cyclone V FPGA.
#### The segment can be turned on or off by applying a low logic level or high logic level
#### from the FPGA, respectively. Develop the truth table for converting BCD to the 7-
#### segment display decoder. For example, BCD=0000 will correspond to SSD=100000,BCD=0001 will correspond to SSD=1111001, etc.
## Result ScreenShots
### Multiplier

### BCD

### SSD

### integration

## Contributors
> Thanks goes to my teammate Islam Ahmed