mirror of
https://github.com/myhdl/myhdl.git
synced 2024-12-14 07:44:38 +08:00
proof
This commit is contained in:
parent
1fdb25a08e
commit
dca94cab71
@ -107,10 +107,9 @@ some form of threading.
|
||||
|
||||
The use of generators to model concurrency is the first key concept in
|
||||
\myhdl{}. The second key concept is a related one: in \myhdl{}, the
|
||||
yielded values are used to define the condition upon which the generator
|
||||
should be resumed. In other words, the \keyword{yield} statements work
|
||||
as generalized sensitivity lists. If by now you are still interested,
|
||||
read on to learn more!
|
||||
yielded values are used to define the condition upon which the
|
||||
generator should resume. In other words, \keyword{yield}
|
||||
statements work as generalized sensitivity lists.
|
||||
|
||||
If you want to know more about generators, consult the on-line Python
|
||||
documentation, e.g. at \url{http://www.python.org/doc/2.2.2/whatsnew}.
|
||||
|
@ -98,7 +98,7 @@ most importantly, the test is available when you are done
|
||||
implementing, and can be run anytime by anybody to verify changes.
|
||||
|
||||
Python has a standard \code{unittest} module that facilitates writing,
|
||||
managing and running unit tests. With \code{unittest}, test cases are
|
||||
managing and running unit tests. With \code{unittest}, a test case is
|
||||
written by creating a class that inherits from
|
||||
\code{unittest.TestCase}. Individual tests are created by methods of
|
||||
that class: all method names that start with \code{test} are
|
||||
|
Loading…
x
Reference in New Issue
Block a user