CGRA-ME
inc
CGRA
Visual.h
Go to the documentation of this file.
1
#ifndef __VISUAL_H
2
#define __VISUAL_H
3
4
#include <string>
5
#include <memory>
6
#include <unordered_map>
7
8
#include <
CGRA/CGRA.h
>
9
#include <
CGRA/Mapping.h
>
10
11
void
genCGRAVisual
(std::string exe_path, std::shared_ptr<CGRA> cgra,
int
II);
12
void
genMappingVisual
(
13
std::string exe_path,
const
MRRG
& mrrg,
14
const
Mapping
& mapping,
const
MappingGraph
& mg,
15
const
CreateMappingGraphResult::ToMRRG
& toMRRG
16
);
17
// Scales the float/fractional representation of a position to a pixel coordinate on the defined screen size.
18
std::pair<double, double>
getScaledPosition
(
const
std::pair<double, double> pos);
19
20
21
#endif
MRRG
Definition:
MRRG.h:216
CreateMappingGraphResult::ToMRRG
MappingGraph::ToMRRGVertexMap ToMRRG
Definition:
Mapping.h:247
MappingGraph
Definition:
Mapping.h:129
Mapping
Definition:
Mapping.h:31
genCGRAVisual
void genCGRAVisual(std::string exe_path, std::shared_ptr< CGRA > cgra, int II)
Definition:
Visual.cpp:29
CGRA.h
genMappingVisual
void genMappingVisual(std::string exe_path, const MRRG &mrrg, const Mapping &mapping, const MappingGraph &mg, const CreateMappingGraphResult::ToMRRG &toMRRG)
Definition:
Visual.cpp:170
Mapping.h
getScaledPosition
std::pair< double, double > getScaledPosition(const std::pair< double, double > pos)
Definition:
Visual.cpp:491
Generated on Fri Nov 17 2023 12:26:43 for CGRA-ME by
1.8.17