Skip to content
asicguru.tech@gmail.com
REGISTER LOGIN
AsicGuru Ventures
  • All Courses
  • CONTACT
  • GALLERY
  • HOME
  • Tutorials

0

Verilog Tutorial

17
  • Verilog Introduction
  • Lexical Tokens
  • Gate-Level Modelling
  • Data Types
  • Operators
  • Operands
  • Modules
  • Behavioral Modeling
  • Timing Controls
  • Procedures: Always and Initial Blocks
  • Functions
  • Tasks
  • Component Inference
  • Finite State Machines.
  • Compiler Directives
  • System Tasks and Functions
  • Test Benches

System Verilog

23
  • System Verilog Introduction
  • Data Types
  • Type Casting
  • Arrays
  • Associative Arrays
  • Dynamic Arrays
  • Queue
  • Operators
  • Procedural statements and Control flow
  • Classes
  • Inheritance
  • Encapsulation
  • This and Super operator
  • In-Line Constraints
  • Class Constraints
  • Virtual Classes
  • Parameterized Classes
  • Classes Summary
  • Singleton Classes
  • Functional Coverage Introduction
  • Covergroup
  • Tools
  • Books

Scripting

15
  • Introduction
  • Perl Tutorial
  • What is Perl
  • Perl: Syntax And Variable
  • Perl Strings
  • Perl Arrays
  • Perl Associative Arrays
  • If/While Syntax
  • File Input
  • Print Output
  • String Processing with Regular Expressions
  • Subroutines
  • Running External Programs
  • References
  • Terse Perl

Makefile

1
  • Makefile Tutorial
View Categories
  • Home
  • Tutorials
  • System Verilog
  • Classes Summary

Classes Summary

< 1 min read

Summary :

  1. Inheritance using extends
    1. Single parent only
  2. Encapsulation
    1. All members globally visible by default
    2. local members are only visible in the class declaration
    3. protected members are visible in the class declaration and any subclasses
  3. Randomization with randomize method
    1. By default, randomizes properties qualified with rand or randc only
    2. Constraints can be defined:
    3.  “in-line” using with
    4.  as separate class properties using constraint blocks
    5. Constraints can be relational, conditional or weighted (dist)
  4. A virtual class cannot be instantiated, only used as a base class for inheritance.
  5. Polymorphism allows a object handle of a given class type to contain any inherited class instance.
  6. Virtual methods
    Simulator calls method according to the handle contents, not type.
    Allow subclass methods to be accessed off a parent class type variable
  7. Virtual method templates
  8. Placeholder for name/arguments of a method
    Implementation must be provided by a subclass for method to be used.
  9. Parameterized class
    Parameterized for type as well as size, width etc.
Updated on May 4, 2025

What are your Feelings

  • Happy
  • Normal
  • Sad
Share This Article :
  • Facebook
  • X
  • LinkedIn
  • Pinterest
Parameterized ClassesSingleton Classes

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Archives

  • May 2025

Categories

  • Slider Post
  • Uncategorized

Copyright @ Asicguru Ventures by Misbah WP | Proudly powered by WordPress