How to implement an adder without using adder block in Simulink

Risposte (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

Categorie

Richiesto:

il 16 Mag 2019

Risposto:

il 16 Mag 2019

Community Treasure Hunt

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

Start Hunting!

Translated by