Skip to content

nogieman/Approximate_Adders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Approximate_Adders

This repo contains most of the approximate adders I've designed and tested during my Internship at National Institute of Technology, Delhi.

Circuits in Verilog

1. Non-zero Truncation adder

This is an 8-bit adder with 4 bit accurate and 4 bit approximate part. Screenshot 2024-08-12 105759 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.

2. Error Reduced Carry Prediction Adder

Screenshot 2024-08-12 150237 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 ;-]

Screenshot 2024-08-12 152253 *Note : I attached this only for fun and the repo doesn't have anything to generate the layout design.

About

Design and error analysis scripts in verilog and python for approximate circuits.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors