Home System Verilog Constructs OOP Concepts
Main Menu
Home
System Verilog
    - Constructs
        -- Introduction
        -- Data Types
        -- Type Casting
        -- SV Arrays
        -- Assoc Arrays
        -- Dynamic Array
        -- Queues
        -- Operators
        -- Procedural statements
        -- Classes
        -- OOP Concepts
        -- Inter process communication
        -- Randomization
        -- Interface
        -- Clocking block
        -- Conststraits
        -- Coverage
        -- DPI
        -- Regular expression
        -- Files
    - SV Classes
    - Functional Coverage SV
    - Examples
    - Tools
    - Links
    - Books
    - Interview Questions SV
Verilog
Methodologies
Open Vera
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
System verilog object oriented concepts
Share This Articale:

What is Object oriented programming :

  1. OOP is object oriented programming
  2. Classes form the base of OOP programming
  3. Encapsulation - OOP binds data & function together
  4. Inheritance –extend the functionality of existing objects
  5. Polymorphism – wait until runtime to bind data with functions
  6. OOP breaks a testbench into blocks that work together to accomplish the verification goal

Why Object oriented programming :

  1. Highly abstract system level modelling
  2. Classes are intended for verification
  3. Classes are easily reused and extended
  4. Data security
  5. Classes are dynamic in nature
  6. Easy debugging, one class at a time

What is Inheritence :

  1. Inheritance is to reuse the existing codev
  2. Inheritance allows to add new
    1. Data members(properties)
    2. New Methods
  3. Inheritance is to share code between classes

What is Advantage of Inheritence :

  1. Common code can be grouped into one class
  2. No need to modify the existing classes
  3. Add new features to existing class by means of new derived classes
  4. Easy debug & easy to maintain the code base

 

This Articles is written/submitted by puneet (Puneet Aggarwal). You can also contribute to Asicguru.com. Click here to start


Prev << Classes

Next >> Inter process communication

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