Data Types in Open Vera :
- Integar
- Bit (reg)
- Enumerated
- Arrays
- Associative arrays
- Objects
- Numbers
- Sized Numbers - like 4'b1010 (4 bit binary number)
- Unsized numbers - `b1010 (32 bit binary number by default)
Examples :
integer var1; // decalartion
integer var1 = 4`b1010; // declaration + initialization
In vera reg and bit are synonymous.
|
|
This Articles is written/submitted by puneet (Puneet Aggarwal). You can also contribute to Asicguru.com. Click here to start
|
Prev << Hello World
|
Next >> Operators
|