88 lines
2.5 KiB
HTML
88 lines
2.5 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>affect_fix</TITLE>
|
|
<META NAME="description" CONTENT="affect_fix">
|
|
<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="node12.html">
|
|
<LINK REL="previous" HREF="node10.html">
|
|
<LINK REL="up" HREF="node5.html">
|
|
<LINK REL="next" HREF="node12.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="node10.html">affect_int</A></td>
|
|
<td class="navigation" align="center" width="34%"><A HREF="node5.html">Methods</A></td>
|
|
<td class="navigation" align="right" width="33%"><A HREF="node12.html">affect_any</A></td>
|
|
|
|
</tr></table>
|
|
<hr>
|
|
<br>
|
|
</DIV>
|
|
<!--End of Navigation Panel-->
|
|
<!--Table of Child-Links-->
|
|
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
|
|
|
|
<UL CLASS="ChildLinks">
|
|
<LI><A NAME="tex2html150"
|
|
HREF="node11.html#SECTION00036100000000000000">Parameters</A>
|
|
</UL>
|
|
<!--End of Table of Child-Links-->
|
|
<HR>
|
|
|
|
<H2><A NAME="SECTION00036000000000000000"></A>
|
|
<A NAME="affect_fix"></A>
|
|
<BR>
|
|
affect_fix
|
|
</H2>
|
|
Affect a fixed point value to a connector. Convert the floating point input
|
|
value to the corresponding fixed point value with
|
|
word_length=connector.arity() and integer_word_length=iwl. If the connector
|
|
is an output, the binary value is preceded by "?".
|
|
|
|
<P>
|
|
|
|
<H3><A NAME="SECTION00036100000000000000">
|
|
Parameters</A>
|
|
</H3>
|
|
|
|
<UL>
|
|
<LI>connector : <SPAN CLASS="textit">Stratus</SPAN> connector.
|
|
</LI>
|
|
<LI>value : floating point value to convert and asign to connector.
|
|
</LI>
|
|
<LI>iwl : integer word length
|
|
</LI>
|
|
</UL>
|
|
|
|
<P>
|
|
<BR> <HR>
|
|
<ADDRESS>
|
|
Sophie B<small>ELLOEIL</small><br>20051116.1
|
|
</ADDRESS>
|
|
</BODY>
|
|
</HTML>
|