CGRA-ME
Macros | Functions
Visual.cpp File Reference
#include <CGRA/Exception.h>
#include <CGRA/Visual.h>
#include <CGRA/Module.h>
#include <string>
#include <set>
#include <regex>
#include <unordered_set>
#include <functional>
#include <iostream>
#include <fstream>
#include <sstream>
#include <sys/stat.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define NO_PREVIOUS_CYCLE_INPUT
 

Functions

void genCGRAVisual (std::string exe_path, std::shared_ptr< CGRA > cgra, int II)
 
void genMappingVisual (std::string exe_path, const MRRG &mrrg, const Mapping &mapping, const MappingGraph &mg, const CreateMappingGraphResult::ToMRRG &toMRRG)
 
std::pair< double, double > getScaledPosition (const std::pair< double, double > pos)
 

Macro Definition Documentation

◆ NO_PREVIOUS_CYCLE_INPUT

#define NO_PREVIOUS_CYCLE_INPUT

Definition at line 27 of file Visual.cpp.

Function Documentation

◆ genCGRAVisual()

void genCGRAVisual ( std::string  exe_path,
std::shared_ptr< CGRA cgra,
int  II 
)

Definition at line 29 of file Visual.cpp.

◆ genMappingVisual()

void genMappingVisual ( std::string  exe_path,
const MRRG mrrg,
const Mapping mapping,
const MappingGraph mg,
const CreateMappingGraphResult::ToMRRG toMRRG 
)

Definition at line 170 of file Visual.cpp.

◆ getScaledPosition()

std::pair<double, double> getScaledPosition ( const std::pair< double, double >  pos)

Scales decimal position that is a ratio of the screen, to pixels

Definition at line 491 of file Visual.cpp.