Giter Site home page Giter Site logo

taneroksuz / mult-tree Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 49 KB

Wallace and Dadda tree multiplier generator in vhdl and verilog

License: Apache License 2.0

Makefile 1.62% Shell 22.54% C++ 36.48% VHDL 28.46% SystemVerilog 10.90%
wallace-tree-multiplier dadda-tree-multiplier code-generator hardware

mult-tree's Introduction

Tree Multiplier Generator for VHDL and SystemVerilog

This tool generates Wallace and Dadda tree multiplier in hardware description language VHDL and SystemVerilog.

Tools

The installation scripts of necessary tools are located in directory tools. These scripts need root permission in order to install packages and tools for simulation. Please run these scripts in directory tools locally.

Design Files

After running one of below commands the automatically generated design files are located in src/verilog and src/vhdl.

Options

N, M are for dimension of input vectors and MAXTIME is for number of iterations.

Multiplication

Dadda Tree

SystemVerilog

make run_mul DADDA=1 VERILOG=1 N=32 M=64 MAXTIME=1000

VHDL

make run_mul DADDA=1 VHDL=1 N=32 M=64 MAXTIME=1000

Wallace Tree

SystemVerilog

make run_mul WALLACE=1 VERILOG=1 N=32 M=64 MAXTIME=1000

VHDL

make run_mul WALLACE=1 VHDL=1 N=32 M=64 MAXTIME=1000

Addition

SystemVerilog

make run_add ADD=1 VERILOG=1 N=32 MAXTIME=1000

VHDL

make run_add ADD=1 VHDL=1 N=32 MAXTIME=1000

Subtruction

SystemVerilog

make run_add SUB=1 VERILOG=1 N=32 MAXTIME=1000

VHDL

make run_add SUB=1 VHDL=1 N=32 MAXTIME=1000

mult-tree's People

Contributors

taneroksuz avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

mult-tree's Issues

Question about using verilator!

Hello, thankyou for your amazing work.

I'm currently trying to use your verilog code generator for wallace tree and dadda tree.

However, I'm now in problem with installing requirements.

So far, I finished to run ghdl.sh and verilator.sh...however, I don't have any idea what to do from now on. Can you tell me about details for me to run your generator successfully? Thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.