soc/cores/spi_opi: cleanup, rename to S7SPIOPI (since 7-Series specific for now)

This commit is contained in:
Florent Kermarrec 2020-02-06 17:58:01 +01:00
parent 62f3537db0
commit 1d70ef6958
2 changed files with 710 additions and 578 deletions

File diff suppressed because it is too large Load Diff

15
test/test_spi_opi.py Normal file
View File

@ -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)