Skip to content
Snippets Groups Projects
Commit d57600f7 authored by jf3g19's avatar jf3g19
Browse files

Update README.md

parent 23cfc3b2
Branches
No related tags found
No related merge requests found
...@@ -9,18 +9,16 @@ Implementation of a Basic Distributed Arithmetic Architechture for MAC ...@@ -9,18 +9,16 @@ Implementation of a Basic Distributed Arithmetic Architechture for MAC
- Based on this assumption we can generate a LUT which allows us to transform the SoP to a series of shifts and adds. - Based on this assumption we can generate a LUT which allows us to transform the SoP to a series of shifts and adds.
- The File generate_LUT.cpp can be used to generate the LUT values for a given set of input coefficients. If you compile the file it can be run in the command line in the following format: - The File generate_LUT.cpp can be used to generate the LUT values for a given set of input coefficients. If you compile the file it can be run in the command line in the following format:
-
- `> generate_LUT [Multiplicand Bit-Width] [C[0]] [C[1]] [C[2]] [C[3]] .... [C[n]] ` `> generate_LUT [Multiplicand Bit-Width] [C[0]] [C[1]] [C[2]] [C[3]] .... [C[n]] `
-
- i.e i.e
-
- `generate_LUT 16 -4 -3 1 9` `generate_LUT 16 -4 -3 1 9`
-
- would generate the LUT for the coefficients c[0] = -4, c[1] = -3, c[2] = 1, c[3] = 9, and a 16-bit Bit-Width for your Multiplicand. would generate the LUT for the coefficients c[0] = -4, c[1] = -3, c[2] = 1, c[3] = 9, and a 16-bit Bit-Width for your Multiplicand.
-
- The generate multiplication coefficients can be stored as an unpacked array of packed values and should be connected directly to the `multiplication_coefficients` input port. The generate multiplication coefficients can be stored as an unpacked array of packed values and should be connected directly to the `multiplication_coefficients` input port.
**Example** **Example**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment