Skip to content

Latest commit

 

History

History

Compiler Directives

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Directory Specifications:

This directory contains example code showcasing the utilization of compiler directives in SystemVerilog.

The suggested order to read the files is as follows:

  • 'define and 'undef:

    • Introduces the functionality of 'define and 'undef.
    • Explores parameterized macros, multi-line macros, and macros with and without default values for arguments.
  • Using 'define for Methods:

    • Demonstrates the creation of methods using 'define, that accepts arguments and utilizes them throughout the codebase.
  • Using 'ifdef, 'ifndef and 'else:

    • Illustrates the application of conditional directives, showcasing how distinct code blocks execute based on defined macros.