-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc] add utility tool: fabric key assistant
- Loading branch information
Showing
3 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,5 @@ | |
|
||
file_formats/index | ||
|
||
utilities/index | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.. _utility_fabric_key_assistant: | ||
|
||
Fabric Key Assistant | ||
-------------------- | ||
|
||
Fabric Key Assistant is a tool to help users to craft fabric key files. | ||
Note that crafting a fabric key is not an easy task for engineers, as its complexity grows exponentially with FPGA sizes. | ||
This tool is developed to assist engineers when finalizing fabric key files. | ||
It can apply sanity checks on hand-crafted fabric key files, helping engineers to correct and debug. | ||
The tool includes the following options: | ||
|
||
.. option:: --reference <string> | ||
|
||
Specifiy a reference fabric key file, which has been already validated by OpenFPGA. For example, the reference fabric key can be a file which is written by OpenFPGA as a default key. The reference fabric key file is treated as the baseline, on which the input fabric key file will be compared to. | ||
|
||
.. note:: The reference fabric key should contain all the syntax, e.g., ``name``, ``value`` and ``alias``. | ||
|
||
.. option:: --input <string> | ||
|
||
Specify the input fabric key file, which is typically hand-crafted by users. Sanity checks will be applied to the input fabric key file by comparing the reference. | ||
|
||
.. note:: The input fabric key should contain only the syntax ``alias``. | ||
|
||
.. option:: --output <string> | ||
|
||
Specify the output fabric key file, which is an updated version of the input fabric key file. Difference from the input file, the output file contains ``name`` and ``value``, which is added by linking the ``alias`` from input file to reference file. For example, the reference fabric key includes a key: | ||
|
||
.. code-block:: xml | ||
<key id="1" name="tile_0__0_" value="5" alias="tile_4__2_"/> | ||
while the input fabric key includes a key: | ||
.. code-block:: xml | ||
<key id="23" alias="tile_4__2_"/> | ||
the resulting output fabric key file includes a key: | ||
.. code-block:: xml | ||
<key id="23" name="tile_0__0_" value="5" alias="tile_4__2_"/> | ||
.. option:: --verbose | ||
|
||
To enable verbose output | ||
|
||
.. option:: --help | ||
|
||
Show help desk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Utilities | ||
--------- | ||
|
||
OpenFPGA contains a number of utility tools to help users to craft files. | ||
|
||
|
||
.. _utilities: | ||
Utility Tools | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
fabric_key_assistant |