Actions
Some Details » History » Revision 1
Revision 1/4
| Next »
Alexander Kamkin, 08/01/2014 11:39 AM
Some Details¶
Variable Declarations¶
Each declaration has a set of namesakes (declarations with the same name). Take a look to an example below.
// A variable can be an output and a register (or a wire) at the same time.
output var;
reg var;
In this case, two declarations will be created:
- 〈 ID 1, name = "var", type = "output", namesakes = { ID 2 } 〉
- 〈 ID 1, name = "var", type = "output", namesakes = { ID 1 } 〉
Updated by Alexander Kamkin over 10 years ago · 4 revisions