coriolis/stratus1/doc/patterns/latex/patterns/node2.html

87 lines
2.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--Converted with LaTeX2HTML 2012 (1.2)
original version by: Nikos Drakos, CBLU, University of Leeds
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>Syntax</TITLE>
<META NAME="description" CONTENT="Syntax">
<META NAME="keywords" CONTENT="patterns">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="LaTeX2HTML v2012">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<LINK REL="STYLESHEET" HREF="SoC.css">
<LINK REL="next" HREF="node5.html">
<LINK REL="previous" HREF="node1.html">
<LINK REL="up" HREF="patterns.html">
<LINK REL="next" HREF="node3.html">
</HEAD>
<BODY >
<DIV CLASS="navigation">
<table align="center" width="100%" cellpadding="0" cellspacing="2">
<tr><td class="navigation" align="left" width="33%"><B>Previous</B></td>
<td class="navigation" align="center" width="34%"><B>Up</B></td>
<td class="navigation" align="right" width="33%"><B>Next</B></td>
</tr><tr>
<td class="navigation" align="left" width="33%"><A HREF="node1.html">Description</A></td>
<td class="navigation" align="center" width="34%"><A HREF="patterns.html">Patterns Module User's Manual</A></td>
<td class="navigation" align="right" width="33%"><A HREF="node3.html">Declaration part</A></td>
</tr></table>
<hr>
<br>
</DIV>
<!--End of Navigation Panel-->
<H1><A NAME="SECTION00020000000000000000">
Syntax</A>
</H1>
From a user point of view, <code>Pattern</code> method is a pattern description
language using all standard <SPAN CLASS="textit">Python</SPAN> facilities. Here follows the
description of the <code>Pattern</code> method.
<BR>
A pat format file can be divided in two parts : declaration and description
part.
<BR>
The declaration part is the list of inputs, outputs, internal signals and
registers. Inputs are to be forced to a certain value and all the others are
to be observed during simulation.
<BR>
The description part is a set of patterns, where each pattern defines the value
of inputs and outputs. The pattern number represents actually the absolute time
for the simulator.
<BR>
Similarly, a <code>Pattern</code> method can be divided in two parts : declaration
and description part. Methods related to the declaration must be called
before any function related to the description part.
<P>
<BR> <HR>
<!--Table of Child-Links-->
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
<UL CLASS="ChildLinks">
<LI><A NAME="tex2html40"
HREF="node3.html">Declaration part</A>
<LI><A NAME="tex2html41"
HREF="node4.html">Description part</A>
</UL>
<!--End of Table of Child-Links-->
<BR> <HR>
<ADDRESS>
Sophie B<small>ELLOEIL</small><br>20051116.1
</ADDRESS>
</BODY>
</HTML>