mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
Merged in svenstaro/myhdl//fix-docs-this-is-actually-just-3-variabl-1397165148577 (pull request #9)
Fix docs, this is actually just 3 variables
This commit is contained in:
commit
0e268cbf23
@ -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::
|
a small incrementer and a small number of patterns is a follows::
|
||||||
|
|
||||||
def testbench():
|
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)
|
reset = ResetSignal(0, active=ACTIVE_LOW, async=True)
|
||||||
|
|
||||||
inc_1 = Inc(count, enable, clock, reset, n=4)
|
inc_1 = Inc(count, enable, clock, reset, n=4)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user