OpenCores
URL https://opencores.org/ocsvn/nocmodel/nocmodel/trunk

Subversion Repositories nocmodel

[/] [nocmodel/] [trunk/] [doc/] [nocmodel.basicmodels.basic_channel.html] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dargor
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3
<html><head><title>Python: module nocmodel.basicmodels.basic_channel</title>
4
</head><body bgcolor="#f0f0f8">
5
 
6
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7
<tr bgcolor="#7799ee">
8
<td valign=bottom>&nbsp;<br>
9
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="nocmodel.html"><font color="#ffffff">nocmodel</font></a>.<a href="nocmodel.basicmodels.html"><font color="#ffffff">basicmodels</font></a>.basic_channel</strong></big></big></font></td
10
><td align=right valign=bottom
11
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oscard/Documentos/proyectos/nocmodel-0.1/nocmodel/basicmodels/basic_channel.py">/home/oscard/Documentos/proyectos/nocmodel-0.1/nocmodel/basicmodels/basic_channel.py</a></font></td></tr></table>
12
    <p><tt>Basic&nbsp;channel&nbsp;TLM&nbsp;model</tt></p>
13
<p>
14
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
15
<tr bgcolor="#aa55cc">
16
<td colspan=3 valign=bottom>&nbsp;<br>
17
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
18
 
19
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
20
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="logging.html">logging</a><br>
21
</td><td width="25%" valign=top><a href="myhdl.html">myhdl</a><br>
22
</td><td width="25%" valign=top><a href="networkx.html">networkx</a><br>
23
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
24
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
25
<tr bgcolor="#ee77aa">
26
<td colspan=3 valign=bottom>&nbsp;<br>
27
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
28
 
29
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
30
<td width="100%"><dl>
31
<dt><font face="helvetica, arial"><a href="nocmodel.noc_tlm_base.html#noc_tlm_base">nocmodel.noc_tlm_base.noc_tlm_base</a>
32
</font></dt><dd>
33
<dl>
34
<dt><font face="helvetica, arial"><a href="nocmodel.basicmodels.basic_channel.html#basic_channel_tlm">basic_channel_tlm</a>
35
</font></dt></dl>
36
</dd>
37
</dl>
38
 <p>
39
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
40
<tr bgcolor="#ffc8d8">
41
<td colspan=3 valign=bottom>&nbsp;<br>
42
<font color="#000000" face="helvetica, arial"><a name="basic_channel_tlm">class <strong>basic_channel_tlm</strong></a>(<a href="nocmodel.noc_tlm_base.html#noc_tlm_base">nocmodel.noc_tlm_base.noc_tlm_base</a>)</font></td></tr>
43
 
44
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
45
<td colspan=2><tt>TLM&nbsp;model&nbsp;of&nbsp;a&nbsp;NoC&nbsp;channel.&nbsp;It&nbsp;models&nbsp;a&nbsp;simple&nbsp;FIFO&nbsp;channel&nbsp;with<br>
46
adjustable&nbsp;delay.&nbsp;This&nbsp;channel&nbsp;will&nbsp;move&nbsp;any&nbsp;kind&nbsp;of&nbsp;data&nbsp;as&nbsp;a&nbsp;whole,&nbsp;but<br>
47
ideally&nbsp;will&nbsp;move&nbsp;packet&nbsp;objects.<br>
48
&nbsp;&nbsp;&nbsp;&nbsp;<br>
49
Attributes:<br>
50
*&nbsp;Channel&nbsp;delay:&nbsp;delay&nbsp;in&nbsp;clock&nbsp;ticks.<br>
51
&nbsp;<br>
52
Notes:<br>
53
*This&nbsp;model&nbsp;is&nbsp;completely&nbsp;behavioral<br>&nbsp;</tt></td></tr>
54
<tr><td>&nbsp;</td>
55
<td width="100%">Methods defined here:<br>
56
<dl><dt><a name="basic_channel_tlm-__init__"><strong>__init__</strong></a>(self, channel_ref, channel_delay<font color="#909090">=1</font>)</dt></dl>
57
 
58
<dl><dt><a name="basic_channel_tlm-recv"><strong>recv</strong></a>(self, src, dest, packet, addattrs<font color="#909090">=None</font>)</dt><dd><tt>receive&nbsp;a&nbsp;packet&nbsp;from&nbsp;an&nbsp;object.&nbsp;src&nbsp;is&nbsp;the&nbsp;object&nbsp;source&nbsp;and<br>
59
it&nbsp;MUST&nbsp;be&nbsp;one&nbsp;of&nbsp;the&nbsp;objects&nbsp;in&nbsp;channel&nbsp;endpoints</tt></dd></dl>
60
 
61
<dl><dt><a name="basic_channel_tlm-send"><strong>send</strong></a>(self, src, dest, packet, addattrs<font color="#909090">=None</font>)</dt><dd><tt>This&nbsp;method&nbsp;will&nbsp;be&nbsp;called&nbsp;by&nbsp;recv&nbsp;(no&nbsp;delay)&nbsp;or&nbsp;by&nbsp;delay_generator<br>
62
src&nbsp;always&nbsp;is&nbsp;self</tt></dd></dl>
63
 
64
<hr>
65
Methods inherited from <a href="nocmodel.noc_tlm_base.html#noc_tlm_base">nocmodel.noc_tlm_base.noc_tlm_base</a>:<br>
66
<dl><dt><a name="basic_channel_tlm-debug"><strong>debug</strong></a>(self, msg, *args, **kwargs)</dt><dd><tt>#&nbsp;logging&nbsp;methods&nbsp;(only&nbsp;use&nbsp;4&nbsp;levels)</tt></dd></dl>
67
 
68
<dl><dt><a name="basic_channel_tlm-debugstate"><strong>debugstate</strong></a>(self)</dt><dd><tt>#&nbsp;special&nbsp;log</tt></dd></dl>
69
 
70
<dl><dt><a name="basic_channel_tlm-error"><strong>error</strong></a>(self, msg, *args, **kwargs)</dt></dl>
71
 
72
<dl><dt><a name="basic_channel_tlm-get_generators"><strong>get_generators</strong></a>(self)</dt></dl>
73
 
74
<dl><dt><a name="basic_channel_tlm-info"><strong>info</strong></a>(self, msg, *args, **kwargs)</dt></dl>
75
 
76
<dl><dt><a name="basic_channel_tlm-warning"><strong>warning</strong></a>(self, msg, *args, **kwargs)</dt></dl>
77
 
78
</td></tr></table></td></tr></table>
79
</body></html>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.