vtr-verilog-to-routing icon indicating copy to clipboard operation
vtr-verilog-to-routing copied to clipboard

if stopping after packing skip unnecessary placement setup

Open KA7E opened this issue 1 year ago • 1 comments

If running packing but not placement, return before unnecessary placement data structure setup.

Description

If packing returns success, added check to see if placement will run; if not, return.

Related Issue

Motivation and Context

How Has This Been Tested?

Types of changes

  • [ ] Bug fix (change which fixes an issue)
  • [ ] New feature (change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ ] My change requires a change to the documentation
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] All new and existing tests passed

KA7E avatar Aug 08 '24 01:08 KA7E

Oh right it should check all the flags not just placement.

On Thu, Aug 8, 2024, 12:47 vaughnbetz @.***> wrote:

@.**** requested changes on this pull request.

CI on the google cloud runners is down again, unfortunately, so lots of tests didn't run. @AlexandreSinger https://github.com/AlexandreSinger is looking into it. Please run tests on one design with: --route --analysis --place --pack

to make sure all the flows work with this change. From code inspection I am worried --route and --analysis might not work with the change.

In vpr/src/base/vpr_api.cpp https://github.com/verilog-to-routing/vtr-verilog-to-routing/pull/2680#discussion_r1709906619 :

@@ -383,6 +383,9 @@ bool vpr_flow(t_vpr_setup& vpr_setup, t_arch& arch) { if (!pack_success) { return false; //Unimplementable }

Will this work if --route is specified? In that case packing is skipped (read from file), placement and skipped (read from file) but routing is performed. Same question is --analysis is specified. This change looks like it could break those flows.

— Reply to this email directly, view it on GitHub https://github.com/verilog-to-routing/vtr-verilog-to-routing/pull/2680#pullrequestreview-2228394805, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM6ZD4SSOT2CMWAMT7AL3G3ZQOOLZAVCNFSM6AAAAABMFO4DMCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDEMRYGM4TIOBQGU . You are receiving this because you authored the thread.Message ID: <verilog-to-routing/vtr-verilog-to-routing/pull/2680/review/2228394805@ github.com>

KA7E avatar Aug 08 '24 17:08 KA7E

Closed as not planned and superseded by later code.

vaughnbetz avatar Oct 09 '25 02:10 vaughnbetz