...
hierarchy.rpt also allows to check if pattern expression provided for model and instance arguments have been fully accepted by nxpython tool. User must especially be careful about the regular expression operator '*', which is accepted whereas the can use the wildcard operator '*' is not supported. See full details with an incorrect example.
Example:
Code Block | ||
---|---|---|
| ||
project = createProject() project.addModule('mAlu*', 'alu', 'alu-%') #incorrect pattern project.addModule('mCntrl', 'cntrl', 'cntrl-%') project.addModule('mRegister*', 'register', 'cntrl-%') #incorrect pattern |
Anchor | ||||
---|---|---|---|---|
|
...
Here is the correct regular expression to be used.
Example:
...
language | py |
---|
...
Note |
---|
This method is only available before Synthesize flow. The model argument expects a regular expression. |
addMulticyclePath(from_list, to_list, cycle_count)
...