How to implement an adder without using adder block in Simulink

回答(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

类别

在 帮助中心 和 File Exchange 中查找有关 Get Started with Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by