| 1 |
2 |
jorisvr |
|
| 2 |
|
|
SpaceWire Light
|
| 3 |
|
|
===============
|
| 4 |
|
|
|
| 5 |
|
|
Copyright 2009-2010 Joris van Rantwijk
|
| 6 |
|
|
|
| 7 |
5 |
jorisvr |
SpaceWire Light is free software; you can redistribute it and/or modify
|
| 8 |
|
|
it under the terms of the GNU General Public License as published by
|
| 9 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
| 10 |
|
|
(at your option) any later version.
|
| 11 |
2 |
jorisvr |
|
| 12 |
|
|
SpaceWire Light is distributed in the hope that it will be useful,
|
| 13 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 14 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 15 |
5 |
jorisvr |
GNU General Public License for more details.
|
| 16 |
2 |
jorisvr |
|
| 17 |
5 |
jorisvr |
You should have received a copy of the GNU General Public License along
|
| 18 |
|
|
with the SpaceWire Light package. If not, see .
|
| 19 |
2 |
jorisvr |
|
| 20 |
|
|
|
| 21 |
|
|
Overview
|
| 22 |
|
|
--------
|
| 23 |
|
|
|
| 24 |
6 |
jorisvr |
SpaceWire Light is a SpaceWire encoder-decoder.
|
| 25 |
2 |
jorisvr |
It is synthesizable for FPGA targets (up to 200 Mbit on Spartan-3).
|
| 26 |
6 |
jorisvr |
Application interfaces include a simple FIFO interface, as well as
|
| 27 |
|
|
an AMBA bus interface for LEON3 system-on-chip designs.
|
| 28 |
2 |
jorisvr |
|
| 29 |
|
|
The goal is to provide a complete, reliable, fast implementation
|
| 30 |
6 |
jorisvr |
of a SpaceWire encoder-decoder according to ECSS-E-ST-50-12C.
|
| 31 |
2 |
jorisvr |
The core is "light" in the sense that it does not provide additional
|
| 32 |
|
|
features such as RMAP, routing etc.
|
| 33 |
|
|
|
| 34 |
3 |
jorisvr |
See doc/Manual.pdf for more information.
|
| 35 |
2 |
jorisvr |
|
| 36 |
3 |
jorisvr |
Future plans:
|
| 37 |
5 |
jorisvr |
* redesign fast receiver to improve performance
|
| 38 |
|
|
* add support for Xilinx Virtex platform
|
| 39 |
2 |
jorisvr |
|
| 40 |
|
|
|
| 41 |
4 |
jorisvr |
Version history
|
| 42 |
|
|
---------------
|
| 43 |
|
|
|
| 44 |
6 |
jorisvr |
2010-12-03
|
| 45 |
|
|
* Add RTEMS driver and test program for SPWAMBA.
|
| 46 |
|
|
* Add documentation for SPWAMBA.
|
| 47 |
|
|
* spwamba: Change TX FIFO management; start new transfer when there is room
|
| 48 |
|
|
for a maximum burst instead of aiming for 3/4 fill rate.
|
| 49 |
|
|
* spwamba: Do not reset spwxmit in response to software reset.
|
| 50 |
|
|
* spwamba: Fix bug in maximum burst size calculation.
|
| 51 |
|
|
* spwamba: Optimize address generation in burst state machine.
|
| 52 |
|
|
* spwamba: More careful calculation of RX credit.
|
| 53 |
|
|
|
| 54 |
|
|
2010-09-21
|
| 55 |
5 |
jorisvr |
* Add AMBA interface (preliminary version, untested, undocumented).
|
| 56 |
|
|
* License changed from LGPL to GPL.
|
| 57 |
|
|
* Again fix an issue with EEP injection on link loss.
|
| 58 |
|
|
* Add DATAPATHONLY keyword to timing constraints.
|
| 59 |
|
|
|
| 60 |
4 |
jorisvr |
2010-09-12
|
| 61 |
|
|
* Fixed issue with automatic discarding of TX data after link error.
|
| 62 |
|
|
* After link error, spwstream will terminate current packet with EEP even
|
| 63 |
|
|
if the linkdisable signal is active.
|
| 64 |
|
|
* Added code comment to clarify a dependency between spwrecv and spwlink.
|
| 65 |
|
|
(Thanks to Rafael Corsi Ferrao for reporting this obscurity.)
|
| 66 |
|
|
|
| 67 |
|
|
2010-07-12
|
| 68 |
|
|
* Added manual.
|
| 69 |
|
|
* Fix incorrect bitrate during link handshake. The system clock frequency
|
| 70 |
|
|
was used to compute the initial tx clock divider, even when the clock
|
| 71 |
|
|
divider would act on the txclk instead of the system clock.
|
| 72 |
|
|
* Improve fast transmitter. Sending FCT tokens at high bit rate no longer
|
| 73 |
|
|
causes insertion of a NULL token.
|
| 74 |
|
|
|
| 75 |
|
|
2010-06-08
|
| 76 |
|
|
* Initial release.
|
| 77 |
|
|
|
| 78 |
|
|
|
| 79 |
2 |
jorisvr |
Contact
|
| 80 |
|
|
-------
|
| 81 |
|
|
|
| 82 |
|
|
For the latest version of this core, see the OpenCores project page.
|
| 83 |
|
|
|
| 84 |
|
|
For more information, comments, suggestions or bug reports, either
|
| 85 |
|
|
go to the OpenCores project page or email me directly.
|
| 86 |
|
|
|
| 87 |
|
|
Project page at OpenCores:
|
| 88 |
|
|
http://opencores.org/project,spacewire_light
|
| 89 |
|
|
|
| 90 |
|
|
Email:
|
| 91 |
|
|
jvrantwijk (at) xs4all (dot) nl
|
| 92 |
|
|
|
| 93 |
|
|
--
|