Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / html / python / lib / al-config-objects.html
CommitLineData
86530b38
AT
1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html>
3<head>
4<link rel="STYLESHEET" href="lib.css" type='text/css' />
5<link rel="SHORTCUT ICON" href="../icons/pyfav.png" type="image/png" />
6<link rel='start' href='../index.html' title='Python Documentation Index' />
7<link rel="first" href="lib.html" title='Python Library Reference' />
8<link rel='contents' href='contents.html' title="Contents" />
9<link rel='index' href='genindex.html' title='Index' />
10<link rel='last' href='about.html' title='About this document...' />
11<link rel='help' href='about.html' title='About this document...' />
12<link rel="next" href="al-port-objects.html" />
13<link rel="prev" href="module-al.html" />
14<link rel="parent" href="module-al.html" />
15<link rel="next" href="al-port-objects.html" />
16<meta name='aesop' content='information' />
17<title>20.1.1 Configuration Objects </title>
18</head>
19<body>
20<DIV CLASS="navigation">
21<div id='top-navigation-panel' xml:id='top-navigation-panel'>
22<table align="center" width="100%" cellpadding="0" cellspacing="2">
23<tr>
24<td class='online-navigation'><a rel="prev" title="20.1 al "
25 href="module-al.html"><img src='../icons/previous.png'
26 border='0' height='32' alt='Previous Page' width='32' /></A></td>
27<td class='online-navigation'><a rel="parent" title="20.1 al "
28 href="module-al.html"><img src='../icons/up.png'
29 border='0' height='32' alt='Up One Level' width='32' /></A></td>
30<td class='online-navigation'><a rel="next" title="20.1.2 Port Objects"
31 href="al-port-objects.html"><img src='../icons/next.png'
32 border='0' height='32' alt='Next Page' width='32' /></A></td>
33<td align="center" width="100%">Python Library Reference</td>
34<td class='online-navigation'><a rel="contents" title="Table of Contents"
35 href="contents.html"><img src='../icons/contents.png'
36 border='0' height='32' alt='Contents' width='32' /></A></td>
37<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
38 border='0' height='32' alt='Module Index' width='32' /></a></td>
39<td class='online-navigation'><a rel="index" title="Index"
40 href="genindex.html"><img src='../icons/index.png'
41 border='0' height='32' alt='Index' width='32' /></A></td>
42</tr></table>
43<div class='online-navigation'>
44<b class="navlabel">Previous:</b>
45<a class="sectref" rel="prev" href="module-al.html">20.1 al </A>
46<b class="navlabel">Up:</b>
47<a class="sectref" rel="parent" href="module-al.html">20.1 al </A>
48<b class="navlabel">Next:</b>
49<a class="sectref" rel="next" href="al-port-objects.html">20.1.2 Port Objects</A>
50</div>
51<hr /></div>
52</DIV>
53<!--End of Navigation Panel-->
54
55<H2><A NAME="SECTION0022110000000000000000"></A><A NAME="al-config-objects"></A>
56<BR>
5720.1.1 Configuration Objects
58</H2>
59
60<P>
61Configuration objects returned by <tt class="function">newconfig()</tt> have the
62following methods:
63
64<P>
65<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
66 <td><nobr><b><tt id='l2h-5044' xml:id='l2h-5044' class="method">getqueuesize</tt></b>(</nobr></td>
67 <td><var></var>)</td></tr></table></dt>
68<dd>
69Return the queue size.
70</dl>
71
72<P>
73<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
74 <td><nobr><b><tt id='l2h-5045' xml:id='l2h-5045' class="method">setqueuesize</tt></b>(</nobr></td>
75 <td><var>size</var>)</td></tr></table></dt>
76<dd>
77Set the queue size.
78</dl>
79
80<P>
81<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
82 <td><nobr><b><tt id='l2h-5046' xml:id='l2h-5046' class="method">getwidth</tt></b>(</nobr></td>
83 <td><var></var>)</td></tr></table></dt>
84<dd>
85Get the sample width.
86</dl>
87
88<P>
89<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
90 <td><nobr><b><tt id='l2h-5047' xml:id='l2h-5047' class="method">setwidth</tt></b>(</nobr></td>
91 <td><var>width</var>)</td></tr></table></dt>
92<dd>
93Set the sample width.
94</dl>
95
96<P>
97<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
98 <td><nobr><b><tt id='l2h-5048' xml:id='l2h-5048' class="method">getchannels</tt></b>(</nobr></td>
99 <td><var></var>)</td></tr></table></dt>
100<dd>
101Get the channel count.
102</dl>
103
104<P>
105<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
106 <td><nobr><b><tt id='l2h-5049' xml:id='l2h-5049' class="method">setchannels</tt></b>(</nobr></td>
107 <td><var>nchannels</var>)</td></tr></table></dt>
108<dd>
109Set the channel count.
110</dl>
111
112<P>
113<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
114 <td><nobr><b><tt id='l2h-5050' xml:id='l2h-5050' class="method">getsampfmt</tt></b>(</nobr></td>
115 <td><var></var>)</td></tr></table></dt>
116<dd>
117Get the sample format.
118</dl>
119
120<P>
121<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
122 <td><nobr><b><tt id='l2h-5051' xml:id='l2h-5051' class="method">setsampfmt</tt></b>(</nobr></td>
123 <td><var>sampfmt</var>)</td></tr></table></dt>
124<dd>
125Set the sample format.
126</dl>
127
128<P>
129<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
130 <td><nobr><b><tt id='l2h-5052' xml:id='l2h-5052' class="method">getfloatmax</tt></b>(</nobr></td>
131 <td><var></var>)</td></tr></table></dt>
132<dd>
133Get the maximum value for floating sample formats.
134</dl>
135
136<P>
137<dl><dt><table cellpadding="0" cellspacing="0"><tr valign="baseline">
138 <td><nobr><b><tt id='l2h-5053' xml:id='l2h-5053' class="method">setfloatmax</tt></b>(</nobr></td>
139 <td><var>floatmax</var>)</td></tr></table></dt>
140<dd>
141Set the maximum value for floating sample formats.
142</dl>
143
144<P>
145
146<DIV CLASS="navigation">
147<div class='online-navigation'>
148<p></p><hr />
149<table align="center" width="100%" cellpadding="0" cellspacing="2">
150<tr>
151<td class='online-navigation'><a rel="prev" title="20.1 al "
152 href="module-al.html"><img src='../icons/previous.png'
153 border='0' height='32' alt='Previous Page' width='32' /></A></td>
154<td class='online-navigation'><a rel="parent" title="20.1 al "
155 href="module-al.html"><img src='../icons/up.png'
156 border='0' height='32' alt='Up One Level' width='32' /></A></td>
157<td class='online-navigation'><a rel="next" title="20.1.2 Port Objects"
158 href="al-port-objects.html"><img src='../icons/next.png'
159 border='0' height='32' alt='Next Page' width='32' /></A></td>
160<td align="center" width="100%">Python Library Reference</td>
161<td class='online-navigation'><a rel="contents" title="Table of Contents"
162 href="contents.html"><img src='../icons/contents.png'
163 border='0' height='32' alt='Contents' width='32' /></A></td>
164<td class='online-navigation'><a href="modindex.html" title="Module Index"><img src='../icons/modules.png'
165 border='0' height='32' alt='Module Index' width='32' /></a></td>
166<td class='online-navigation'><a rel="index" title="Index"
167 href="genindex.html"><img src='../icons/index.png'
168 border='0' height='32' alt='Index' width='32' /></A></td>
169</tr></table>
170<div class='online-navigation'>
171<b class="navlabel">Previous:</b>
172<a class="sectref" rel="prev" href="module-al.html">20.1 al </A>
173<b class="navlabel">Up:</b>
174<a class="sectref" rel="parent" href="module-al.html">20.1 al </A>
175<b class="navlabel">Next:</b>
176<a class="sectref" rel="next" href="al-port-objects.html">20.1.2 Port Objects</A>
177</div>
178</div>
179<hr />
180<span class="release-info">Release 2.4.2, documentation updated on 28 September 2005.</span>
181</DIV>
182<!--End of Navigation Panel-->
183<ADDRESS>
184See <i><a href="about.html">About this document...</a></i> for information on suggesting changes.
185</ADDRESS>
186</BODY>
187</HTML>