-
Notifications
You must be signed in to change notification settings - Fork 415
Netlist Writer: write post synthesis netlist that can be simulated #1957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
bcd49bb
1965f2d
9766400
d9ec991
ff949b9
7d912c3
fe45554
8135ebb
8b09d1b
7952b53
6e9a897
12830cd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1254,6 +1254,14 @@ Analysis Options | |
|
||
**Default:** ``off`` | ||
|
||
.. option:: --gen_post_implementation_merged_netlist { on | off } | ||
|
||
This option is based on ``--gen_post_synthesis_netlist``. | ||
The difference is that ``--gen_post_implementation_merged_netlist`` generates a single verilog file with merged top module multi-bit ports of the implemented circuit. | ||
The name of the file is ``<basename>_merged_post_implementation.v`` | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should probably rename the output file to _post_implementation.v There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
**Default:** ``off`` | ||
|
||
.. option:: --post_synth_netlist_unconn_inputs { unconnected | nets | gnd | vcc } | ||
|
||
Controls how unconnected input cell ports are handled in the post-synthesis netlist | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -623,6 +623,7 @@ static void SetupAnalysisOpts(const t_options& Options, t_analysis_opts& analysi | |
} | ||
|
||
analysis_opts.gen_post_synthesis_netlist = Options.Generate_Post_Synthesis_Netlist; | ||
analysis_opts.gen_post_implementation_merged_netlist = Options.Generate_Post_Implementation_Merged_Netlist; | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. name -> post_implementation There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
analysis_opts.timing_report_npaths = Options.timing_report_npaths; | ||
analysis_opts.timing_report_detail = Options.timing_report_detail; | ||
|
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -208,6 +208,7 @@ struct t_options { | |
/* Analysis options */ | ||
argparse::ArgValue<bool> full_stats; | ||
argparse::ArgValue<bool> Generate_Post_Synthesis_Netlist; | ||
argparse::ArgValue<bool> Generate_Post_Implementation_Merged_Netlist; | ||
argparse::ArgValue<int> timing_report_npaths; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same comment: post_synthesis -> post_implementation There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Renamed |
||
argparse::ArgValue<e_timing_report_detail> timing_report_detail; | ||
argparse::ArgValue<bool> timing_report_skew; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: "a single verilog file"
I think we should change the name to --gen_post_implementation_netlist, as @acomodi suggests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed typo and renamed option