read_place: do not throw error if block name is invalid #1541
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Alessandro Comodi acomodi@antmicro.com
Description
This fixes an issue when reading placement files.
Placement files can be read for two different reasons:
In SymbiFlow, there are a set of tests which are automated and the verilog design alongside with the PCF constraints is automatically generated. The PCF constraints will translate into a placement constraints file.
The issue is that, during the various test design generation, some parameters may allow for some IO signals to be unconnected after synthesis, conflicting with the fact that VPR throws an error if a block specified in the placement constraints file is not present in the packed netlist.
Instead of throwing an error, this PR downgrades the error to a warning.
Another possible solution would be to encapsulate the check in a sub-routine that can be disabled at run-time with a flag (
vtr-verilog-to-routing/vpr/src/base/read_options.cpp
Lines 1309 to 1314 in 25efd66
This would require a sub-routine as the errors would otherwise be disabled in all the original routine, and those are errors which should not be disabled.
Related Issue
How Has This Been Tested?
SymbiFlow tests
Types of changes
Checklist: