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

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
std::vector< std::string > enableLayers
std::vector< std::string > disableLayers

Detailed Description

Definition at line 33 of file FIRParser.h.

Member Enumeration Documentation

◆ InfoLocHandling

Specify how @info locators should be handled.


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


Prefer @info locators, fallback to .fir locations.


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

Definition at line 35 of file FIRParser.h.

Member Data Documentation

◆ disableLayers

std::vector<std::string> circt::firrtl::FIRParserOptions::disableLayers

Definition at line 55 of file FIRParser.h.

◆ enableLayers

std::vector<std::string> circt::firrtl::FIRParserOptions::enableLayers

Definition at line 54 of file FIRParser.h.

◆ infoLocatorHandling

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

Definition at line 45 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 50 of file FIRParser.h.

◆ scalarizeExtModules

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

Definition at line 53 of file FIRParser.h.

◆ scalarizeInternalModules

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

Definition at line 52 of file FIRParser.h.

◆ scalarizePublicModules

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

Definition at line 51 of file FIRParser.h.

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