OpenCores

Project maintainers

Details

Name: tiny_spi
Created: Jan 7, 2011
Updated: Jan 8, 2011
SVN Updated: Jan 13, 2011
SVN: Browse
Latest version: download (might take a bit to start...)
Statistics: View
Bugs: 0 reported / 0 solved
Star1you like it: star it!

Other project properties

Category:Communication controller
Language:Verilog
Development status:Beta
Additional info:Design done, FPGA proven
WishBone compliant: Yes
WishBone version: n/a
License: LGPL

Description

This is an 8 bits SPI master controller. It features optional
programmable baud rate and SPI mode selection. Altera SPI doesn't
support programmable rate which is needed for MMC SPI, nor does
Xilinx SPI.

It is small. It combines transmit and receive buffer and remove unused
functions. It takes only 36 LEs for SPI flash controller, or 53 LEs for
MMC SPI controller in an Altera CycoloneIII SOPC project. While Altera
SPI takes around 143 LEs. OpenCores SPI takes 857 LEs and simple SPI
takes 171 LEs.

It doesn't generate SS_n signal. Please use gpio core for SS_n, which
costs 3- LEs per pin. The gpio number is used for the cs number in
u-boot and linux drivers.