Professional Documents
Culture Documents
DVCon Europe 2015 T04 Presentation
DVCon Europe 2015 T04 Presentation
DVCon Europe 2015 T04 Presentation
power
consumption
model in a high-
level language Functional spec. and research
(usually in
С/С++, SDL) Spec. improvement Logical deisgn Translation of the executable
Choose of technology
project specification to the
and library register level (in
Verification
Verilog/VHDL) and further at
Behavioral level modelling
the gate level
Testing Logical
Verification of synthesis
the design
decisions on This stage begins from the
conformity to selection of technological
Physical and library basis and it is
the specification
and other verifcation completed when everything
requirements
Physical design is ready for the final product
production
SUCCESS
Physical design
FAIL Implementation
Analysis
FAIL
requirements should be
held in confidence, e.g. in
SUCCESS
Create a draft questionnaire for the customer in accordance with possible functionality for the
developed protocol
Do not ask the questions on which the customer cannot know the answer
Do not ask “how” or “what do you need”, but “do you need THIS or THAT”
Ask more questions to be sure that the customer understands your questions and his answers.
1992 by ITU-T
channel_1 r1
signal_1 signal_1
channel_3
communicating systems
Block2
signal_4 Process2
– Graphical (SDL-GR)
channel_2
– Textual (SDL-PR)
• Application fields: Pr1 Pr1
– protocols signal_1
(N_CCreq), N_CFG_SAP
(N_CFGind)
N_DATA_SAP
(N_DATAind)
SDL
(N_CCrsp)
Access Point block type (N_CCcnf) (N_CCind) (N_CFGind)
(N_CFGreq)
N_WriteN_Char.cnf
(N_DATAreq)
N_ReadN_Char.ind
specification of
SpW_Node
the SpaceWire
N_CC_SAP_tx N_CC_SAP_rx N_CFG_SAP N_DATA_SAP_tx N_DATA_SAP_rx protocol stack
(N_CCreq) (N_CCrsp) (N_CFGreq) N_WriteN_Char.req N_ReadN_Char.rsp
NL: Network_Layer_Node
(C_CFG_TX ),
C_SendChar.req (C_CFG_RX) C_RcvChar.rsp
CL : Character_Layer
S_DATA_SAP S_CFG_SAP
(S_DATAind) S_LinkError.ind
S_DATA_SAP S_CFG_SAP
Access Point
(S_DATAind) S_LinkError.ind
S_DATA_SAP
© Accellera Systems Initiative (S_DATAreq)
14 S_CFG_SAP
Modeling, Verification,
Performance Analysis
Basic approaches
• Protocol stack modeling;
• Network modeling.
Interface Interface
Layer 3 Layer 3
Interface Interface
Layer 2 Layer 2
Device 1 Router Device 3 Interface Interface
Layer 1 Layer 1
Goals: Goals:
• check the data transmission • check the presence of errors in specification
• check the routing correctness • check the packets generation
Benefits: • check all internal mechanisms
• The real interest represents here the Benefits:
mechanisms of devices communications in
the network which is the key issue for the • The set of modules breaks into the layers
performance analysis forming hierarchy;
• Every layer communicates only with directly
We cannot consider: adjoining layers.
• the protocol layers
• the interaction between protocol layers We cannot consider:
• the forming of packets • Interaction of devices in a network
• device’s operation with applications
Protocol stack
modeling:
Development of
Errors,
Specification SDL, SystemC, C++
Formal
inconsistencies Update
Specification
Formal spec
Modeling and
Verification Errors Two approaches
SUCCESS
Performance Errors
Analysis
Network modeling:
FAIL SUCCESS
SystemC
Implementation
SDL,
requirements
network model
SUCCESS
FAIL Implementation
Test Engine
Virtual Channel
BL_SAP
Broadcast
modeling and validation on per layer basis.
ML
SAP Layer Layer
FL_SAP FL_SAP
Management Layer
RL_SAP
specification.
LCL_SAP
ML
SAP Lane Control Layer
ML
SAP Lane Layer
ML
SAP Encoding Layer
SERDES
SAP
Architecture
Hardware/Software
Behavior
Application
SystemC
of modeling Functional Vera
in protocol Verification
e
design flow Testbench System PSL
Verilog
RTL Verilog VHDL
Gates
Transistors
24
Modeling of Networks N0
link
• Configuration parameters:
N5 N6 N7 N8 N9 N10 N4
N4 N11
N2
N1
N13
N14
– number of nodes and switches,
N0 N0
switch,
N2 N2
Switch
Switch
N3 N3
N4 N4
– number of ports in the switch, etc.
N0 Switch N7
Test Engine
SAP
SAP
Layer 4
specification itself;
SAP SAP
SAP
Signal Level L3_L4 Interlayer
Management Layer
SAP
Bit Error Layer 3
Character Level
specification;
SAP
Additional Nchar L2_L3 Interlayer
Exchange Level
Nchar, Connecti SAP
Mng
Nchar, ccode EOP ccode on state
SAP
EOP Layer 2
Packet Level
SAP SAP
in production;
Packet
SAP
(header + data) L1_L2 Interlayer
SAP
Packet
Layer 1
Packet
products for
(data+
(data)
Dest.ID) Tester
Node #1
Transport Transport
• access not to the whole SDL model only
but also to certain layers of stack Network Network
through appropriate Intermediate
SDL
SDL
Blocks Data Link Data Link
• getting all necessary test results by LOW SAPs LOW SAPs
– use SystemC for creation of complex test sequences SDL part of Tester
SystemC
Test Engine
Node0 Node1
SDL/SystemC
Node0
Node1
Modeling Core
Node0 Node1
Medium
SystemC
Tp Tp IB_N
Transport Layer (L4) Transport Layer (L4)
Np Np
Nu Nu
Nu Nu
IB_N
N
IB_N
N
Np
SDL/SystemC Wrapper
Np Np Network Layer (L3)
Network Layer (L3) Network Layer (L3) Du
Du Du IB_D
Dp Dp
SDL model IB_D D
D
IB_D
D
Dp Dp Du Du
Data Link Layer (L2) Data Link Layer (L2) Dp
Pu Pu Data Link Layer (L2)
IB_P Pu
P
IB_P
P
IB_P
Pp Pp
Pp Pp
Physical Layer (L1) Physical Layer (L1)
Mu Mu Pu Pu
SDL
Node0
Medium
M M
IB_M IB_M
M M - module implemented in SystemC
L1 Channel
Mp
Mp
set of
Pp L2 Channel channels
Pp
Control implementing
L3 Channel block a particular
Dp
Dp
data transfer
protocol
L4 Channel
Np
Np
introduction of
logs
delay
error injection
HW/SW Tester
User
Interface
reference
Test cases
implementation
of the tested
protocol C++ reference
Device Under Test
Error Generator
HW Driver
module for testing
non-nominal cases
Hardware
2
using “if… generate” Block7 Block2 Block5
AXI bridge