PandA-2024.02
Public Member Functions
ParallelMemoryConnBinding Class Reference

Superclass include. More...

#include <parallel_memory_conn_binding.hpp>

Inheritance diagram for ParallelMemoryConnBinding:
Inheritance graph
[legend]
Collaboration diagram for ParallelMemoryConnBinding:
Collaboration graph
[legend]

Public Member Functions

 ParallelMemoryConnBinding (const BehavioralHelperConstRef _behavioral_helper, const ParameterConstRef parameters)
 Constructor. More...
 
 ~ParallelMemoryConnBinding () override
 Destructor. More...
 
void add_to_SM (const HLS_managerRef HLSMgr, const hlsRef HLS, const structural_managerRef SM) override
 Add the interconnection to the structural representation of the datapath. More...
 
- Public Member Functions inherited from conn_binding
 conn_binding (const BehavioralHelperConstRef BH, const ParameterConstRef parameters)
 Constructor. More...
 
virtual ~conn_binding ()
 Destructor. More...
 
generic_objRef bind_port (unsigned int var, direction_type dir)
 Bind variable to a port object. More...
 
generic_objRef bind_command_port (const vertex &ver, direction_type dir, unsigned int mode, const OpGraphConstRef g)
 Bind vertex to a command port object. More...
 
generic_objRef bind_selector_port (direction_type dir, unsigned int mode, const vertex &cond, const OpGraphConstRef data)
 
generic_objRef bind_selector_port (direction_type dir, unsigned int mode, const generic_objRef elem, unsigned int op)
 
generic_objRef get_port (unsigned int var, direction_type dir)
 Returns reference to generic object associated to a given variable, for a specific port direction. More...
 
virtual void print () const
 Function that prints the interconnection binding. More...
 
void add_data_transfer (const generic_objRef op1, const generic_objRef op2, unsigned int operand, unsigned int port_index, data_transfer data)
 Adds a data transfer between two objects. More...
 
void AddConnectionCB (const generic_objRef op1, const generic_objRef op2, unsigned int operand, unsigned int port_index, connection_objRef conn)
 Creates a connection between two objects. More...
 
const std::map< ConnectionTarget, ConnectionSources > & get_data_transfers () const
 Returns the map containing all the data transfers. More...
 
unsigned long long determine_bit_level_mux () const
 Returns the number of bit-level multiplexers. More...
 
const std::map< unsigned int, Selectors > & GetSelectors () const
 
void add_sparse_logic (const generic_objRef so)
 
generic_objRef get_constant_obj (const std::string &value, const std::string &param, unsigned int precision)
 
const std::map< const_param, generic_objRef > & get_constant_objs () const
 
void cleanInternals ()
 

Additional Inherited Members

- Public Types inherited from conn_binding
using direction_type = enum { IN=0, OUT }
 direction port identifier More...
 
using type_t = enum { STG=0 }
 type of the data-structure More...
 
using connection = std::tuple< generic_objRef, generic_objRef, unsigned int, unsigned int >
 connection between two objects (<src, tgt, tgt_port, tgt_port_index>) More...
 
using conn_implementation_map = std::map< connection, connection_objRef, ConnectionSorter >
 
using const_param = std::tuple< std::string, std::string >
 definition of the key to deal with constant parameters More...
 
using ConnectionSources = std::map< generic_objRef, CustomOrderedSet< data_transfer >, GenericObjSorter >
 definition of sources of a connection More...
 
- Static Public Member Functions inherited from conn_binding
static conn_bindingRef create_conn_binding (const HLS_managerRef _HLSMgr, const hlsRef _HLS, const BehavioralHelperConstRef _BH, const ParameterConstRef _parameters)
 factory method to create the right conn_binding depending on the flow More...
 
- Protected Attributes inherited from conn_binding
const ParameterConstRef parameters
 The set of input parameters. More...
 
int debug_level
 control the verbosity during the debugging More...
 

Detailed Description

Superclass include.

Definition at line 47 of file parallel_memory_conn_binding.hpp.

Constructor & Destructor Documentation

◆ ParallelMemoryConnBinding()

ParallelMemoryConnBinding::ParallelMemoryConnBinding ( const BehavioralHelperConstRef  _behavioral_helper,
const ParameterConstRef  parameters 
)

Constructor.

Definition at line 51 of file parallel_memory_conn_binding.cpp.

References ~ParallelMemoryConnBinding().

Here is the call graph for this function:

◆ ~ParallelMemoryConnBinding()

ParallelMemoryConnBinding::~ParallelMemoryConnBinding ( )
overridedefault

Destructor.

Referenced by ParallelMemoryConnBinding().

Here is the caller graph for this function:

Member Function Documentation

◆ add_to_SM()

void ParallelMemoryConnBinding::add_to_SM ( const HLS_managerRef  HLSMgr,
const hlsRef  HLS,
const structural_managerRef  SM 
)
overridevirtual

Add the interconnection to the structural representation of the datapath.

Reimplemented from conn_binding.

Definition at line 59 of file parallel_memory_conn_binding.cpp.

References structural_manager::add_connection(), structural_manager::add_sign_vector(), conn_binding::add_to_SM(), DONE_PORT_NAME, structural_object::find_member(), structural_manager::get_circ(), conn_binding::get_port(), conn_binding::parameters, port_o_K, hls::Rfu, and THROW_ASSERT.

Here is the call graph for this function:

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

Generated on Mon Feb 12 2024 13:04:00 for PandA-2024.02 by doxygen 1.8.13