The Entity -
Port will
describe what's coming in and out of the module.
For each Entity
should there be at least one
Architecture
which describe the functionality of the module.
If an internal connection (a net) needed inside the
Architecture
must it be defined as a
Signal .... before the
Begin statement.
Note that the "arrow"
<= used to
assign values to a signal.
Boolean operators like
Not,
And,
Or can be used.
The Concatenation statement
& used to
combine single wires to busses.
Compare the code with the Schematic form the former exercise.