Skip to content

Commit 6e9a897

Browse files
committed
vpr: rename gen_post_synthesis_netlist to gen_post_implementation_merged_netlist
Signed-off-by: Paweł Czarnecki <[email protected]>
1 parent 7952b53 commit 6e9a897

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

doc/src/vpr/command_line_usage.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1254,11 +1254,11 @@ Analysis Options
12541254

12551255
**Default:** ``off``
12561256

1257-
.. option:: --gen_post_synthesis_merged_netlist { on | off }
1257+
.. option:: --gen_post_implementation_merged_netlist { on | off }
12581258

12591259
This option is based on ``--gen_post_synthesis_netlist``.
1260-
The difference is that ``--gen_post_synthesis_merged_netlist`` generates only single verilog file with merged top module multi-bit ports of the implemented circuit.
1261-
The name of the file is ``<basename>_merged_post_synthesis.v``
1260+
The difference is that ``--gen_post_implementation_merged_netlist`` generates only single verilog file with merged top module multi-bit ports of the implemented circuit.
1261+
The name of the file is ``<basename>_merged_post_implementation.v``
12621262

12631263
**Default:** ``off``
12641264

vpr/src/base/SetupVPR.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ static void SetupAnalysisOpts(const t_options& Options, t_analysis_opts& analysi
623623
}
624624

625625
analysis_opts.gen_post_synthesis_netlist = Options.Generate_Post_Synthesis_Netlist;
626-
analysis_opts.gen_post_synthesis_merged_netlist = Options.Generate_Post_Synthesis_Merged_Netlist;
626+
analysis_opts.gen_post_implementation_merged_netlist = Options.Generate_Post_Implementation_Merged_Netlist;
627627

628628
analysis_opts.timing_report_npaths = Options.timing_report_npaths;
629629
analysis_opts.timing_report_detail = Options.timing_report_detail;

vpr/src/base/netlist_writer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2121,7 +2121,7 @@ class NetlistWriterVisitor : public NetlistVisitor {
21212121
};
21222122

21232123
/**
2124-
* @brief A class which writes post-synthesis merged netlists (Verilog)
2124+
* @brief A class which writes post-implementation merged netlists (Verilog)
21252125
*
21262126
* It implements the NetlistVisitor interface used by NetlistWalker (see netlist_walker.h)
21272127
*/
@@ -2328,7 +2328,7 @@ void netlist_writer(const std::string basename, std::shared_ptr<const AnalysisDe
23282328

23292329
///@brief Main routing for this file. See netlist_writer.h for details.
23302330
void merged_netlist_writer(const std::string basename, std::shared_ptr<const AnalysisDelayCalculator> delay_calc, struct t_analysis_opts opts) {
2331-
std::string verilog_filename = basename + "_merged_post_synthesis.v";
2331+
std::string verilog_filename = basename + "_merged_post_implementation.v";
23322332

23332333
VTR_LOG("Writing Implementation Netlist: %s\n", verilog_filename.c_str());
23342334

vpr/src/base/netlist_writer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
void netlist_writer(const std::string basename, std::shared_ptr<const AnalysisDelayCalculator> delay_calc, struct t_analysis_opts opts);
1919

2020
/**
21-
* @brief Writes out the post-synthesis implementation netlists in Verilog format.
21+
* @brief Writes out the post implementation netlist in Verilog format.
2222
* It has its top module ports merged into multi-bit ones.
2323
*
24-
* Written filename ends in {basename}_merged_post_synthesis.v where {basename} is the
24+
* Written filename ends in {basename}_merged_post_implementation.v where {basename} is the
2525
* basename argument.
2626
*/
2727
void merged_netlist_writer(const std::string basename, std::shared_ptr<const AnalysisDelayCalculator> delay_calc, struct t_analysis_opts opts);

vpr/src/base/read_options.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,9 +2532,9 @@ argparse::ArgumentParser create_arg_parser(std::string prog_name, t_options& arg
25322532
.default_value("off")
25332533
.show_in(argparse::ShowIn::HELP_ONLY);
25342534

2535-
analysis_grp.add_argument<bool, ParseOnOff>(args.Generate_Post_Synthesis_Merged_Netlist, "--gen_post_synthesis_merged_netlist")
2535+
analysis_grp.add_argument<bool, ParseOnOff>(args.Generate_Post_Implementation_Merged_Netlist, "--gen_post_implementation_merged_netlist")
25362536
.help(
2537-
"Generates the post-synthesis netlist with merged top module ports"
2537+
"Generates the post-implementation netlist with merged top module ports"
25382538
" Used for post-implementation simulation and verification")
25392539
.default_value("off")
25402540
.show_in(argparse::ShowIn::HELP_ONLY);

vpr/src/base/read_options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ struct t_options {
208208
/* Analysis options */
209209
argparse::ArgValue<bool> full_stats;
210210
argparse::ArgValue<bool> Generate_Post_Synthesis_Netlist;
211-
argparse::ArgValue<bool> Generate_Post_Synthesis_Merged_Netlist;
211+
argparse::ArgValue<bool> Generate_Post_Implementation_Merged_Netlist;
212212
argparse::ArgValue<int> timing_report_npaths;
213213
argparse::ArgValue<e_timing_report_detail> timing_report_detail;
214214
argparse::ArgValue<bool> timing_report_skew;

vpr/src/base/vpr_api.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1282,8 +1282,8 @@ void vpr_analysis(t_vpr_setup& vpr_setup, const t_arch& Arch, const RouteStatus&
12821282
vpr_setup.AnalysisOpts);
12831283
}
12841284

1285-
//Write the post-syntesis merged netlist
1286-
if (vpr_setup.AnalysisOpts.gen_post_synthesis_merged_netlist) {
1285+
//Write the post-implementation merged netlist
1286+
if (vpr_setup.AnalysisOpts.gen_post_implementation_merged_netlist) {
12871287
merged_netlist_writer(atom_ctx.nlist.netlist_name().c_str(), analysis_delay_calc, vpr_setup.AnalysisOpts);
12881288
}
12891289

vpr/src/base/vpr_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ struct t_analysis_opts {
12561256
e_stage_action doAnalysis;
12571257

12581258
bool gen_post_synthesis_netlist;
1259-
bool gen_post_synthesis_merged_netlist;
1259+
bool gen_post_implementation_merged_netlist;
12601260
e_post_synth_netlist_unconn_handling post_synth_netlist_unconn_input_handling;
12611261
e_post_synth_netlist_unconn_handling post_synth_netlist_unconn_output_handling;
12621262

0 commit comments

Comments
 (0)