CIRCT  20.0.0git
Public Attributes | List of all members
circt::ExportVerilog::FileInfo Struct Reference

Information to control the emission of a list of operations into a file. More...

#include <ExportVerilogInternals.h>

Collaboration diagram for circt::ExportVerilog::FileInfo:
Collaboration graph
[legend]

Public Attributes

SmallVector< OpFileInfo, 1 > ops
 The operations to be emitted into a separate file, and where among the replicated per-file operations the operation should be emitted. More...
 
bool emitReplicatedOps = true
 Whether to emit the replicated per-file operations. More...
 
bool addToFilelist = true
 Whether to include this file as part of the emitted file list. More...
 
bool isHeader = false
 If true, the file is a header. More...
 
bool isVerilog = true
 If true, the file is known to be (system) verilog source code. More...
 

Detailed Description

Information to control the emission of a list of operations into a file.

Definition at line 170 of file ExportVerilogInternals.h.

Member Data Documentation

◆ addToFilelist

bool circt::ExportVerilog::FileInfo::addToFilelist = true

Whether to include this file as part of the emitted file list.

Definition at line 179 of file ExportVerilogInternals.h.

◆ emitReplicatedOps

bool circt::ExportVerilog::FileInfo::emitReplicatedOps = true

Whether to emit the replicated per-file operations.

Definition at line 176 of file ExportVerilogInternals.h.

Referenced by circt::ExportVerilog::SharedEmitterState::collectOpsForFile().

◆ isHeader

bool circt::ExportVerilog::FileInfo::isHeader = false

If true, the file is a header.

Definition at line 182 of file ExportVerilogInternals.h.

Referenced by circt::ExportVerilog::SharedEmitterState::collectOpsForFile().

◆ isVerilog

bool circt::ExportVerilog::FileInfo::isVerilog = true

If true, the file is known to be (system) verilog source code.

This flag is used to distinguish verilog from other files such as json.

Definition at line 186 of file ExportVerilogInternals.h.

Referenced by circt::ExportVerilog::SharedEmitterState::collectOpsForFile().

◆ ops

SmallVector<OpFileInfo, 1> circt::ExportVerilog::FileInfo::ops

The operations to be emitted into a separate file, and where among the replicated per-file operations the operation should be emitted.

Definition at line 173 of file ExportVerilogInternals.h.

Referenced by circt::ExportVerilog::SharedEmitterState::collectOpsForFile(), and circt::ExportVerilog::SharedEmitterState::gatherFiles().


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