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:
Sean Anderson 2022-11-05 12:00:00 -04:00
parent 02069bceee
commit 1c37899100
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ def nrzi_encode(bits):
yield (last := last ^ bit)
@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)]
encoder.nrz.value = ins[0]
await Timer(1)