• No results found

A Methodology and the Tool for Testing SpaceWire Routing Switches Session: SpaceWire test and verification

N/A
N/A
Protected

Academic year: 2021

Share "A Methodology and the Tool for Testing SpaceWire Routing Switches Session: SpaceWire test and verification"

Copied!
13
0
0

Loading.... (view fulltext now)

Full text

(1)

A Methodology and the Tool

for Testing SpaceWire

Routing Switches

Session: SpaceWire test and verification

Elena Suvorova

Saint-Petersburg University of Aerospace

Instrumentation. 67, B. Morskaya,

Saint-Petersburg, Russia

(2)

Requirements to tool for testing

SpaceWire Routing Switches

• Could be used for verification of different

switches (with different ports number, with

different configuration scheme, different

program-assessable components)

• Could be used for system level, RTL level,

post-synthesis level switch models

• Could be used for verification single switches,

single switches in network and whole network

• Allow validation of multicasting and adaptive

routing functions

• Easy for using

(3)

Verification methodology

• Division stage of giving input test vectors and fixing result outputs

values from result verification stage. This division need because

correct sequence of packets to one terminal node from different

terminal nodes may be different (it is not possible to predict it), and

because through adaptive group routing packet that send to one

terminal node from group could be received by other terminal node

from this group.

• Including special information in packet payload (for generation

unique packet identifier). This mechanism allow easy examination

packet transmission correctness not only for one switch but for

whole network. Packet identifier structure look like RMAP packet

format but is more compact that allow shorter packet payload length.

(It is important because some switching failures are found only for

short packets and not in all cases RMAP is used )

(4)

Test Shell SystemC Shell

Suggested Test shell as verification tool

Test shell includes:

Test shell includes:

-Data switch models (SystemC, VHDL, Verilog)

-Terminal nodes models (SystemC) -Interconnection lines

-Coordination and monitoring block (SystemC)

Shell main file (SystemC) – perform

component’s generation and

interconnection topology construction accordingly configuration files

configuration files:

configuration files:

Includes user defined parameters

This Test Shell orient to Cadence simulation tools

This Test Shell orient to Cadence simulation tools

(ncSim, Simvision: IUS5.1

(ncSim, Simvision: IUS5.1 –– 5.7 design flow)

5.7 design flow)

Terminal node (systemC) Terminal node (systemC) Data switch RTL or netlist (VHDL, Verilog) Signal level interface Signal level interface Coordination and monitoring block generator monitor

(5)

Test shell main features

Test shell main features

• Allow validation of multicasting and

adaptive routing functions

• Could be used for single switches

(number

of ports is user defined)

or for switch based

networks

(number of switches and topology are

user defined)

• Could include System Level (SystemC),

RTL or post-Synthesys Level (VHDL,

Verilog) switch models

• Automatically configurable based on user

defined parameters

(6)

Test shell(systemC)

Unit Under Test

Test shell examples (System Level)

Data switch (systemC) Data switch (systemC) Data switch (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Coordination and monitoring block Test shell(systemC)

Unit Under Test

Data switch (systemC) Other data switch (systemC) Data switch (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Terminal node (systemC) Coordination and monitoring block Interconnections to all terminal nodes and data switches

For whole network

For whole network

verification

verification

For one switch in

For one switch in

network verification

network verification

(7)

Test shell work process stages

The initial stage Controlled by coordination and monitoring block

initial settings for switch models and terminal nodes models

The data packet transmission stage

Controlled by terminal nodes

The duration assigned as absolute value or user assign number of

transmitted packets

The global data packet control and collects

statistics

Controlled by coordination and monitoring block

Final Packet transmission correctness checking

(8)

Examples of verification aspects

• packet header must be excluded from the

packet or not excluded according routing

table settings

• packet contents and end-of-packet symbol

must follow without changes

• The set of ports, which received this

packet, must correspond to its address

and adaptive routing settings

(9)

Data packet control description

Terminal node i

generator

monitor

Generator log file i includes all

packets, send by this terminal node

Monitor log file i

includes all packets, received by this

terminal node

Routing tables (one for every switch)

Sets of values of adaptive group registers (one for every switch)

Coordination and monitoring block:

for every packet in every generator log file:

1. definition the set of destination terminal nodes (based on header and routing tables)

2. definition of alternative set of destination nodes (based on adaptive group registers)

(10)

Test packet format

EOP/

EEP

Payload

Header

Special information Special information Header

_id Deleted part of header if is Source ID packet number

This information is added into packet by terminal node generator and

used by coordination and monitoring block during The global data packet control stage

Used for header reconstruction

Using of special information allow minimization of

comparison operations during data packet control stage

(11)

Generator log file

Checking of monitoring log files from selected set of destination

nodes

monitor log file Header EOP/ EEP Payload Special information Payload Header EOP/ EEP Payload Special information Payload EOP/ EEP Payload Special information Payload or

Coordination and monitoring block: 1. packet identifier generation

2. looking for the packet identifier in monitor log files

The packet identifier includes a part of header that should be received (if is) and special information). It is unique. (Identifiers for all generated by all terminal nodes packets are different)

(12)

Performance Evaluation

• Choice of effective arbitration method

• Choice of effective buffering scheme

• Choice of a ratio between the switch fabric

data channel throughput and the port

throughput

(13)

References

Related documents

Popp, “Detection and characterization of atherosclerotic plaques by Raman probe spectroscopy and optical coherence tomography (conference presentation)”, Proceedings

The current research describes the adaptation of an informant-rating instrument (the Extreme Demand Avoid- ance Questionnaire; O’Nions et al. 2014b ; EDA-Q) for use as a

 an increase in the area occupied by the buildings took place at the expense of grasslands, land used for agriculture and wasteland, wetlands and marshy lands

Cause-effect chains leading from the inventory to the areas of protection human health, ecosystem quality and resources (adapted from Bayart et al.. Scope of and relationship among

Care Health Plan Medicare Advantage network providers in your area, you can visit www.lacare.org or call our Member Services Department at 1-888-522-1298, 24 hours a day, 7 days

A synthetic jet flow which has a wide range of flow field features including high velocity gradients and regions of high vorticity was used as a rigorous test bed to determine

Once La Salle Place and College Court were dedicated and ready for occupancy, one black citizen expressed his gratitude for College Court and said the government’s work “gives

Our peak zonal wind acceleration values due to Kelvin waves are about 0.15–0.20 m/s/day at the equator and somewhat lower if averaged over the latitude band 10 ◦ S–10 ◦ N for