MCPcopy Create free account
hub / github.com/chipsalliance/Surelog / decompile

Method decompile

src/Design/ModuleInstance.cpp:190–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190std::string ModuleInstance::decompile(char* valueName) {
191 ExprBuilder exprBuilder;
192 Value* val = getValue(valueName, exprBuilder);
193 if (val) {
194 return val->uhdmValue();
195 }
196 if (UHDM::expr* complex = getComplexValue(valueName)) {
197 return UHDM::decompile(complex);
198 } else {
199 return "Undefined";
200 }
201}
202
203ModuleInstance::~ModuleInstance() {
204 delete m_netlist;

Callers

nothing calls this directly

Calls 2

decompileFunction · 0.85
uhdmValueMethod · 0.80

Tested by

no test coverage detected