Skip to content

Commit

Permalink
build/xilinx/vivado: Also generate design checkpoint after synthesis …
Browse files Browse the repository at this point in the history
…and placement.

This help exploring/constraining complex designs by using Vivado GUI and design checkpoint.
  • Loading branch information
enjoy-digital committed Jul 21, 2023
1 parent 35cd744 commit 0f1fdea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
- litepcie/frontend/dma : Added optional integrated data-width converter and data_width parameters to simplify integration/user logic.
- soc/add_uartbone/sata/sdcard : Added support for multiple instances in gateware as for the other cores.
- liteeth_gen : Added raw UDP port support.
- build/vivado : Added .dcp generation also after synthesis and placement.

[> Changed
----------
Expand Down
2 changes: 2 additions & 0 deletions litex/build/xilinx/vivado.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def build_project(self):
tcl.append(f"report_timing_summary -file {self._build_name}_timing_synth.rpt")
tcl.append(f"report_utilization -hierarchical -file {self._build_name}_utilization_hierarchical_synth.rpt")
tcl.append(f"report_utilization -file {self._build_name}_utilization_synth.rpt")
tcl.append(f"write_checkpoint -force {self._build_name}_synth.dcp")

# Optimize
tcl.append("\n# Optimize design\n")
Expand All @@ -323,6 +324,7 @@ def build_project(self):
tcl.append(f"report_io -file {self._build_name}_io.rpt")
tcl.append(f"report_control_sets -verbose -file {self._build_name}_control_sets.rpt")
tcl.append(f"report_clock_utilization -file {self._build_name}_clock_utilization.rpt")
tcl.append(f"write_checkpoint -force {self._build_name}_place.dcp")

# Add pre-routing commands
tcl.append("\n# Add pre-routing commands\n")
Expand Down

0 comments on commit 0f1fdea

Please sign in to comment.