6 Verification of Protocol Using SDT - PowerPoint PPT Presentation

1 / 18
About This Presentation
Title:

6 Verification of Protocol Using SDT

Description:

Data and Ack signals pass on this block before arriving at Transmitter of Receiver Block. ... Block should drop Xth Data and Yth ACK. 16. Prelab: Example ... – PowerPoint PPT presentation

Number of Views:32
Avg rating:3.0/5.0
Slides: 19
Provided by: yeop
Category:

less

Transcript and Presenter's Notes

Title: 6 Verification of Protocol Using SDT


1
?? 6 Verification of ProtocolUsing SDT
TE523/EE525 ????????
  • SeYoung Yun
  • syyun_at_comis.kaist.ac.kr

2
Contents
01 Specification and Description Language
(SDL) 02 Point-to-Point Protocol (PPP) 03
Prelab 04 Mainlab
3
Specification and Description Language (SDL)
Overview
  • International standard by ITU-T
  • Characteristics of SDL
  • Object-oriented language
  • Message based description
  • Complete operational semantics and execution
    model
  • Independent of implementation language
  • Systems can be realized in both software and
    hardware
  • Graphical and textual representation
  • SDL-PR (Phrasal Representation) textual syntax
    only
  • SDL-GR (Graphical Representation) graphical
    component textual part
  • SDL is based on FSM (Final State Machine), and
    each State is defined to receive and transmit
    signals at any time.

4
SDL Basic components
  • Main hierarchical components
  • System
  • Block
  • Process
  • Procedure
  • Signal and channel
  • Complete specification
  • A system must have at least a block specification
  • Pre-defined types are to be defined at system
    level

5
SDL Basic configuration
  • Basic configuration

6
SDL Data-types (1/2)
  • Pre-defined Data Type
  • Integer, Real, Boolean, Character, Charstring,
    Time, Duration, etc.
  • Declaration of variables
  • dcl ltvar namegt type ltexpressiongt
  • Examples
  • dcl x1, x2 Integer
  • dcl bt Booleantrue
  • dcl str CharstringThis is string

7
SDL Data-types (2/2)
  • Structure
  • User-defined data type
  • newtype Person struct
  • nm Charstring
  • nr Integer
  • fm Boolean
  • endnewtype Person
  • ANY( )
  • Returns any value of specified data type.
  • anyInteger ANY(Integer)
  • Timer
  • Timer x
  • SET(x) start, RESET(x) stop

8
SDL SDL Design Tool (SDT)
  • Real-time software development tool
  • Based on Object-oriented design language SDL
    Trace language MSC
  • Components
  • Code generator
  • Graphical editor
  • Syntax analyzer
  • Simulator with MSC
  • Optimized code generators

9
Point-to-Point Protocol (PPP)
  • PPP
  • PPP is communication protocol for using direct
    interface
  • In general used in WAN, particularly used by PC
    to connect to sever via telephone line

10
Point-to-Point Protocol (PPP)
  • PPP frame format

11
PPP Link Control Protocol (LCP)
  • LCP 4 steps
  • First, LCP open connection and negotiate
    configuration parameters
  • Second, LCP decide optional link condition. In
    this step, check that link condition is enough to
    send network layer protocol.
  • Third, NCP negotiate Network-layer protocol
    configuration.
  • Fourth, Link closed
  • By user request or physical problem

12
PPP Link Control Protocol (LCP)
  • Events and Actions

13
PPP Link Control Protocol (LCP)
  • State transition table

14
PPP Link Control Protocol (LCP)
  • Code of LCP packets
  • Configure-Request, Configure-Ack, Configure-Nack,
    Configure-Reject, Terminate-Request,
    Terminate-Ack
  • Option field in Configure-Request LCP Packet

15
Prelab
  • Explain the reason that data link protocol uses
    timers and the problem generated when data link
    protocol only uses timers. And propose new method
    to solve this problem.
  • Copy example program file, basic, in your
    license folder and simulate using SDT. Add next
    operations. And simulate your new program and
    submit the results and MSC files.
  • Make Channel Block between Transmitter and
    Receiver Blocks. Data and Ack signals pass on
    this block before arriving at Transmitter of
    Receiver Block.
  • Make control signal by using Channel Block.
  • Data to be dropped Xth Data that pass on this
    Block will be dropped
  • ACK to be dropped Yth Data that pass on this
    Block will be dropped
  • Input control signal like the form of (X,Y).
  • By using control signal, Channel Block should
    drop Xth Data and Yth ACK.

16
Prelab Example
  • Example

17
MainLab
  • Validate verify the simplified LCP (Link
    Control Protocol) in PPP as followed. Include
    these factors at least.
  • Process of link connection and disconnection
    between two peers.
  • State transitions of the automaton in LCP layer
  • Exchange of LCP packets between two peers
  • Option of data field in Configure-Request
    packet
  • 110 Config. Ack
  • 1020 Config. Nack with option 1
  • 2030 Config. Reject with transmitted option
    value
  • Transmitter reduce the option value by one and
    retransmit Configure-Request Packet
  • Identifier and Length field are not necessary.

18
Notice
  • account
  • Server ctep-serv.kaist.ac.kr
  • ID group0 (0112)
  • Passwd group0 (01-12, change your password)
  • SDT execution sdt
Write a Comment
User Comments (0)
About PowerShow.com