CIRCT
20.0.0git
|
#include <CalyxLoweringUtils.h>
Public Member Functions | |
MemoryInterface () | |
MemoryInterface (const MemoryPortsImpl &ports) | |
MemoryInterface (calyx::MemoryOp memOp) | |
MemoryInterface (calyx::SeqMemoryOp memOp) | |
Value | readData () |
Value | readEn () |
Value | contentEn () |
Value | writeData () |
Value | writeEn () |
Value | done () |
std::optional< Value > | readDataOpt () |
std::optional< Value > | readEnOpt () |
std::optional< Value > | contentEnOpt () |
std::optional< Value > | writeDataOpt () |
std::optional< Value > | writeEnOpt () |
std::optional< Value > | doneOpt () |
ValueRange | addrPorts () |
Private Attributes | |
std::variant< calyx::MemoryOp, calyx::SeqMemoryOp, MemoryPortsImpl > | impl |
Definition at line 99 of file CalyxLoweringUtils.h.
|
default |
|
explicit |
Definition at line 164 of file CalyxLoweringUtils.cpp.
References assert(), circt::calyx::MemoryPortsImpl::isContentEn, circt::calyx::MemoryPortsImpl::readOrContentEn, and circt::calyx::MemoryPortsImpl::writeEn.
|
explicit |
Definition at line 169 of file CalyxLoweringUtils.cpp.
|
explicit |
Definition at line 170 of file CalyxLoweringUtils.cpp.
ValueRange circt::calyx::MemoryInterface::addrPorts | ( | ) |
Definition at line 285 of file CalyxLoweringUtils.cpp.
References impl.
Referenced by circt::pipelinetocalyx::BuildOpGroups::assignAddressPorts(), and circt::scftocalyx::BuildOpGroups::assignAddressPorts().
Value circt::calyx::MemoryInterface::contentEn | ( | ) |
Definition at line 184 of file CalyxLoweringUtils.cpp.
References assert(), and contentEnOpt().
std::optional< Value > circt::calyx::MemoryInterface::contentEnOpt | ( | ) |
Definition at line 235 of file CalyxLoweringUtils.cpp.
References assert(), impl, and writeEn().
Referenced by contentEn().
Value circt::calyx::MemoryInterface::done | ( | ) |
Definition at line 202 of file CalyxLoweringUtils.cpp.
std::optional< Value > circt::calyx::MemoryInterface::doneOpt | ( | ) |
Value circt::calyx::MemoryInterface::readData | ( | ) |
Definition at line 172 of file CalyxLoweringUtils.cpp.
References assert(), and readDataOpt().
std::optional< Value > circt::calyx::MemoryInterface::readDataOpt | ( | ) |
Value circt::calyx::MemoryInterface::readEn | ( | ) |
Definition at line 178 of file CalyxLoweringUtils.cpp.
References assert(), and readEnOpt().
std::optional< Value > circt::calyx::MemoryInterface::readEnOpt | ( | ) |
Definition at line 219 of file CalyxLoweringUtils.cpp.
References assert(), and impl.
Referenced by readEn().
Value circt::calyx::MemoryInterface::writeData | ( | ) |
Definition at line 190 of file CalyxLoweringUtils.cpp.
References assert(), and writeDataOpt().
std::optional< Value > circt::calyx::MemoryInterface::writeDataOpt | ( | ) |
Value circt::calyx::MemoryInterface::writeEn | ( | ) |
Definition at line 196 of file CalyxLoweringUtils.cpp.
References assert(), and writeEnOpt().
Referenced by contentEnOpt().
std::optional< Value > circt::calyx::MemoryInterface::writeEnOpt | ( | ) |
|
private |
Definition at line 121 of file CalyxLoweringUtils.h.
Referenced by addrPorts(), contentEnOpt(), doneOpt(), readDataOpt(), readEnOpt(), writeDataOpt(), and writeEnOpt().