#include <VerilogExport.hpp>
|
int | get_width (const Node *n) |
|
void | add_input (const vlg_name_t &n, int w) |
|
void | add_output (const vlg_name_t &n, int w) |
|
void | add_wire (const vlg_name_t &n, int w) |
|
void | add_reg (const vlg_name_t &n, int w) |
|
void | add_mem (const vlg_name_t &n, int addr_width, int data_width) |
|
void | add_stmt (const vlg_stmt_t &s) |
|
void | add_always_stmt (const vlg_stmt_t &s) |
|
void | add_init_stmt (const vlg_stmt_t &s) |
|
void | add_ite_stmt (const vlg_stmt_t &cond, const vlg_stmt_t &tstmt, const vlg_stmt_t &fstmt) |
|
void | start_iterate (const Node *n) |
|
vlg_name_t | getName (const Node *n) |
|
vlg_name_t | getArg (const Node *n, int i) |
|
vlg_name_t | translateBoolOp (const BoolOp *boolop) |
|
vlg_name_t | translateBitvectorOp (const BitvectorOp *bvop) |
|
void | nodeVistorFunc (const Node *n) |
|
void | exportCondWrites (const std::string &n, int addr_width, int data_width, const mem_write_list_t &writeList) |
|
void | checkMemVar (const Node *n, const MemVar *&mem, int &fail) |
|
void | visitMemNodes (const Node *n, const nptr_t &cond, mem_write_entry_list_stack_t &writesStack) |
|
vlg_name_t | NewId () |
|
vlg_name_t | NewId (const std::string &refName) |
|
◆ vexpr_map_t
◆ VerilogExport()
ilasynth::VerilogExport::VerilogExport |
( |
const std::string & |
modName, |
|
|
const std::string & |
clk, |
|
|
const std::string & |
rst, |
|
|
const VlgExportConfig & |
config |
|
) |
| |
◆ add_always_stmt()
void ilasynth::VerilogExport::add_always_stmt |
( |
const vlg_stmt_t & |
s | ) |
|
|
protected |
◆ add_init_stmt()
void ilasynth::VerilogExport::add_init_stmt |
( |
const vlg_stmt_t & |
s | ) |
|
|
protected |
◆ add_input()
void ilasynth::VerilogExport::add_input |
( |
const vlg_name_t & |
n, |
|
|
int |
w |
|
) |
| |
|
protected |
◆ add_ite_stmt()
◆ add_mem()
void ilasynth::VerilogExport::add_mem |
( |
const vlg_name_t & |
n, |
|
|
int |
addr_width, |
|
|
int |
data_width |
|
) |
| |
|
protected |
◆ add_output()
void ilasynth::VerilogExport::add_output |
( |
const vlg_name_t & |
n, |
|
|
int |
w |
|
) |
| |
|
protected |
◆ add_reg()
void ilasynth::VerilogExport::add_reg |
( |
const vlg_name_t & |
n, |
|
|
int |
w |
|
) |
| |
|
protected |
◆ add_stmt()
void ilasynth::VerilogExport::add_stmt |
( |
const vlg_stmt_t & |
s | ) |
|
|
protected |
◆ add_wire()
void ilasynth::VerilogExport::add_wire |
( |
const vlg_name_t & |
n, |
|
|
int |
w |
|
) |
| |
|
protected |
◆ checkMemVar()
void ilasynth::VerilogExport::checkMemVar |
( |
const Node * |
n, |
|
|
const MemVar *& |
mem, |
|
|
int & |
fail |
|
) |
| |
|
protected |
◆ exportBit()
void ilasynth::VerilogExport::exportBit |
( |
const std::string & |
name, |
|
|
const npair_t & |
np |
|
) |
| |
◆ exportCondWrites()
void ilasynth::VerilogExport::exportCondWrites |
( |
const std::string & |
n, |
|
|
int |
addr_width, |
|
|
int |
data_width, |
|
|
const mem_write_list_t & |
writeList |
|
) |
| |
|
protected |
◆ exportFunc()
void ilasynth::VerilogExport::exportFunc |
( |
const std::string & |
name, |
|
|
const npair_t & |
np |
|
) |
| |
◆ exportInp()
void ilasynth::VerilogExport::exportInp |
( |
const std::string & |
name, |
|
|
const npair_t & |
np |
|
) |
| |
◆ exportMem()
void ilasynth::VerilogExport::exportMem |
( |
const std::string & |
name, |
|
|
const npair_t & |
np |
|
) |
| |
◆ exportReg()
void ilasynth::VerilogExport::exportReg |
( |
const std::string & |
name, |
|
|
const npair_t & |
np |
|
) |
| |
◆ exportUabs()
void ilasynth::VerilogExport::exportUabs |
( |
const Abstraction & |
uabs | ) |
|
|
inline |
◆ finalExport()
void ilasynth::VerilogExport::finalExport |
( |
std::ostream & |
| ) |
|
◆ get_width()
int ilasynth::VerilogExport::get_width |
( |
const Node * |
n | ) |
|
|
protected |
◆ getArg()
◆ getName()
◆ logicalAnd()
static nptr_t ilasynth::VerilogExport::logicalAnd |
( |
const nptr_t & |
c1, |
|
|
const nptr_t & |
c2 |
|
) |
| |
|
staticprotected |
◆ NewId() [1/2]
◆ NewId() [2/2]
vlg_name_t ilasynth::VerilogExport::NewId |
( |
const std::string & |
refName | ) |
|
|
protected |
◆ nodeVistorFunc()
void ilasynth::VerilogExport::nodeVistorFunc |
( |
const Node * |
n | ) |
|
|
protected |
◆ setModuleName()
void ilasynth::VerilogExport::setModuleName |
( |
const std::string & |
modName | ) |
|
◆ start_iterate()
void ilasynth::VerilogExport::start_iterate |
( |
const Node * |
n | ) |
|
|
protected |
◆ translateBitvectorOp()
◆ translateBoolOp()
◆ visitMemNodes()
◆ WidthToRange()
std::string ilasynth::VerilogExport::WidthToRange |
( |
int |
w | ) |
|
|
private |
◆ always_stmts
◆ clkName
◆ current_writes
◆ ExternalMem
bool ilasynth::VerilogExport::ExternalMem |
|
protected |
◆ FunctionAsModule
bool ilasynth::VerilogExport::FunctionAsModule |
|
protected |
◆ idCounter
unsigned ilasynth::VerilogExport::idCounter |
|
protected |
◆ init_stmts
◆ inputs
◆ ite_stmts
◆ mem_i
◆ mem_o
◆ mems
◆ moduleName
◆ nmap
◆ notCache
rwmap_t ilasynth::VerilogExport::notCache |
|
private |
◆ outputs
◆ past_writes
◆ preheader
◆ regs
◆ rstName
◆ statements
◆ wires
The documentation for this class was generated from the following file: