1
0
mirror of https://github.com/myhdl/myhdl.git synced 2025-01-24 21:52:56 +08:00

Fix docs, this is actually just 3 variables

--HG--
branch : /fix-docs-this-is-actually-just-3-variabl-1397165148577
This commit is contained in:
Sven-Hendrik Haase 2014-04-10 21:26:05 +00:00
parent 120537ff0a
commit a57a44f83a

View File

@ -191,7 +191,7 @@ the :func:`StopSimulation()` exception to stop the simulation run. The test benc
a small incrementer and a small number of patterns is a follows::
def testbench():
count, enable, clock = [Signal(intbv(0)) for i in range(4)]
count, enable, clock = [Signal(intbv(0)) for i in range(3)]
reset = ResetSignal(0, active=ACTIVE_LOW, async=True)
inc_1 = Inc(count, enable, clock, reset, n=4)