-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25613a6
commit 29b3d35
Showing
1 changed file
with
65 additions
and
59 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 |
---|---|---|
@@ -1,72 +1,78 @@ | ||
Internals | ||
========= | ||
|
||
Underlying tool steps | ||
--------------------- | ||
Underlying steps | ||
---------------- | ||
|
||
.. code-block:: | ||
create project | ||
config project | ||
part | ||
precfg (hook) | ||
params | ||
defines | ||
includes | ||
files | ||
top | ||
postcfg (hook) | ||
close project | ||
project creation [options] | ||
project configuration | ||
part | ||
precfg hook | ||
params | ||
defines | ||
includes | ||
files [options] | ||
top | ||
postcfg hook | ||
project close | ||
open project | ||
presyn (hook) | ||
synthesis | ||
postsyn (hook) | ||
prepar (hook) | ||
place_and_route | ||
postpar (hook) | ||
prebit (hook) | ||
bitstream | ||
postbit (hook) | ||
close project | ||
project open | ||
presyn hook | ||
synthesis [options] | ||
postsyn hook | ||
prepar hook | ||
place_and_route [options] | ||
postpar hook | ||
prebit hook | ||
bitstream [options] | ||
postbit hook | ||
project close | ||
Internal data structure | ||
----------------------- | ||
|
||
.. code-block:: | ||
data = { | ||
'part': 'PARTNAME', | ||
'includes': ['DIR1', 'DIR2', 'DIR3'], | ||
'files': { | ||
'FILE1': {'hdl': 'vhdl', 'lib': 'LIB1', 'opt': 'OPTS'}, | ||
'FILE2': {'hdl': 'vlog', 'opt': 'OPTS'}, | ||
'FILE3': {'hdl': 'slog', 'opt': 'OPTS'} | ||
}, | ||
'top': 'TOPNAME', | ||
'constraints': { | ||
'FILE1': {'opt': 'OPTS'}, | ||
'FILE2': {'opt': 'OPTS'}, | ||
'FILE3': {'opt': 'OPTS'} | ||
}, | ||
'params': { | ||
'PAR1': 'VAL1', | ||
'PAR2': 'VAL2', | ||
'PAR3': 'VAL3' | ||
}, | ||
'defines': { | ||
'DEF1': 'VAL1', | ||
'DEF2': 'VAL2', | ||
'DEF3': 'VAL3' | ||
}, | ||
'hooks': { | ||
'precfg': ['CMD1', 'CMD2'], | ||
'postcfg': ['CMD1', 'CMD2'], | ||
'presyn': ['CMD1', 'CMD2'], | ||
'postsyn': ['CMD1', 'CMD2'], | ||
'prepar': ['CMD1', 'CMD2'], | ||
'postpar': ['CMD1', 'CMD2'], | ||
'prebit': ['CMD1', 'CMD2'], | ||
'postbit': ['CMD1', 'CMD2'] | ||
} | ||
} | ||
data = { | ||
'part': 'PARTNAME', | ||
'includes': ['DIR1', 'DIR2', 'DIR3'], | ||
'files': { | ||
'FILE1': {'hdl': 'vhdl', 'lib': 'LIB1', 'opt': 'OPTS'}, | ||
'FILE2': {'hdl': 'vlog', 'opt': 'OPTS'}, | ||
'FILE3': {'hdl': 'slog', 'opt': 'OPTS'} | ||
}, | ||
'top': 'TOPNAME', | ||
'constraints': { | ||
'FILE1': {'opt': 'OPTS'}, | ||
'FILE2': {'opt': 'OPTS'}, | ||
'FILE3': {'opt': 'OPTS'} | ||
}, | ||
'params': { | ||
'PAR1': 'VAL1', | ||
'PAR2': 'VAL2', | ||
'PAR3': 'VAL3' | ||
}, | ||
'defines': { | ||
'DEF1': 'VAL1', | ||
'DEF2': 'VAL2', | ||
'DEF3': 'VAL3' | ||
}, | ||
'hooks': { | ||
'precfg': ['CMD1', 'CMD2'], | ||
'postcfg': ['CMD1', 'CMD2'], | ||
'presyn': ['CMD1', 'CMD2'], | ||
'postsyn': ['CMD1', 'CMD2'], | ||
'prepar': ['CMD1', 'CMD2'], | ||
'postpar': ['CMD1', 'CMD2'], | ||
'prebit': ['CMD1', 'CMD2'], | ||
'postbit': ['CMD1', 'CMD2'] | ||
}, | ||
'options': { | ||
'prj': 'OPTS', | ||
'syn': 'OPTS', | ||
'pre': 'OPTS', | ||
'pre': 'OPTS' | ||
} | ||
} |