CIRCT  18.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 scalarizeTopModule = 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.


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 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 50 of file FIRParser.h.

◆ scalarizeTopModule

bool circt::firrtl::FIRParserOptions::scalarizeTopModule = false

Definition at line 49 of file FIRParser.h.

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