CIRCT  20.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
 
std::vector< std::string > enableLayers
 
std::vector< std::string > disableLayers
 
std::optional< LayerSpecialization > defaultLayerSpecialization
 

Detailed Description

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

Member Data Documentation

◆ defaultLayerSpecialization

std::optional<LayerSpecialization> circt::firrtl::FIRParserOptions::defaultLayerSpecialization

Definition at line 58 of file FIRParser.h.

◆ disableLayers

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

Definition at line 57 of file FIRParser.h.

◆ enableLayers

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

Definition at line 56 of file FIRParser.h.

◆ infoLocatorHandling

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

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

◆ scalarizeExtModules

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

Definition at line 55 of file FIRParser.h.

◆ scalarizeInternalModules

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

Definition at line 54 of file FIRParser.h.

◆ scalarizePublicModules

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

Definition at line 53 of file FIRParser.h.


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