Electrical Engineering
Use System Modeler to construct and study electrical circuits, power electronics, and electrical machinery. Combine electrical and mechanical components to build complete system models. Perform analysis tasks and measure performance.
8-Bit Adder
Binary adders are digital circuits often used in computers for basic arithmetic operations. Using the digital library in the standard Modelica library, we have constructed an 8-bit adder that takes two 8-bit integers and calculates their sum.
To run this example, you'll need
The latest versions of System Modeler and Mathematica.
Please make a selection:
Get afree trial Continue
with download
The 8-Bit Adder Principle
The 8-bit adder adds the numbers digit by digit, as can be seen in the schematic diagram below. In this example, the integers 170 and 51 represent input a and b, respectively, and the resulting output is the sum 221. The first adder does not have any carry‐in, and so it is represented by a half adder (HA) instead of a full adder (FA).
Simulation Result
Wolfram System Modeler
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »