Skip to content

Module Notes

Alan Ehret edited this page Jan 31, 2017 · 1 revision

Documentation for modules in this design

Table of Contents

multiply_adder

Parameters:

MA_TREE_SIZE: Must be a power of 2. This is the number of inputs the the Multiply adder tree. If your input vector is not a power of 2, round up to the next power of 2 and ground the extra inputs.

Notes

  • The number of clock cycles needed to propagate through th e tree is log2(MA_TREE_SIZE)+1. So a tree with 16 inputs needs 5 clock cycles to output the correct result.
  • This module is pipelined and new inputs can be given each clock cycle.

Clone this wiki locally