PandA-2024.02
add_library.hpp
Go to the documentation of this file.
1 /*
2  *
3  * _/_/_/ _/_/ _/ _/ _/_/_/ _/_/
4  * _/ _/ _/ _/ _/_/ _/ _/ _/ _/ _/
5  * _/_/_/ _/_/_/_/ _/ _/_/ _/ _/ _/_/_/_/
6  * _/ _/ _/ _/ _/ _/ _/ _/ _/
7  * _/ _/ _/ _/ _/ _/_/_/ _/ _/
8  *
9  * ***********************************************
10  * PandA Project
11  * URL: http://panda.dei.polimi.it
12  * Politecnico di Milano - DEIB
13  * System Architectures Group
14  * ***********************************************
15  * Copyright (C) 2004-2024 Politecnico di Milano
16  *
17  * This file is part of the PandA framework.
18  *
19  * The PandA framework is free software; you can redistribute it and/or modify
20  * it under the terms of the GNU General Public License as published by
21  * the Free Software Foundation; either version 3 of the License, or
22  * (at your option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU General Public License for more details.
28  *
29  * You should have received a copy of the GNU General Public License
30  * along with this program. If not, see <http://www.gnu.org/licenses/>.
31  *
32  */
43 #ifndef ADD_LIBRARY_HPP
44 #define ADD_LIBRARY_HPP
45 
46 #include "design_flow_step.hpp" // for DesignFlowManagerConstRef, DesignFl...
47 #include "hls_function_step.hpp" // for HLSFunctionStep
48 #include "hls_step.hpp" // for HLSFlowStepSpecialization, HLSFlowS...
49 #include "refcount.hpp" // for REF_FORWARD_DECL
50 #include <string> // for string
51 
54 
59 {
60  public:
62  const bool interfaced;
63 
68  explicit AddLibrarySpecialization(const bool interfaced);
69 
73  std::string GetKindText() const override;
74 
78  std::string GetSignature() const override;
79 };
80 
82 {
83  private:
89  ComputeHLSRelationships(const DesignFlowStep::RelationshipType relationship_type) const override;
90 
91  public:
96  add_library(const ParameterConstRef _parameters, const HLS_managerRef HLSMgr, unsigned int funId,
97  const DesignFlowManagerConstRef design_flow_manager,
98  const HLSFlowStepSpecializationConstRef hls_flow_step_specialization);
99 
103  ~add_library() override;
104 
109  DesignFlowStep_Status InternalExec() override;
110 };
111 
112 #endif // ADD_LIBRARY_HPP
RelationshipType
The relationship type.
Abstract class containing information about specialization of the single steps.
Definition: hls_step.hpp:75
Base class for step of design flow.
DesignFlowStep_Status
The status of a step.
REF_FORWARD_DECL(add_library)
AddLibrarySpecialization(const bool interfaced)
Constructor.
Definition: add_library.cpp:79
Template definition of refcount.
CONSTREF_FORWARD_DECL(Parameter)
std::string GetSignature() const override
Return the contribution to the signature of a step given by the specialization.
Definition: add_library.cpp:88
Template borrowed from the ANTLR library by Terence Parr (http://www.jGuru.com - Software rights: htt...
Definition: refcount.hpp:94
Information about speciaization of add_library.
Definition: add_library.hpp:58
std::string GetKindText() const override
Return the string representation of this.
Definition: add_library.cpp:83
Superclass include.
const bool interfaced
True if we are adding module with interface.
Definition: add_library.hpp:62

Generated on Mon Feb 12 2024 13:02:54 for PandA-2024.02 by doxygen 1.8.13