mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
reference info for @always_seq
--HG-- branch : 0.8-dev
This commit is contained in:
parent
30795da796
commit
f97a43e72f
@ -408,6 +408,13 @@ generators from local generator functions.
|
|||||||
and the corresponding sensitivity list automatically. The decorated function
|
and the corresponding sensitivity list automatically. The decorated function
|
||||||
should be a classic function.
|
should be a classic function.
|
||||||
|
|
||||||
|
.. function:: always_seq(edge, reset)
|
||||||
|
|
||||||
|
The :func:`always_seq` decorator is used to describe sequential (clocked) logic.
|
||||||
|
|
||||||
|
The *edge* parameter should be a clock edge (``clock.posedge`` or ``clock.negedge``).
|
||||||
|
The *reset* parameter should a :class:`ResetSignal` object.
|
||||||
|
|
||||||
|
|
||||||
.. _ref-intbv:
|
.. _ref-intbv:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user