assessment and debugging of atmel atf280 development kit and suitability for esa ip cores javier...

66
Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Upload: michael-anderson

Post on 22-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores

Javier GalindoTEC-EDM

27/09/2011

Page 2: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

OutlineOutline

• Experience learning the ATMEL development kit.

• Exposition about the work done with the HurriCANe IP core .

• Exposition about the work done with the SpaceWire-b ESA Codec IP core

-2-

Page 3: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Motivation of the Motivation of the StudyStudy

• ATF280F first In-house design experienceso In-house evaluation of ATMEL FPGA Development Kit and

Tools through small designs: new Atmel FPGA user learning curve

• Study the suitability of ESA IP Cores within the ATMEL ATF280 FPGA and its Tools (HurriCANe and SpaceWire Codec)

o Assess the feasibility and performance of these IPs in the European FPGA technology ATF280

-3-

Page 4: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

1.Review of ATMEL Architecture and General ATF280 Features

– Expertise and work already done by ESA with ATMEL FPGAs

2.Review of work already done with ATF280– Analysis of developed designs, In-house and by Industry

– Tricks, bugs and problems found which are not well explained in ATMEL documentation.

– At first glance, promising device

Study Flow IStudy Flow I

-4-

Page 5: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

3.Understanding of ATMEL Tool flow– Non trivial; Compilation of different applications.

– Lack of “good” documentation and EXAMPLES!!!

– In-house Know How; thanks to Mrs F. Decuzzi

4.Implementation of simple test designs– Start with simple designs to become familiar with tool flow

– Correlate documentation with reality

Study Flow II Study Flow II

-5-

Page 6: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

5.Implementation of ESA IP Cores– Use of HurriCANe (Data Link Layer); small and interesting IP

core

– Use of SpaceWire Codec; small and interesting IP core

– Future; CANOpen, Space Wire, Small processor or LEON

6.Results analysis and comparison with other technologies

– Validation and verification of the designs

– Problem analysis and results

– Comparison and conclusions

Study Flow III Study Flow III

-6-

Page 7: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

OutlineOutline

• Experience learning the ATMEL development kit.

• Exposition about the work done with the HurriCANe IP core .

• Exposition about the work done with the SpaceWire-b ESA Codec IP core

-7-

Page 8: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Initial Prototype– ATF280 Silicon Revision F– Compact PCI mother board– EEPROM, SDRAM, SRAM memories– AT17LV040 configuration memory is used instead

of AT69170E.– Configurable clock generator– LEDs, buttons and a LCD display– Serial RS232 and LVDS drivers

– Current Development Kit– ATF280 Silicon Revision F– Compact PCI mother board– EEPROM, SRAM memories– 4 x AT17LV010 configuration memory is used

instead of AT69170E.– Configurable clock generator and external clock

inputs– LEDs and buttons– Serial RS232 and LVDS drivers

Initial prototype

Development Kit

Development KitsDevelopment Kits

-8-

Page 9: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

• Test of simple designs to become familiar with the tools.

– Simple combinational circuits

– Up and Down Counters

– Frequency Dividers

– Hard Macros with dummy State Machines

– Simple UART access to On-Chip RAM

Simple Test DesignsSimple Test Designs

-9-

Page 10: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Behaviour of the tools with hierarchical designs

– Clock resources management

– HardMacro detection and mapping

– LPM detection and mapping

– Placing capabilities

– Routing capabilities

– Simulation and analysis features

– Functionality of the development kit blocks

– Usability of the ATF280 with ESA IP cores

ObjectivesObjectives

-10-

Page 11: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Tech. Comparison Tech. Comparison ConsiderationsConsiderations

– Synthesis Technology comparisons purpose:– Check consistency of the results obtained with the Atmel

design flow and other FPGA technologies

– The purpose is not to have a full benchmark

– Important note;– The technologies compared belong to different technology

nodes and some (Altera Cyclone 2 and Xilinx Virtex 4) are commercial

• Altera Cyclone: 90 nm TSCM, commercial

• Xilinx Virtex-4: 90 nm UMC, commercial

• Microsemi RTAX : 150 nm, rad tolerant

-11-

Page 12: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

ATMEL – ATF280

ACTEL – RTAX1000

ALTERA – Cyclone II

XILINX – Virtex 4

Frequency Divider; Technology Comparison

FIGARO Report

Correlation among

technologies

Frequency Divider Frequency Divider AreaArea

-12-

Page 13: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

ATMEL – ATF280

ACTEL – RTAX1000

ALTERA – Cyclone II

XILINX – Virtex 4

Frequency Divider; Technology Comparison

FIGARO Report ATMEL shows speed

problems

Frequency Divider Frequency Divider TimingTiming

-13-

Page 14: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Complex tool flow. Non integration of all the tools in only one software application.

– Integration of IDS Figaro in Precision is not working. Old version.

– Lack of “good” documentation and EXAMPLES!!!

– Tricks, bugs and problems found which are not well explained in ATMEL documentation. Mesh in different documents in the users group.

– Complicated tracking of signals due to renaming.

– LPM mapping and HardMacros mapping is functional and desirable.

– Needed more detailed explanation and status in current soft release.

– Incomplete area and timing reports due to black boxes; number of Core Cells consumed by Black Box is not estimated in Synthesis

– Post Synthesis simulation not fully available. Post Place and Route simulation possible but under development.

Down Counter; Notes

Down Counter NotesDown Counter Notes

-14-

Page 15: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Hierarchy Flattening Mandatory.– Problems routing different clock domains in same

die areas.– Using the 8 DKit LEDs with different clock

domains almost impossible. – Solution not always feasible; use not

registered outputs. Optimization problems. – FanOut switch already working.– Atmel shows clear speed problems, analysis of

reasons needed. – Characterization ongoing. Repeaters? – Needed deeper study of ATMEL timing

analysis, not clear results. Bugs being fixed.– Not optimal placing induces not optimal routing;

waste of resources regarding other technologies. – RAM allocation problems; max @ width is 8 = 256

Bytes per block without glue logic. Simulation libraries?

Frequency Divider; Notes

Frequency Divider Frequency Divider NotesNotes

-15-

Page 16: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

After the verification and validation of the simple designs the following conclusions were achieved;

– Lack of good documentation for the Development Kit and Tools. – Last DK relase has only info about Prototype Kit. Improvement needed; clarify tools

status and compile bugs and tricks in one single document. Efficient RadHard Hotline support.

– DK absence of sample designs, only self test bit stream without documentation.

– DK absence of LCD Display as in the prototype.

– DK absence of AT69170E Configuration Memory

– SpaceProgrammer has no native drivers for 64 bit Windows Versions, useless. IDS Figaro compatible only up to Windows Vista.

ATMEL Development Kit ATMEL Development Kit II

-16-

Page 17: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

After the verification and validation of the simple designs the following conclusions were achieved;

– Speed problems of ATMEL device; still valid for small/medium designs not very fast.

– Place and Route capabilities to be improved dramatically.

– Simulation libraries and documentation improvement needed

– Appreciable effort in enhancing the tools and supporting users shown, good way for future.

ATMEL Development Kit ATMEL Development Kit IIII

-17-

Page 18: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Gone through the learning curve of using the FPGA design tools (including lab equipment); focusing the ATF280 FPGA

– FPGA still valid for some “small” designs

– Several days/weeks of work with ATMEL validated in only one XILINX work day.

ATMEL Development KitATMEL Development Kit

-18-

Page 19: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

OutlineOutline

• Experience learning the ATMEL development kit.

• Exposition about the work done with the HurriCANe IP core .

• Exposition about the work done with the SpaceWire-b ESA Codec IP core

-19-

Page 20: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– HurryCANe – ESA IP Core implementing the DATA LINK LAYER of BOSCH 2.0 A and B CAN standard.

– Well spread controller

– Includes an AMBA APB wrapper, not used in these test.

– Lower Layer for CCPIP IP Core. Work done with it but stable version not yet released for synthesis.

HurryCANe TestsHurryCANe Tests

-20-

Page 21: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Two test setups used;

– Single CAN Node, SCN;Simple CAN node which sends packets when board push buttons are pressed and switch on and off LEDs depending on the received packet.

ESA HurryCANe IP Core

– CAN-UART Bridge;Bridge with a CAN interface and a Serial UART interface. LCD to monitor traffic. Enables more extensive testing

HurryCANe SetupsHurryCANe Setups

-21-

Page 22: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Simple CAN Node to asses IP core functionality with ATMEL FPGAs.

– Only Data Link Layer implemented controlled with dummy state machines.

– Computer emulated CAN network to send packets to the node and monitor packet received from the node.

– LEDs and push buttons to control node.

– 1Mbps CAN link speed.

– Internal or external PCB clock.

– Synthesis performed with

Precision RTL 2010a U2.

– Place & route performed with

Figaro IDS 9.0.3.

– ATMEL Development Kit used.

Simple CAN Node, SCNSimple CAN Node, SCN

-22-

Page 23: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

1. Physical Layer Driver for CAN Voltage levels in protoboard.

2. Used 65HVD251 from TI (CAN V levels, not RS485) Up to 1Mbp

3. Vector CANoe software package to simulate CAN network nodes and monitor traffic.

4. PCMCIA Card with optocoupled physical layer drivers.

SCN SetupSCN Setup

Design validated and verified ✔

-23-

Page 24: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Design fits and works in ATF280

– Most complicated step; learning of Vector CANoe software package. Powerful tool but time consuming to be learnt.

– Internal and external clock tested up to 20 Mhz. No need for higher speeds, max CAN speed is 1Mbps, achievable with less than 20 Mhz.

– Very low design frequency due to long combinatorial paths of the IP core (Specially expensive in time for ATMEL FPGAs).

– Not functional problem but detailed analysis needed.

IP coreworks

without big issues

SCN DetailsSCN Details

-24-

Page 25: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

IP coreUsable with

ATF280

Estrange problem with encapsulated transistor burnt after an On Off On cycle. DK not damaged but component need to be replaced.

SCN ProblemsSCN Problems

-25-

Page 26: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– HurryCANe – ESA IP Core implementing the DATA LINK LATER of BOSCH 2.0 A and B CAN standard interfacing OpenCores simple serial UART 96008N1.

– Dummy LCD display controlled with simple state machine to monitor traffic.

CAN UART BridgeCAN UART Bridge

-26-

Page 27: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

1. Physical Layer Driver for CAN Voltage levels in protoboard.

2. Used 65HVD251 from TI (CAN V levels, not RS485) Up to 1Mbp

3. Vector CANoe software package to simulate CAN network nodes and monitor trafic.

4. PCMCIA Card with optocoupled physical layer drivers.

5. Serial port on computer with Putty as terminal.

CAN-UART SetupCAN-UART Setup

Equivalent to SCN including; Serial port on computer with Putty as

terminal

Design validated and verified ✔

-27-

Page 28: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

ATMEL – ATF280

ACTEL – RTAX1000

ALTERA – Cyclone II

XILINX – Virtex 4

Technology Comparison

FIGARO Report

CAN-UART Results CAN-UART Results AreaArea

(FANOUT = 100)

-28-

Page 29: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

ATMEL – ATF280

ACTEL – RTAX1000

ALTERA – Cyclone II

XILINX – Virtex 4

Technology Comparison

FIGARO ReportFANOUT

= 30

FANOUT

= 100

FANOUT

= 30

CAN-UART Results CAN-UART Results TimingTiming

FANOUT impact: not too large for this design

-29-

Page 30: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

PRECISION Report

Where are the FGEN2??

(In the lpms??)

Technology Comparison

FIGARO Report

CAN-UART Results CAN-UART Results FGEN2FGEN2

-30-

Page 31: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

XILINX – Virtex 4

ATMEL – ATF280

CAN-UART Results CAN-UART Results RepeatersRepeaters

Delay in the nets: very high for ATF280 (for many 4 ns), characterization required.

-31-

Page 32: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– CAN traffic and Serial traffic monitored on LCD.

– FGEN2 problem identified on Precision reports.

– FanOut doesn’t change results significantly.

– Technology Gap between Atmel and other technologies.

– Mature expertise with Atmel tools assessed.

– ESA CAN IP Core simple and useful, even with ATF280

CAN-UART ResultsCAN-UART Results

Design validated and verified ✔

-32-

Page 33: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

OutlineOutline

• Experience learning the ATMEL development kit.

• Exposition about the work done with the HurriCANe IP core .

• Exposition about the work done with the SpaceWire-b ESA Codec IP core

-33-

Page 34: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Implementation of UoD Space Wire Codec ESA IP

– According to standard ECSS-E-ST-50-12C

– High-speed serial protocol for links and networks used onboard spacecraft.

– Up to 400 Mbits/sec, bi-directional and full-duplex.

– Application information is sent along a SpaceWire link in discrete packets.

– Control and time information

can also be sent along

SpaceWire links.

SpW CodecSpW Codec

-34-

Page 35: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– SpaceWire CODEC is responsible for making a connection with the SpaceWire interface at the other end of a link.

– Managing the flow of data across the link.

– The interface transmits and receives SpaceWire characters which can be link characters (L-Char) or normal characters (N-Char).

– L-Chars are characters that are used to manage the flow of data across a link (NULL & FCT).

– N-Chars are the characters that are used to pass information

across the link (data characters, EOP, EEP and time-codes).

SpW Codec InfoSpW Codec Info

-35-

Page 36: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Three SpW ESA IPs available;

– SpW-b; SpW alone codec.

– SpW-AMBA; SpW codec with AMBA interface.

– SpW-RMAP; SpW codec with Remote Memory Access Protocol (RMAP) extensions.

– Planned to start with SpW RMAP IP; standard mechanism for reading from, and writing to memory in a remote SpaceWire node.

– Preliminary analysis shown problems mapping RMAP memories inside FPGA.

– Only 115-Kbits of user-configurable SRAM.

– Limited usability of this RAM due to Figaro IDS. Glue logic routing problems

– Finally first approach with SpaceWire CODEC alone and later continue with RMAP mapping memories outside FPGA.

SpW ApproachSpW Approach

-36-

Page 37: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Very versatile IP core with many configuration options; – Valuable for experienced user / Confusing for newcomer

– Main options are; – Pipelined to increase transmission speed or non pipelined to save area.

– DDR outputs or SDR outputs depending the on required data rate and the users selected technology.

– TX clock configuration options to allow an independent TX clock and default system clock therefore greatly increasing the achievable data rate and decoupling the TX logic from the system clock logic.

– Internal variable data rate generation.

– Configurable receive buffer size. Internal FCT credit counter operations are handled internally.

– No functional example available in documentation. Only SpW RMAP Xilinx implementation sample.

– Only generic wrapper available with a TX FIFO and RX memory.

SpW Codec IPSpW Codec IP

-37-

Page 38: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– First approach with a basic configuration; Fixed 10Mbps TX rate. – Two clock domains;

– System and TX clocks common clock at 10Mhz.

– RX recovered clock.

– No DDR outputs

– Small TX and RX FIFOs; 16 words of 9bits.

– Loopback of data inside FPGA

– Establish a running link with Brick Tool

– Tests the standard with SpW Conformance Tester

– Monitoring traffic with SpW router

SpW Codec SpW Codec ConfigurationConfiguration

-38-

Page 39: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– First problems with the available simulation test bench; – Verification test bench useful only with the codec itself.

– Runs different codec configuration tests.

– Monitors SpW traffic and internal signals of the codec.

– Wrapper on top doesn’t allow configuration changes and hides internal signals.

SpW Codec Simulation SpW Codec Simulation II

-39-

Page 40: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Decided to simulate codec itself post Synthesis and Post P&R

– P&R requires some GENERICS to be defined, problem to simulate all tests as logic synthesis removes unused logic.

– Simulation only of the selected configuration.

– Lack of documentation to select specific test.

– Manual modification of synthesis and simulation scripts.

– Not available Modelsim Post Synthesis ATMEL libraries.

– Short help guide and libraries received upon request.

– Manual Post Synthesis .vhd and libraries modification requried.

– Same problem with Post Place and Route simulation

– Some test failed due to RX clock recovery.

SpW Codec Simulation SpW Codec Simulation IIII

-40-

Page 41: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Basic design; Fixed 10Mbps TX rate, two domain clocks

Nice surprise; The official Development Kit had the wrong SpW receptacle. Back to ATMEL prototype.

SpW Codec Hardware SpW Codec Hardware SetupSetup

-41-

Page 42: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Critical Clock Recovery; Constraint design.

SpW Codec Clock SpW Codec Clock Recovery IRecovery I

– SpW has timing constrains for recovery.

– Microsemi (ACTEL) application note suggest manual routing.

– Previous ATMEL SpW desing (V.Carlier IAS/ORSAY) routed manually. TX

20Mbps/RX120Mbps

– Our design; low speed, 10 Mbps, automated routing could work

-42-

Page 43: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Recovered Clock is a Derived Clock

– ATMEL suit doesn’t initially allow Derived Clocks

– New release while working fixed that problem.

– ATMEL suit doesn’t allow STA for clock falling edges

– We assume that the same engine is used for STA and Time Driven P&R

– Figaro puts effort in optimizing paths with falling edges, leaving rest of design non optimized.

– Really poor low performance in results, max clocks around 10 Mhz

– Non Time Driven P&R gives similar results

– Next step hardware validation of the design

SpW Codec Clock SpW Codec Clock Recovery IIRecovery II

-43-

Page 44: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Initial configuration was 2 SpW instances of the Codec connected in loopback mode inside the FPGA.

– The link was running for a few useconds

before disconnect error of the brick

– The link was stablished with other hardware

Working with SpW router, Conformance Tester

and Link Analyzer. (Thanks to TEC-EDP)

– Link Active but Nchar traffic was not

loopbacked

– Next step debugging with

Logic Analyzer (Thanks to TEC-EDD)

SpW Codec First SpW Codec First ResultsResults

-44-

Page 45: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

SpW Codec Debugging SpW Codec Debugging II

Periodic

Disconnect

Error

-45-

Page 46: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– When mapping out signals random behavior of the design.

– Random effort trying to debug the functionality of the P&R.

– Some times affected even the current consumption of the board.– 210mA regular design vs 400mA in some working instances

– Waiting issue answer of ATMEL Help line

– Possible damage of the board discarded after manual analysis of resources used in designs that shown estrange current behavior.

– Corruption of the bitstream discarded after comparison between bitstreams in DK memory and computer.

– Assumption for possible timing related problems with P&R

Simpler design with only one codec.

SpW Codec Debugging SpW Codec Debugging IIII

-46-

Page 47: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Less random behavior of the development kit

– Ass before link established normally.

– Loopback of characters.

– Not fully functional– Characters not in order.

– Unknown characters

– Problem in TX or RX?

– New design with UART– Monitor RX character and clock domain

– Monitor TX and system clock domain

SpW Codec Debugging SpW Codec Debugging IIIIII

-47-

Page 48: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– With this last configuration RX domain validated

– UART monitors RX characters, some improvements needed

– Automated P&R for RX clock recovery at low speed valid

– Work being done in the TX and system clock domain

– UART not well connected to TX FIFO or timing problem?

– New iteration in STA of the design; estrange behavior of IDS Figaro when changing Constraint for STA with a fix P&R

– Re-running STA relaxing some strong constraints produces improvement in timing performance --- Correct

– Re-running STA rising some strong constraints produces improvement in timing performance --- Non correct??

– Probably related to falling edge clocks. Not clear answer from ATMEL help line, still under investigation.

SpW Codec Debugging SpW Codec Debugging IVIV

-48-

Page 49: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Mentor Precision for ATMEL – ATF280

FIGARO Report

SpW Codec Results SpW Codec Results AreaArea

-49-

Page 50: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Mentor Precision for ATMEL – ATF280

FIGARO Report

SpW Codec SpW Codec Results Results TimingTiming

-50-

Page 51: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Further work need to be developed

– ESA SpW-b IP Core powerful but complex

– Lack of examples

– Not easy simulation of designs, only the codec

– Automated routing for low speed valid

– ATMEL main problem timing; possible to synthesize SpW with ATMEL but tricky

CAN-UART ResultsCAN-UART Results

Design not yet validated and verified

-51-

Page 52: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

A Timing Characterization is being developed

ATF280 Timing ATF280 Timing Charact.Charact.

Correlate simulations with real Hardware.

ATMEL timing issues related to net delays?

Repeaters?

Last library updates doesn’t add big penalty when routing repeaters

Further analysis required

-52-

Page 53: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Non trivial tool flow, compilation of several vendor software;

– self learning the software will not give the same results as experimented users could get, help needed.

– Lack of application examples and some documentation. Only self test bit stream with the FPGA, need to ask for samples.

– Lack of centralized document with tips and tricks for new users.

– Old dated manuals and tutorials, 2002, lots of changes.

– Fast and good support from ATMEL RadHard Hotline; efficient and fast solutions answers and help.

ATF280 DK ATF280 DK ConclusionsConclusions

-53-

Page 54: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Old errors and problems still reproduced. Need to be fixed.

– Routing problems due to non optimal Placement, specially registered outputs and clock resources on mixed clock domains.

– LPM and Macros seen as black boxes, no timing or area resources report in Synthesis step.

– FGEN2 estrange behavior.

– Improve Atmel timing reports and correlation with Precision and reality.

– Not support for falling clock edges in STA or Timing driven P&R, STA.

ATF280 DK ATF280 DK ConclusionsConclusions

-54-

Page 55: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– Strong differences between ATMEL and other technologies.

– Not always comparable; XTMR overhead or other techniques avoided with RadHard by design architecture from ATMEL;

– Valid comparison in terms of speed

– Non equivalent comparison in terms of Area due to different radiation features.

– Not suitable FPGA for “big” designs but still valid for small/medium designs.

– Problem with the Development Kit, Transistors burnt with only switching on-off-on, SpW receptacles.

– SpaceProgrammer without native drivers for 64 bit Windows Versions, useless. FIGARO not working under windows 7.

ATF280 DK ATF280 DK ConclusionsConclusions

-55-

Page 56: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– IP core easy to use and learn.

– Not big requirements in terms of area and clock.

– Fastest configuration, 1Mbps, running even in ATF280

– Possible upgrade in clocks? Increase of system clock speed.

Nowadays worst case is ATF280, in the future ATF450?

– Stable design, well documented. Lack of info about ATMEL FPGA.

– Complement to higher levels of CAN stack, next ESA CCIPC IP.

HurriCANe HurriCANe ConclusionsConclusions

-56-

Page 57: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

– IP core versatile and powerful.

– Not easy to use and configure.

– Lack of some examples of configuration.

– Some status signals in the IP core could be replaced for debug.

– Not big requirements in terms of area. Tricky P&R for the clock recovery.

– Not yet working with ATMEL .

SpW Codec SpW Codec ConclusionsConclusions

-57-

Page 58: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Atmel on the good path.

ATF280 still valid for some designs.

Improvements on the tools would give more usability.

More work need to be done.

Atmel Users Group Forum needs to be stimulated and updated.

Global ConclusionsGlobal Conclusions

-58-

Page 59: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

QUESTIONS?

THANKS FOR YOUR THANKS FOR YOUR TIMETIME

-59-

Page 60: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

YOUR TIME

Page 61: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

YOUR TIME

Page 62: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Down Counter; AREA Precision Vs IDS

MENTOR

PRECISION

ATMEL

IDS

MENTOR

PRECISIONSimilar Results

Down Counter AreaDown Counter Area

Page 63: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Down Counter; TIMING Precision Vs IDS

MENTOR

PRECISION

ATMEL

IDS

Not SoAccurate

Correlation

Down Counter TimingDown Counter Timing

Page 64: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Down Counter; AREA and TIMING VHDL Vs IDS Hard Macros

VHDL

HARD MACROSVHDL HARD

MACROS

HardMacros perform much better

Down Counter MacrosDown Counter Macros

Page 65: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

CAN-UART IDS FigaroCAN-UART IDS Figaro

Page 66: Assessment and debugging of ATMEL ATF280 Development kit and suitability for ESA IP cores Javier Galindo TEC-EDM 27/09/2011

Registered OutputsRegistered Outputs