nrzi_encode: Fix test name
The test name has a typo. Fix it.
Fixes: c6f95ce
("Add NRZI support")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
02069bceee
commit
1c37899100
|
@ -15,7 +15,7 @@ def nrzi_encode(bits):
|
||||||
yield (last := last ^ bit)
|
yield (last := last ^ bit)
|
||||||
|
|
||||||
@cocotb.test(timeout_time=100, timeout_unit='us')
|
@cocotb.test(timeout_time=100, timeout_unit='us')
|
||||||
async def text_encode(encoder):
|
async def test_encode(encoder):
|
||||||
ins = [random.randrange(2) for _ in range(1000)]
|
ins = [random.randrange(2) for _ in range(1000)]
|
||||||
encoder.nrz.value = ins[0]
|
encoder.nrz.value = ins[0]
|
||||||
await Timer(1)
|
await Timer(1)
|
||||||
|
|
Loading…
Reference in New Issue