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

Method getDesign

include/Surelog/SourceCompile/Compiler.h:95–95  ·  view source on GitHub ↗

TODO: this should return a const Design, but can't be because of Design having a bunch of non-const accessors. Address these first. All _modifying_ operations should be calls on the Compiler, not on the handed out Design object, as the Compiler is owner of the design.

Source from the content-addressed store, hash-verified

93 // not on the handed out Design object, as the Compiler is owner
94 // of the design.
95 Design* getDesign() const { return m_design; }
96
97 vpiHandle getUhdmDesign() const { return m_uhdmDesign; }
98 CompileDesign* getCompileDesign() const { return m_compileDesign; }

Callers 15

get_designFunction · 0.80
restoreMethod · 0.80
restoreMethod · 0.80
TESTFunction · 0.80
bindBaseClasses_Method · 0.80
bindDataTypes_Method · 0.80
bindFunctionBodies_Method · 0.80
bindTasks_Method · 0.80
bindProperties_Method · 0.80
DesignElaborationMethod · 0.80

Calls

no outgoing calls

Tested by 8

TESTFunction · 0.64
bindBaseClasses_Method · 0.64
bindDataTypes_Method · 0.64
bindFunctionBodies_Method · 0.64
bindTasks_Method · 0.64
bindProperties_Method · 0.64