SpaceWire Remote Terminal Controller Torbjörn Hult 20 July 2005 This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 1 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
SpaceWire RTC contract • ESA study • Prime Contractor: Saab Ericsson Space • Subcontractor: Gaisler Research • Foundry: ATMEL, ATC18RT 0,18µ process, multi-project wafer run This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 2 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
SpaceWire RTC overview Debug Debug LEON2 SPARC V8 Memory FIFO On-Chip Serial Link Support Integer Unit Controller Interface Memory UART Unit AHB master I-Cache D-Cache AHB slave AHB master AHB slave AHB master AMBA AHB bus AHB UARTs IRQ AHB / APB Arbiter / bridge GPIO TIMERs Decoder AMBA APB bus AHB master AHB master CTRL/DMA CTRL/DMA General 32-bit ADC / DAC HurriCANe Dundee Purpose I/O TIMERs Interface Controller SpaceWire GRLIB LEON2-FT ESA New This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 3 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Processor and Memory • LEON-2 FT VHDL model • Cache sizing: – 4 kbyte instruction, 4 kbyte data • On-chip memory sizing: – 64 kbyte EDAC protected • External memory sizing: – 4 Mbyte PROM (8-bit wide, EDAC) – 8 Mbyte SRAM (8, 16 or 32 bit, EDAC) – 2 Mbyte IO This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 4 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
FIFO Interface • Interface: 9-bit / 18-bit data, read & write strobes, full, half-full, empty, programmable wait states • Function: stand-alone FIFO interface with active control of external FIFO devices • On-chip: AMBA AHB master with DMA This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 5 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
SpaceWire Functions • SPW CODEC IP used • RMAP support (Read & Write block) • Rx and Tx Channels, separate from RMAP • Time Code, Receive and transmit • 200 Mbit/s capability, @ 100MHz SPWClock, i.e. DDR only • I/F to AMBA bus • Local CPU Support for: - Packet handling (multiple packet, buffer limits, alignment, debug) - Sending RMAP commands (separating header and data, CRC generation, ..) - Transparent reception of Transfer protocols not supported in HW. This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 6 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
SpaceWire block diagram AMBA AHB bus RX On-Chip AHB RMAP Rx AHB Protocol FIFO Memory slave master SpaceWire link CODEC RMAP TX Response Tx AHB Arbiter FIFO master Reg If AMBA APB bus This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 7 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Rx Functions • Two Rx Channels, Rx(0) reserved for RMAP, (each separated by unique DLA) • RMAP: protocol identification, Command interpreter and Error handling, • MemoryBuffer structure, individual buffers for each Rx Channel. RMAP uses its buffer only for Responses and unsupported Commands. • CRC8 Checker in HW, for RMAP packets only • AHB Master (Write only) • High speed, over clock region transfers >200MBit/s Data transfer rate using 64bit blocks @ 30MHz BusClk and 100MHz TxClk. This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 8 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Rx Functions (block diagram) BusClk SPWClk (8*4Byte) RxClk (32Byte) to Rx BusClk CRC8 RxDMA FIFO (64 bit) check Fifo AHB Master(Write) SpaceWire link Bus TransferReq SPW Region TransferRdy Region CODEC FSM FSM DLA, RMAP RxDma Addr, RxChannel Registers, Count, one set for each DLA (RMAP uses one of Conf the sets) RMAP Read Addr, Size RMAP Interrupt Response This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 9 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Tx Functions • Two Tx Channels, Tx(0) reserved for RMAP) • Arbiter, RMAP TxChannel has highest priority • Send list memory structure, up to 255 entries for each Tx Channel sendlist structure allows separate handling of header and raw data. • CRC8 Generation in HW, for RMAP packets only • AHB Master (Read only) • High speed, over clock region transfers >200MBit Data transfer rate using 64bit blocks @ 30MHz BusClk and 100MHz TxClk This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 10 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Tx Functions (block diagram) RMAP RMAP RMAP BusClk Read Req Response Addr Size (TBD Byte) SPWClk Tx AHB Master(Read) SpaceWire link Arbiter TxDMA BusClk (32Byte) Fifo to Tx CODEC TxClk FIFO (64 bit) CRC8 TxDma Gen Tx SendList DMA Transfer & Chan. Bus SPW Req Counters Region Region Transfer FSM FSM Rdy TxChannel Registers, one set for each DLA Interrupt (RMAP uses one of the sets) This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 11 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
TimeCode TimeCtrl(2 bits) TxTime TimeCtrl CtrlReg (2 bits) TimeTick Time SpaceWire link Code TimeTick (Qualified) Tx Equal Time +1 Check CODEC Reg TimeCtrl( RxTime TimeCtrl 2 bits) CtrlReg (2 bits) TimeTick TimeTick RxTime +1 Cnt Reg If AMBA APB bus This document or software is confidential to Saab Ericsson Space and may not: a) be used for any purpose other than for which it was supplied; 12 b) be copied or reproduced in whole or in part without the prior written consent of Saab Ericsson Space; c) be disclosed to any third party without the prior written consent of Saab Ericsson Space.
Recommend
More recommend