soc/cores/spi_opi: cleanup, rename to S7SPIOPI (since 7-Series specific for now)
This commit is contained in:
parent
62f3537db0
commit
1d70ef6958
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,15 @@
|
||||||
|
# This file is Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
|
||||||
|
# License: BSD
|
||||||
|
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
from migen import *
|
||||||
|
|
||||||
|
from litex.soc.cores.spi_opi import S7SPIOPI
|
||||||
|
|
||||||
|
|
||||||
|
class TestI2S(unittest.TestCase):
|
||||||
|
def test_s7spiopi_syntax(self):
|
||||||
|
spi_opi_pads = Record([("dqs", 1), ("dq", 8), ("sclk", 1), ("cs_n", 1), ("ecs_n", 1)])
|
||||||
|
spi_opi = S7SPIOPI(pads=spi_opi_pads)
|
||||||
|
|
Loading…
Reference in New Issue