1
0
mirror of https://github.com/myhdl/myhdl.git synced 2024-12-14 07:44:38 +08:00
This commit is contained in:
jand 2006-04-14 13:21:36 +00:00
parent afaeeaea3a
commit a37de0d825

View File

@ -927,7 +927,8 @@ the Signal is used as an index, or when it is not used in an
expression. One option is to use the \code{val} attribute, as in this
example. Another possibility is to use the \code{int()} or
\code{bool()} functions to typecast the Signal to an integer or a
boolean value. These functions are also useful with \class{intbv} objects.
boolean value. These functions are also useful with \class{intbv}
objects.
As a second example, we will demonstrate how to use a list to model a
synchronous fifo: