usb3_pipe/test/test_ltssm.py

26 lines
561 B
Python
Raw Normal View History

#
# This file is part of USB3-PIPE project.
#
# Copyright (c) 2019-2020 Florent Kermarrec <florent@enjoy-digital.fr>
# SPDX-License-Identifier: BSD-2-Clause
2019-09-27 06:29:43 +02:00
import unittest
from migen import *
2019-09-27 07:09:53 +02:00
from usb3_pipe import ltssm
2019-09-27 06:29:43 +02:00
class TestLTSSM(unittest.TestCase):
def test_ltssm_fsm_syntax(self):
fsm = ltssm.LTSSMFSM()
2019-09-27 07:36:07 +02:00
2019-09-27 07:09:53 +02:00
def test_ss_inactive_fsm_syntax(self):
fsm = ltssm.SSInactiveFSM()
2019-09-27 07:00:43 +02:00
def test_rx_detect_fsm_syntax(self):
2019-09-27 07:09:53 +02:00
fsm = ltssm.RXDetectFSM()
2019-09-27 07:00:43 +02:00
#def test_polling_fsm_syntax(self):
# fsm = ltssm.PollingFSM()