EmbDev.net

Forum: FPGA, VHDL & Verilog How long it takes to develop a Verilog SPI core?


Author: Andy Vu (Company: Self) (newembuser)
Posted on:

Rate this post
0 useful
not useful
Assuming you need to develop a SPI core in Verilog and implement it in 
FPGA.  How long would it take assuming only one person work.

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
What level of experience?
Beginner?
Expert?

For me it would eat about 40 hours with debugging and documentation in 
VHDL, because I know that very well.
It would need about 100 hours in Verilog, because I know VHDL very well.
It may need much much more for someone not knowing FPGA and any HDL...

: Edited by Moderator
Author: jemand (Guest)
Posted on:

Rate this post
0 useful
not useful
It also depends on the requirements on the core. Should it be flexible, 
parameterizable or should it just send e.g. fixed 2 bytes and read back 
a fixed length answer... The second option without andy documentation 
and only coarse testign should take less than 2 hours for a experienced 
user. The first option may take 1-2 weeks even for an experienced user 
as Lothar explains correctly.

Author: Andy Vu (Company: Self) (newembuser)
Posted on:

Rate this post
0 useful
not useful
Thanks for the response.  By the way, does anyone here know a link to 
where I can get the SPI standard?

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Andy V. wrote:
> where I can get the SPI standard?
SPI is defined by Motorola. Its not a really "standard" but only two 
coupled shift registers. And therefore every SPI device has its own 
specific transmission parameters. The only way is to understand what SPI 
is really and implement a timing that suits the corresponding slave.
Have a look at that picture to see what SPI actually is:
http://www.lothar-miller.de/s9y/archives/15-SPI.html
(try Google translate, its German)

: Edited by Moderator
Author: Dussel (Guest)
Posted on:

Rate this post
0 useful
not useful
You can also look it up on Wikipedia (note: It is Serial Peripheral 
Interface and not SCSI Parallel Interface) or read in a datasheet. In 
contrast to I2C or other busses SPI it is very simple.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.