soc/add_sdcard: add with_emulator parameter to use SDCard emulator (from Google Proje...
[litex.git] / test / test_spi_opi.py
1 # This file is Copyright (c) 2020 Florent Kermarrec <florent@enjoy-digital.fr>
2 # License: BSD
3
4 import unittest
5
6 from migen import *
7
8 from litex.soc.cores.spi_opi import S7SPIOPI
9
10
11 class TestI2S(unittest.TestCase):
12 def test_s7spiopi_syntax(self):
13 spi_opi_pads = Record([("dqs", 1), ("dq", 8), ("sclk", 1), ("cs_n", 1), ("ecs_n", 1)])
14 spi_opi = S7SPIOPI(pads=spi_opi_pads)
15