Skip to content

Commit fa16da2

Browse files
committed
added a function to log the options used when the NoC is enabled
1 parent 3185e60 commit fa16da2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

vpr/src/base/ShowSetup.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ static void ShowPlacerOpts(const t_placer_opts& PlacerOpts,
1818
const t_annealing_sched& AnnealSched);
1919
static void ShowRouterOpts(const t_router_opts& RouterOpts);
2020
static void ShowAnalysisOpts(const t_analysis_opts& AnalysisOpts);
21+
static void ShowNocOpts(const t_noc_opts& NocOpts);
2122

2223
static void ShowAnnealSched(const t_annealing_sched& AnnealSched);
2324

@@ -59,6 +60,9 @@ void ShowSetup(const t_vpr_setup& vpr_setup) {
5960
if (vpr_setup.AnalysisOpts.doAnalysis) {
6061
ShowAnalysisOpts(vpr_setup.AnalysisOpts);
6162
}
63+
if (vpr_setup.NocOpts.noc) {
64+
ShowNocOpts(vpr_setup.NocOpts);
65+
}
6266
}
6367

6468
void printClusteredNetlistStats() {
@@ -652,3 +656,11 @@ static void ShowPackerOpts(const t_packer_opts& PackerOpts) {
652656
VTR_LOG("\n");
653657
VTR_LOG("\n");
654658
}
659+
660+
static void ShowNocOpts(const t_noc_opts& NocOpts)
661+
{
662+
// show options such as routing algorithm used
663+
// name of the flows file
664+
// etc...
665+
return;
666+
}

0 commit comments

Comments
 (0)