This repo contains most of the approximate adders I've designed and tested during my Internship at National Institute of Technology, Delhi.
This is an 8-bit adder with 4 bit accurate and 4 bit approximate part.
The approximate result is obtained from the first (k) bits from lsb. The accurate part is till the (n-k)th bit from MSB to reduce error distace.
The LSB (approximate) part has two circuits; Constant truncation part and Sum with reduced error scheme.
The circuit has a carry prediction technique, and the approximate bits are truncated whenever a carry is produced to reduce the error distance.
##Error analysis: The repo contains the design code in verilog and testbench. The testbench generates a textfile with a number of outputs. The error analysis can be done using simple python script, also attacehd in the repo.
PS HERE'S THE LAYOUT DESIGN OF A MULTIPLIER CIRCUIT MADE USING ERROR REDUCED CARRY PREDICTION ADDER ;-]
*Note : I attached this only for fun and the repo doesn't have anything to generate the layout design.