Actions
Some Details » History » Revision 2
« Previous |
Revision 2/4
(diff)
| Next »
Alexander Kamkin, 08/01/2014 11:51 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 2, name = "var", type = "output", namesakes = { ID 1 } 〉
Updated by Alexander Kamkin over 10 years ago · 4 revisions