How to implement an adder without using adder block in Simulink

Answers (1)

Hello Gowtham Gowda,
my suggestion would be to use the implementation of a full adder which performs bitwise logical operations. I attached a Simulink model that performs a 4-bit addition just using logical operations. Just for the sake of result visualization there is an add-block in the convertToDouble subsystem.
For further reference have a look at wikipedia:
Kind regards,
Robert

Categories

Asked:

on 16 May 2019

Answered:

on 16 May 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!