Skip to content

Commit e160526

Browse files
committed
Added SPI slave and new version of SPI master.
1 parent e3e30e9 commit e160526

File tree

5 files changed

+642
-277
lines changed

5 files changed

+642
-277
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
# SPI master controller for FPGA
1+
# SPI MASTER AND SLAVE FOR FPGA
22

3-
The SPI master is simple controller for communication between FPGA and various peripherals via the SPI interface. The SPI master was implemented using VHDL 93 and is applicable to any FPGA.
3+
The SPI master and SPI slave ale simple controllers for communication between FPGA and various peripherals via the SPI interface. TThe SPI master and SPI slave have been implemented using VHDL 93 and are applicable to any FPGA.
44

5-
**The SPI master controller support only SPI mode 0 (CPOL=0, CPHA=0)!**
5+
**The SPI master and SPI slave controllers support only SPI mode 0 (CPOL=0, CPHA=0)!**
66

7-
The SPI master controller was simulated.
7+
The SPI master and SPI slave controllers have been simulated.
88

9-
# Synthesis results summary:
9+
# Table of resource usage summary:
1010

11-
DATA_WIDTH | LE (LUT) | FF | BRAM | Fmax
11+
CONTROLLER | LE (LUT) | FF | BRAM | Fmax
1212
:---:|:---:|:---:|:---:|:---:
13-
8b | 28 | 22 | 0 | 307.4MHz
14-
16b | 39 | 31 | 0 | 211.3MHz
13+
SPI master | 36 | 25 | 0 | 346.9 MHz
14+
SPI slave | 26 | 19 | 0 | 438.7 MHz
1515

16-
*Synthesis was performed using Quartus II 64-Bit Version 13.0.1 for FPGA Altera Cyclone II with these settings: CLK_FREQ = 50 MHz, SCLK_FREQ = 5 MHz.*
16+
*Synthesis have been performed using Quartus Prime 16.1 Lite Edition for FPGA Altera Cyclone IV with these settings: CLK_FREQ = 50 MHz, SCLK_FREQ = 5 MHz, SLAVE_COUNT = 1.*
17+
18+
# License:
19+
20+
The SPI master and SPI slave controllers are available under the GNU LESSER GENERAL PUBLIC LICENSE Version 3. Please read [LICENSE file](LICENSE).

0 commit comments

Comments
 (0)