Sample application, Configuration file, 5 sample – Sundance SMT401 User Manual

Page 17: Application, Onfiguration, 5 sample application

Advertising
background image

Released

Page 17 of 21

SMT401 PMC TIM Carrier User Guide

Document Name:

SMT401 User Guide V1.2.doc

Issue : 02

Rev.: 1.11

5 Sample Application

This chapter presents a sample application, to be run on one Alpha and an
attached C40, which performs case reversal on its text input. Although trivial,
it illustrates the main features of a mixed network application using the
SMT401 in attached processor mode. This section does not, explain how to
perform PCI transfers via the global bus; refer to the document "SMT401
Programming Information" described in chapter 5 of this manual.

The application is split into two tasks. The first, running on the Alpha, is the
front-end. The other runs on the attached C40 processor, and performs the
actual case reversal. The application can be represented thus:

0

0

0

driver

task

caserev

task

0

Alpha

C40

Figure 1: The Case Reversal Application

5.1 Configuration

File

The configuration file describes the (minimum) physical network required by
the application and the logical connections between tasks, along with
information such as the memory requirements of each task.

PROCESSOR root TYPE=axp LINKS=5

PROCESSOR node TYPE=c40 LINKS=6 KERNEL="tim40.krn"

! The comm-port interface on SMT401

WIRE ? root[4] node[3]

TASK driver INS=1 OUTS=1 DATA=10K

TASK caserev INS=1 OUTS=1 DATA=10K

PLACE driver root

PLACE caserev node

CONNECT driver[0] caserev[0]

CONNECT caserev[0] driver[0]

Product Name:

SMT401

Revision Date:

07 December 2004

Author:

Mark I. Cartlidge (Updated by SM, added JTAG slave section)

Original Date:

12 May 1999

Advertising