How to implement an adder without using adder block in Simulink

Antworten (1)

Robert U
Robert U am 16 Mai 2019

0 Stimmen

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

Kategorien

Gefragt:

am 16 Mai 2019

Beantwortet:

am 16 Mai 2019

Community Treasure Hunt

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

Start Hunting!

Translated by