Home Open Vera Tutorial Data Types
Main Menu
Home
System Verilog
Verilog
Methodologies
Open Vera
    - Tutorial
        -- Hello World
        -- Data Types
        -- Operators
        -- Control Structures
        -- Task and Functions
        -- Arrays
        -- Associative Arrays
        -- Associative Arrays
        -- Strings
        -- Files
        -- Interfaces
        -- Virtual ports and binds
        -- Concurrency
        -- Mailboxes
        -- Regions
        -- Events
        -- Semaphores
    - Examples
    - Tools
    - Links
    - Books
    - Interview Questions
Digital Concepts
Verification Basics
Protocols
Scripting
Articles
Videos
Interview Questions
Computer Architechture
C and C++
Blog/Article
AsicGuru Blog
Tags Cloud
Ads
Usefull Sites
Know Your IP/Location
Local Information India
Buy Car/Inverter Batteries
Real Estate India
Sports Accessories India
Data types in open vera
Share This Articale:

Data Types in Open Vera :

  1. Integar
  2. Bit (reg)
  3. Enumerated
  4. Arrays
  5. Associative arrays
  6. Objects
  7. Numbers
    1. Sized Numbers  - like 4'b1010 (4 bit binary number)
    2. 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

 
Login/Register
Register
Sign In
Login with :-
gmail-yahoo-twitter-facebook
| | |  
  •  
  • Bookmark
    ADS