1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00

doc: added expalantion of how reset opoerates on ListOfSignals (#417)

This commit is contained in:
Josy Boelen 2023-04-26 18:07:16 +01:00 committed by GitHub
parent ef206f072e
commit 7e235fc97a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -427,6 +427,10 @@ Conversely, when list syntax is used in some generator, then a Verilog
memory or VHDL array will be declared. The typical example is the memory or VHDL array will be declared. The typical example is the
description of RAM memories. description of RAM memories.
**Note:** a list of signals is handled as an atomic entity; e.g. if you
use a single signal in an ``@always_seq`` generator with an active
*reset* **all** signals will be reset. This implies that you can not use
some signals in a clocked process and others in a combinatorial process.
.. _conv-interfaces: .. _conv-interfaces:
@ -435,7 +439,7 @@ Conversion of Interfaces
Complex designs often have many signals that are passed to different levels of Complex designs often have many signals that are passed to different levels of
hierarchy. Typically, many signals logically belong together. This can be hierarchy. Typically, many signals logically belong together. This can be
modelled by an *interface*: an object that has a number of :class:`Signal` modeled by an *interface*: an object that has a number of :class:`Signal`
objects as its attributes. Grouping signals into an interface simplifies the objects as its attributes. Grouping signals into an interface simplifies the
code, improves efficiency, and reduces errors. code, improves efficiency, and reduces errors.