PandA-2024.02
Public Member Functions | Protected Attributes
HWCallPathCalculator Class Reference
Inheritance diagram for HWCallPathCalculator:
Inheritance graph
[legend]
Collaboration diagram for HWCallPathCalculator:
Collaboration graph
[legend]

Public Member Functions

 HWCallPathCalculator (const HLS_managerRef _HLSMgr)
 
void start_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &ufcg)
 
void discover_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &ufcg)
 
void finish_vertex (const UnfoldedVertexDescriptor &v, const UnfoldedCallGraph &)
 
void examine_edge (const EdgeDescriptor &e, const UnfoldedCallGraph &cg)
 

Protected Attributes

const HLS_managerRef HLSMgr
 a refcount to the HLS_manager More...
 
std::stack< std::string > scope
 a stack of scopes used during the traversal of the UnfoldedCallGraph More...
 
std::map< std::string, std::string > shared_fun_scope
 The key is the name of a shared function, the mapped value is the HW. More...
 
std::string top_fun_scope
 The scope of the top function. It depends on different parameters and. More...
 

Detailed Description

Author
Pietro Fezzardi pietr.nosp@m.ofez.nosp@m.zardi.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Definition at line 56 of file HWPathComputation.cpp.

Constructor & Destructor Documentation

◆ HWCallPathCalculator()

HWCallPathCalculator::HWCallPathCalculator ( const HLS_managerRef  _HLSMgr)

Definition at line 82 of file HWPathComputation.cpp.

References HLSMgr, and THROW_ASSERT.

Member Function Documentation

◆ discover_vertex()

void HWCallPathCalculator::discover_vertex ( const UnfoldedVertexDescriptor v,
const UnfoldedCallGraph ufcg 
)

Definition at line 103 of file HWPathComputation.cpp.

References HIERARCHY_SEPARATOR, HLSMgr, scope, shared_fun_scope, STR, and THROW_ASSERT.

◆ examine_edge()

void HWCallPathCalculator::examine_edge ( const EdgeDescriptor e,
const UnfoldedCallGraph cg 
)

◆ finish_vertex()

void HWCallPathCalculator::finish_vertex ( const UnfoldedVertexDescriptor v,
const UnfoldedCallGraph  
)

Definition at line 133 of file HWPathComputation.cpp.

References scope.

◆ start_vertex()

void HWCallPathCalculator::start_vertex ( const UnfoldedVertexDescriptor v,
const UnfoldedCallGraph ufcg 
)

Definition at line 87 of file HWPathComputation.cpp.

References HIERARCHY_SEPARATOR, HLSMgr, scope, shared_fun_scope, and top_fun_scope.

Field Documentation

◆ HLSMgr

const HLS_managerRef HWCallPathCalculator::HLSMgr
protected

a refcount to the HLS_manager

Definition at line 60 of file HWPathComputation.cpp.

Referenced by discover_vertex(), examine_edge(), HWCallPathCalculator(), and start_vertex().

◆ scope

std::stack<std::string> HWCallPathCalculator::scope
protected

a stack of scopes used during the traversal of the UnfoldedCallGraph

Definition at line 63 of file HWPathComputation.cpp.

Referenced by discover_vertex(), examine_edge(), finish_vertex(), and start_vertex().

◆ shared_fun_scope

std::map<std::string, std::string> HWCallPathCalculator::shared_fun_scope
protected

The key is the name of a shared function, the mapped value is the HW.

Definition at line 67 of file HWPathComputation.cpp.

Referenced by discover_vertex(), examine_edge(), and start_vertex().

◆ top_fun_scope

std::string HWCallPathCalculator::top_fun_scope
protected

The scope of the top function. It depends on different parameters and.

Definition at line 71 of file HWPathComputation.cpp.

Referenced by examine_edge(), and start_vertex().


The documentation for this class was generated from the following file:

Generated on Mon Feb 12 2024 13:03:55 for PandA-2024.02 by doxygen 1.8.13