modelAdder
Generic N Bit Adder
Information
The Adder is a generic n bit adder which is composed as a chain of FullAdder components. n can be chosen by the user, a and b are the n bit input vectors, s is the sum vector, and c_out is the carry bit of the "highest" FullAdder. All components are built up by Gate components.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | 2 | Number of single adders |
Connectors
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Electrical.Digital.Examples.Utilities.FullAdder[n] | Adder |