UGRAMM
Loading...
Searching...
No Matches
UGRAMM.cpp File Reference
#include "../lib/UGRAMM.h"
#include "../lib/utilities.h"
#include "../lib/routing.h"
#include "../lib/drc.h"
Include dependency graph for UGRAMM.cpp:

Functions

int findMinVertexModel (DirectedGraph *G, DirectedGraph *H, int y, std::map< int, NodeConfig > *hConfig, std::map< int, NodeConfig > *gConfig)
 
int findMinorEmbedding (DirectedGraph *H, DirectedGraph *G, std::map< int, NodeConfig > *hConfig, std::map< int, NodeConfig > *gConfig)
 
int main (int argc, char **argv)
 

Variables

int iterCount = 0
 
float PFac = 1
 
float HFac = 1
 
float pfac_mul = 1.1
 
float hfac_mul = 1
 
float base_cost = 1
 
int capacity = 1
 
int max_iter = 40
 
std::vector< RoutingTree > * Trees
 
std::vector< std::list< int > > * Users
 
std::map< int, int > invUsers
 
std::vector< int > * HistoryCosts
 
std::vector< int > * TraceBack
 
std::vector< int > * TopoOrder
 
std::map< int, std::string > hNames
 
std::map< std::string, int > hNamesInv
 
std::map< int, std::string > gNames
 
std::map< std::string, int > gNamesInv
 
std::map< std::string, int > gNamesInv_FuncCell
 
std::bitset< 100000 > explored
 
std::vector< std::string > inPin = {"inPinA", "inPinB", "anyPins"}
 
std::vector< std::string > outPin = {"outPinA"}
 
std::shared_ptr< spdlog::logger > UGRAMM = spdlog::stdout_color_mt("UGRAMM")
 
std::shared_ptr< spdlog::logger > drcLogger = spdlog::stdout_color_mt("DRC Checks")
 
std::map< std::string, std::vector< std::string > > ugrammConfig
 
json jsonParsed
 
json UgrammPragmaConfig
 

Function Documentation

◆ findMinorEmbedding()

int findMinorEmbedding ( DirectedGraph * H,
DirectedGraph * G,
std::map< int, NodeConfig > * hConfig,
std::map< int, NodeConfig > * gConfig )

Finds a minor embedding of graph H into graph G.

◆ findMinVertexModel()

int findMinVertexModel ( DirectedGraph * G,
DirectedGraph * H,
int y,
std::map< int, NodeConfig > * hConfig,
std::map< int, NodeConfig > * gConfig )

Finds the minimal vertex model for embedding.

◆ main()

int main ( int argc,
char ** argv )

Main function entry point for the UGRAMM - program.

Variable Documentation

◆ base_cost

float base_cost = 1

◆ capacity

int capacity = 1

◆ drcLogger

std::shared_ptr<spdlog::logger> drcLogger = spdlog::stdout_color_mt("DRC Checks")

◆ explored

std::bitset<100000> explored

◆ gNames

std::map<int, std::string> gNames

◆ gNamesInv

std::map<std::string, int> gNamesInv

◆ gNamesInv_FuncCell

std::map<std::string, int> gNamesInv_FuncCell

◆ HFac

float HFac = 1

◆ hfac_mul

float hfac_mul = 1

◆ HistoryCosts

std::vector<int>* HistoryCosts

◆ hNames

std::map<int, std::string> hNames

◆ hNamesInv

std::map<std::string, int> hNamesInv

◆ inPin

std::vector<std::string> inPin = {"inPinA", "inPinB", "anyPins"}

◆ invUsers

std::map<int, int> invUsers

◆ iterCount

int iterCount = 0

◆ jsonParsed

json jsonParsed

◆ max_iter

int max_iter = 40

◆ outPin

std::vector<std::string> outPin = {"outPinA"}

◆ PFac

float PFac = 1

◆ pfac_mul

float pfac_mul = 1.1

◆ TopoOrder

std::vector<int>* TopoOrder

◆ TraceBack

std::vector<int>* TraceBack

◆ Trees

std::vector<RoutingTree>* Trees

◆ UGRAMM

std::shared_ptr<spdlog::logger> UGRAMM = spdlog::stdout_color_mt("UGRAMM")

◆ ugrammConfig

std::map<std::string, std::vector<std::string> > ugrammConfig

◆ UgrammPragmaConfig

json UgrammPragmaConfig

◆ Users

std::vector<std::list<int> >* Users