|
|
SpaceWire Light
|
SpaceWire Light
|
===============
|
===============
|
|
|
Copyright 2009-2010 Joris van Rantwijk
|
Copyright 2009-2011 Joris van Rantwijk
|
|
|
SpaceWire Light is free software; you can redistribute it and/or modify
|
SpaceWire Light is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
(at your option) any later version.
|
(at your option) any later version.
|
|
|
SpaceWire Light is distributed in the hope that it will be useful,
|
SpaceWire Light is distributed in the hope that it will be useful,
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
GNU General Public License for more details.
|
GNU General Public License for more details.
|
|
|
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
with the SpaceWire Light package. If not, see .
|
with the SpaceWire Light package. If not, see .
|
|
|
|
|
Overview
|
Overview
|
--------
|
--------
|
|
|
SpaceWire Light is a SpaceWire encoder-decoder.
|
SpaceWire Light is a SpaceWire encoder-decoder.
|
It is synthesizable for FPGA targets (up to 200 Mbit on Spartan-3).
|
It is synthesizable for FPGA targets (up to 200 Mbit on Spartan-3).
|
Application interfaces include a simple FIFO interface, as well as
|
Application interfaces include a simple FIFO interface, as well as
|
an AMBA bus interface for LEON3 system-on-chip designs.
|
an AMBA bus interface for LEON3 system-on-chip designs.
|
|
|
The goal is to provide a complete, reliable, fast implementation
|
The goal is to provide a complete, reliable, fast implementation
|
of a SpaceWire encoder-decoder according to ECSS-E-ST-50-12C.
|
of a SpaceWire encoder-decoder according to ECSS-E-ST-50-12C.
|
The core is "light" in the sense that it does not provide additional
|
The core is "light" in the sense that it does not provide additional
|
features such as RMAP, routing etc.
|
features such as RMAP, routing etc.
|
|
|
See doc/Manual.pdf for more information.
|
SpaceWire Light supports two application interfaces. One interface
|
|
provides FIFO-style access to RX/TX buffers in the core (spwstream).
|
|
This interface can be easily integrated into most digital designs.
|
|
|
|
Alternatively, an AMBA bus interface (spwamba) may be used to integrate
|
|
SpaceWire Light into a LEON3 embedded system. This interface supports
|
|
DMA-based data transfers. The code for the AMBA interface deponds on GRLIB,
|
|
a VHDL library from Aeroflex Gaisler. The source of GRLIB must be downloaded
|
|
separately from http://www.gaisler.com/.
|
|
|
Future plans:
|
See doc/Manual.pdf for more information.
|
* redesign fast receiver to improve performance
|
|
* add support for Xilinx Virtex platform
|
|
|
|
|
|
Version history
|
Version history
|
---------------
|
---------------
|
|
|
|
2011-02-11
|
|
* spwamba: Add tick_out signal.
|
|
* swprecvfront_fast: Simplified data transfer between clock domains.
|
|
* Clean up synchronization of data paths between clock domains.
|
|
|
2010-12-03
|
2010-12-03
|
* Add RTEMS driver and test program for SPWAMBA.
|
* Add RTEMS driver and test program for SPWAMBA.
|
* Add documentation for SPWAMBA.
|
* Add documentation for SPWAMBA.
|
* spwamba: Change TX FIFO management; start new transfer when there is room
|
* spwamba: Change TX FIFO management; start new transfer when there is room
|
for a maximum burst instead of aiming for 3/4 fill rate.
|
for a maximum burst instead of aiming for 3/4 fill rate.
|
* spwamba: Do not reset spwxmit in response to software reset.
|
* spwamba: Do not reset spwxmit in response to software reset.
|
* spwamba: Fix bug in maximum burst size calculation.
|
* spwamba: Fix bug in maximum burst size calculation.
|
* spwamba: Optimize address generation in burst state machine.
|
* spwamba: Optimize address generation in burst state machine.
|
* spwamba: More careful calculation of RX credit.
|
* spwamba: More careful calculation of RX credit.
|
|
|
2010-09-21
|
2010-09-21
|
* Add AMBA interface (preliminary version, untested, undocumented).
|
* Add AMBA interface (preliminary version, untested, undocumented).
|
* License changed from LGPL to GPL.
|
* License changed from LGPL to GPL.
|
* Again fix an issue with EEP injection on link loss.
|
* Again fix an issue with EEP injection on link loss.
|
* Add DATAPATHONLY keyword to timing constraints.
|
* Add DATAPATHONLY keyword to timing constraints.
|
|
|
2010-09-12
|
2010-09-12
|
* Fixed issue with automatic discarding of TX data after link error.
|
* Fixed issue with automatic discarding of TX data after link error.
|
* After link error, spwstream will terminate current packet with EEP even
|
* After link error, spwstream will terminate current packet with EEP even
|
if the linkdisable signal is active.
|
if the linkdisable signal is active.
|
* Added code comment to clarify a dependency between spwrecv and spwlink.
|
* Added code comment to clarify a dependency between spwrecv and spwlink.
|
(Thanks to Rafael Corsi Ferrao for reporting this obscurity.)
|
(Thanks to Rafael Corsi Ferrao for reporting this obscurity.)
|
|
|
2010-07-12
|
2010-07-12
|
* Added manual.
|
* Added manual.
|
* Fix incorrect bitrate during link handshake. The system clock frequency
|
* Fix incorrect bitrate during link handshake. The system clock frequency
|
was used to compute the initial tx clock divider, even when the clock
|
was used to compute the initial tx clock divider, even when the clock
|
divider would act on the txclk instead of the system clock.
|
divider would act on the txclk instead of the system clock.
|
* Improve fast transmitter. Sending FCT tokens at high bit rate no longer
|
* Improve fast transmitter. Sending FCT tokens at high bit rate no longer
|
causes insertion of a NULL token.
|
causes insertion of a NULL token.
|
|
|
2010-06-08
|
2010-06-08
|
* Initial release.
|
* Initial release.
|
|
|
|
|
Contact
|
Contact
|
-------
|
-------
|
|
|
For the latest version of this core, see the OpenCores project page.
|
For the latest version of this core, see the OpenCores project page.
|
|
|
For more information, comments, suggestions or bug reports, either
|
For more information, comments, suggestions or bug reports, either
|
go to the OpenCores project page or email me directly.
|
go to the OpenCores project page or email me directly.
|
|
|
Project page at OpenCores:
|
Project page at OpenCores:
|
http://opencores.org/project,spacewire_light
|
http://opencores.org/project,spacewire_light
|
|
|
Email:
|
Email:
|
jvrantwijk (at) xs4all (dot) nl
|
jvrantwijk (at) xs4all (dot) nl
|
|
|
--
|
--
|
|
|