CIRCT  19.0.0git
Public Types | Public Attributes | List of all members
circt::firrtl::FIRParserOptions Struct Reference

#include <FIRParser.h>

Collaboration diagram for circt::firrtl::FIRParserOptions:
Collaboration graph
[legend]

Public Types

enum class  InfoLocHandling { IgnoreInfo , PreferInfo , FusedInfo }
 Specify how @info locators should be handled. More...
 

Public Attributes

InfoLocHandling infoLocatorHandling = InfoLocHandling::PreferInfo
 
unsigned numAnnotationFiles
 The number of annotation files that were specified on the command line. More...
 
bool scalarizePublicModules = false
 
bool scalarizeInternalModules = false
 
bool scalarizeExtModules = false
 

Detailed Description

Definition at line 31 of file FIRParser.h.

Member Enumeration Documentation

◆ InfoLocHandling

Specify how @info locators should be handled.

Enumerator
IgnoreInfo 

If this is set to true, the @info locators are ignored, and the locations are set to the location in the .fir file.

PreferInfo 

Prefer @info locators, fallback to .fir locations.

FusedInfo 

Attach both @info locators (when present) and .fir locations.

Definition at line 33 of file FIRParser.h.

Member Data Documentation

◆ infoLocatorHandling

InfoLocHandling circt::firrtl::FIRParserOptions::infoLocatorHandling = InfoLocHandling::PreferInfo

Definition at line 43 of file FIRParser.h.

◆ numAnnotationFiles

unsigned circt::firrtl::FIRParserOptions::numAnnotationFiles

The number of annotation files that were specified on the command line.

This, along with numOMIRFiles provides structure to the buffers in the source manager.

Definition at line 48 of file FIRParser.h.

◆ scalarizeExtModules

bool circt::firrtl::FIRParserOptions::scalarizeExtModules = false

Definition at line 51 of file FIRParser.h.

◆ scalarizeInternalModules

bool circt::firrtl::FIRParserOptions::scalarizeInternalModules = false

Definition at line 50 of file FIRParser.h.

◆ scalarizePublicModules

bool circt::firrtl::FIRParserOptions::scalarizePublicModules = false

Definition at line 49 of file FIRParser.h.


The documentation for this struct was generated from the following file: