mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
ast: add PRIORITY
to $print
cells
This commit is contained in:
parent
4ffdee65e0
commit
f9d38253c5
4 changed files with 12 additions and 2 deletions
|
@ -644,7 +644,7 @@ has the following parameters:
|
|||
True if triggered on specific signals defined in ``\TRG``; false if
|
||||
triggered whenever ``\ARGS`` or ``\EN`` change and ``\EN`` is 1.
|
||||
|
||||
If ``\TRG_ENABLE`` is true, the following parameters are also set:
|
||||
If ``\TRG_ENABLE`` is true, the following parameters also apply:
|
||||
|
||||
``\TRG_WIDTH``
|
||||
The number of bits in the ``\TRG`` port.
|
||||
|
@ -653,6 +653,10 @@ If ``\TRG_ENABLE`` is true, the following parameters are also set:
|
|||
For each bit in ``\TRG``, 1 if that signal is positive-edge triggered, 0 if
|
||||
negative-edge triggered.
|
||||
|
||||
``\PRIORITY``
|
||||
When multiple ``$print`` cells fire on the same trigger, they execute in
|
||||
descending priority order.
|
||||
|
||||
Ports:
|
||||
|
||||
``\TRG``
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue