(CE 290I   226 Teja tutorial   (2  ))
33 Pages
English
Downloading requires you to have access to the YouScribe library
Learn all about the services we offer

(CE 290I 226 Teja tutorial (2 ))

-

Downloading requires you to have access to the YouScribe library
Learn all about the services we offer
33 Pages
English

Description

CE 290I – Teja tutorialMarco Zennaro(zennaro@path.berkeley.edu)Important noteThis PowerPoint presentation was created to support a tutorial I have given in class. It is NOT intended to be a tutorial in itself…Please contact the author for any question on the content of this presentation.Thanks, Marco ZennaroCE 290 I Teja tutorial, © Marco Zennaro, 2004Part 2 – Writing your first simple applicationMarco Zennaro(zennaro@path.berkeley.edu)Content of this tutorialIn the previous section we saw:• How to install Teja;In this section we focus on:• References/ documentation;• Teja design flow;• How to write a simple application;CE 290 I Teja tutorial, © Marco Zennaro, 2004ReferencesDocumentation:– Provided with the installation CD;– http://www.teja.com/library/index.htmlInteractive tutorials:– Provided with the installation CD;Sample code:– Provided with the CD (complex examples)– http://teja.zennaro.net (simple examples)CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to Teja• A Teja system is defined as a group of intercommunicating components;We will focus for now on this simple example: a light system.We want a room with many lamps and two switches. We want the switches to turn on/off ALL the lamps together;CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to TejaCE 290 I Teja tutorial, © Marco Zennaro, 2004Teja design flowHow we model such a system using Teja?1) We need to describe of “a generic ...

Subjects

Informations

Published by
Reads 17
Language English

Exrait

CE 290I – Teja tutorial
Marco Zennaro
(zennaro@path.berkeley.edu)Important note
This PowerPoint presentation was created
to support a tutorial I have given in class. It
is NOT intended to be a tutorial in itself…
Please contact the author for any question
on the content of this presentation.
Thanks,
Marco Zennaro
CE 290 I Teja tutorial, © Marco Zennaro, 2004Part 2 – Writing your first
simple application
Marco Zennaro
(zennaro@path.berkeley.edu)Content of this tutorial
In the previous section we saw:
• How to install Teja;
In this section we focus on:
• References/ documentation;
• Teja design flow;
• How to write a simple application;
CE 290 I Teja tutorial, © Marco Zennaro, 2004References
Documentation:
– Provided with the installation CD;
– http://www.teja.com/library/index.html
Interactive tutorials:
– Provided with the installation CD;
Sample code:
– Provided with the CD (complex examples)
– http://teja.zennaro.net (simple examples)
CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to Teja
• A Teja system is defined as a group of
intercommunicating components;
We will focus for now on this simple
example: a light system.
We want a room with many lamps and two
switches. We want the switches to turn
on/off ALL the lamps together;
CE 290 I Teja tutorial, © Marco Zennaro, 2004The world according to Teja
CE 290 I Teja tutorial, © Marco Zennaro, 2004Teja design flow
How we model such a system using Teja?
1) We need to describe of “a generic lamp”
and of “a generic switch”;
2) Than we create a design of our system
(with many “real” lamps and “real”
switches);
[…]
CE 290 I Teja tutorial, © Marco Zennaro, 2004Teja design flow
[…]
3) Then which machines are we planning to
use and what are they (e.g. three Intel
laptops and one Sun workstation);
4) Then we map the design subsystems on
the machines;
5) Last we compile everything and run it;
CE 290 I Teja tutorial, © Marco Zennaro, 2004Teja design flow
SW library design
SW architecture
HW architecture
design
HW mapping
Build and debug
CE 290 I Teja tutorial, © Marco Zennaro, 2004