CIRCT 23.0.0git
Loading...
Searching...
No Matches
Macros | Functions
FirMemLowering.cpp File Reference
#include "FirMemLowering.h"
#include "circt/Dialect/HW/HWAttributes.h"
#include "circt/Support/Path.h"
#include "mlir/IR/Threading.h"
#include "llvm/ADT/MapVector.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/Path.h"
Include dependency graph for FirMemLowering.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lower-seq-firmem"
 

Functions

static Attribute computeCommonOutputFile (ArrayRef< seq::FirMemOp > memOps)
 Return the lowest common ancestor directory of all memory ops provided.
 
static Value lookThroughWires (Value value)
 Trace a value through wires to its original definition.
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lower-seq-firmem"

Definition at line 22 of file FirMemLowering.cpp.

Function Documentation

◆ computeCommonOutputFile()

static Attribute computeCommonOutputFile ( ArrayRef< seq::FirMemOp >  memOps)
static

Return the lowest common ancestor directory of all memory ops provided.

Definition at line 25 of file FirMemLowering.cpp.

References circt::makeCommonDirectoryPrefix().

Referenced by circt::FirMemLowering::createMemoryModule().

◆ lookThroughWires()

static Value lookThroughWires ( Value  value)
static

Trace a value through wires to its original definition.

Definition at line 83 of file FirMemLowering.cpp.

Referenced by circt::FirMemLowering::collectMemory(), circt::firrtl::getModuleScopedDriver(), circt::firrtl::isModuleScopedDrivenBy(), and circt::firrtl::walkDrivers().