1 |
2 |
jorisvr |
|
2 |
|
|
SpaceWire Light
|
3 |
|
|
===============
|
4 |
|
|
|
5 |
7 |
jorisvr |
Copyright 2009-2011 Joris van Rantwijk
|
6 |
2 |
jorisvr |
|
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 |
7 |
jorisvr |
SpaceWire Light supports two application interfaces. One interface
|
35 |
|
|
provides FIFO-style access to RX/TX buffers in the core (spwstream).
|
36 |
|
|
This interface can be easily integrated into most digital designs.
|
37 |
|
|
|
38 |
|
|
Alternatively, an AMBA bus interface (spwamba) may be used to integrate
|
39 |
|
|
SpaceWire Light into a LEON3 embedded system. This interface supports
|
40 |
8 |
jorisvr |
DMA-based data transfers. The code for the AMBA interface depends on GRLIB,
|
41 |
7 |
jorisvr |
a VHDL library from Aeroflex Gaisler. The source of GRLIB must be downloaded
|
42 |
|
|
separately from http://www.gaisler.com/.
|
43 |
|
|
|
44 |
3 |
jorisvr |
See doc/Manual.pdf for more information.
|
45 |
2 |
jorisvr |
|
46 |
|
|
|
47 |
4 |
jorisvr |
Version history
|
48 |
|
|
---------------
|
49 |
|
|
|
50 |
7 |
jorisvr |
2011-02-11
|
51 |
|
|
* spwamba: Add tick_out signal.
|
52 |
|
|
* swprecvfront_fast: Simplified data transfer between clock domains.
|
53 |
|
|
* Clean up synchronization of data paths between clock domains.
|
54 |
|
|
|
55 |
6 |
jorisvr |
2010-12-03
|
56 |
|
|
* Add RTEMS driver and test program for SPWAMBA.
|
57 |
|
|
* Add documentation for SPWAMBA.
|
58 |
|
|
* spwamba: Change TX FIFO management; start new transfer when there is room
|
59 |
|
|
for a maximum burst instead of aiming for 3/4 fill rate.
|
60 |
|
|
* spwamba: Do not reset spwxmit in response to software reset.
|
61 |
|
|
* spwamba: Fix bug in maximum burst size calculation.
|
62 |
|
|
* spwamba: Optimize address generation in burst state machine.
|
63 |
|
|
* spwamba: More careful calculation of RX credit.
|
64 |
|
|
|
65 |
|
|
2010-09-21
|
66 |
5 |
jorisvr |
* Add AMBA interface (preliminary version, untested, undocumented).
|
67 |
|
|
* License changed from LGPL to GPL.
|
68 |
|
|
* Again fix an issue with EEP injection on link loss.
|
69 |
|
|
* Add DATAPATHONLY keyword to timing constraints.
|
70 |
|
|
|
71 |
4 |
jorisvr |
2010-09-12
|
72 |
|
|
* Fixed issue with automatic discarding of TX data after link error.
|
73 |
|
|
* After link error, spwstream will terminate current packet with EEP even
|
74 |
|
|
if the linkdisable signal is active.
|
75 |
|
|
* Added code comment to clarify a dependency between spwrecv and spwlink.
|
76 |
|
|
(Thanks to Rafael Corsi Ferrao for reporting this obscurity.)
|
77 |
|
|
|
78 |
|
|
2010-07-12
|
79 |
|
|
* Added manual.
|
80 |
|
|
* Fix incorrect bitrate during link handshake. The system clock frequency
|
81 |
|
|
was used to compute the initial tx clock divider, even when the clock
|
82 |
|
|
divider would act on the txclk instead of the system clock.
|
83 |
|
|
* Improve fast transmitter. Sending FCT tokens at high bit rate no longer
|
84 |
|
|
causes insertion of a NULL token.
|
85 |
|
|
|
86 |
|
|
2010-06-08
|
87 |
|
|
* Initial release.
|
88 |
|
|
|
89 |
|
|
|
90 |
2 |
jorisvr |
Contact
|
91 |
|
|
-------
|
92 |
|
|
|
93 |
|
|
For the latest version of this core, see the OpenCores project page.
|
94 |
|
|
|
95 |
|
|
For more information, comments, suggestions or bug reports, either
|
96 |
|
|
go to the OpenCores project page or email me directly.
|
97 |
|
|
|
98 |
|
|
Project page at OpenCores:
|
99 |
|
|
http://opencores.org/project,spacewire_light
|
100 |
|
|
|
101 |
|
|
Email:
|
102 |
|
|
jvrantwijk (at) xs4all (dot) nl
|
103 |
|
|
|
104 |
|
|
--
|