kuriousd / tt02-4bit-multiplier

Submission template for TT02

Home Page:https://www.tinytapeout.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FIRST

First time ASIC, First time using Verilog, First time cocotb, First time self-validated testbench

4-Bit Multiplier

4-bit Multiplier based on single bit full adders.

How it works?

Inputs to the multiplier are provided with the switch. As only eight inputs are available including clock and reset, only three bits remain available for each multiplication factor. Thus, a bit zero is set as the fourth bit. The output product is showed in the 7 segment display. Inputs are registered and a product is calculated. As output is 8-bit number, every 500ms a number appears. First the less significant 4 bits, after 500ms the most significant. When less significant 4-bits are displayed, the led dot including in the display is powered on.

How to test?

HDL code is tested using Makefile and cocotb. 4 set of tests are included: the single bit adder, the 4-bit adder, the 4-bit multiplier and the top design. In real hardware, the three less significant bits can create a number times the number created with the next three bits. Reset is asserted with the seventh bit of the switch.

What is Tiny Tapeout?

TinyTapeout is an educational project that aims to make it easier and cheaper than ever to get your digital designs manufactured on a real chip!

Go to https://tinytapeout.com for instructions!

Resources

What next?

About

Submission template for TT02

https://www.tinytapeout.com

License:Apache License 2.0


Languages

Language:Verilog 85.4%Language:Python 10.8%Language:Makefile 2.5%Language:Tcl 1.2%