-
Notifications
You must be signed in to change notification settings - Fork 415
Clarify corner case behavior of --device option #2779
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 2 commits
01ddb1b
307f0c8
76c3ab0
4332584
ffd0079
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 |
---|---|---|
|
@@ -200,12 +200,19 @@ General Options | |
|
||
.. option:: --device <string> | ||
|
||
Specifies which device layout/floorplan to use from the architecture file. | ||
Specifies which device layout/floorplan to use from the architecture file. Valid values are: | ||
|
||
``auto`` uses the smallest device satisfying the circuit's resource requirements. | ||
Other values are assumed to be the names of device layouts defined in the :ref:`arch_grid_layout` section of the architecture file. | ||
* ``auto`` VPR uses the smallest device satisfying the circuit's resource requirements, with device layout specified using the ``auto_layout`` section of the architecture file. | ||
* Any string matching ``name`` attribute of a device layout defined with a ``fixed_layout`` tag in the :ref:`arch_grid_layout` section of the architecture file. | ||
|
||
.. note:: If the architecture contains both ``<auto_layout>`` and ``<fixed_layout>`` specifications, specifying an ``auto`` device will use the ``<auto_layout>``. | ||
If the value specified is neither ``auto`` nor matches the ``name`` attribute value of a ``<fixed_layout>`` tag, VPR issues an error. | ||
|
||
In the event that no ``<auto_layout>`` tag is present in the architecture file, this option has the following behaviour: | ||
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. I would delete thse 3 lines as now they are covered by the introduction of --auto above. 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. @vaughnbetz I kept the line documenting how VPR does error handling here, but deleted the bullet points below the highlights; I believe this better captures the desired elimination of redundancy. Let me know if additional changes are desired. |
||
|
||
* ``auto`` VPR uses the smallest device amongst all ``fixed_layout`` specifications into which the design can be packed. | ||
* Otherwise, the value of the ``fixed_layout`` attribute ``name`` is matched as when an ``<auto_layout>`` tag is present. | ||
|
||
.. note:: If the only layout in the architecture file is a single device specified using ``<fixed_layout>``, it is recommended to always specify the ``--device`` option; this prevents the value ``--device auto`` from interfering with operations supported only for ``<fixed_layout>`` grids. | ||
|
||
**Default:** ``auto`` | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.