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

Subversion Repositories nocmodel

[/] [nocmodel/] [trunk/] [doc/] [nocmodel.noc_guilib.html] - Rev 2

Compare with Previous | Blame | View Log

 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module nocmodel.noc_guilib</title>
</head><body bgcolor="#f0f0f8">
 
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="nocmodel.html"><font color="#ffffff">nocmodel</font></a>.noc_guilib</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/oscard/Documentos/proyectos/nocmodel-0.1/nocmodel/noc_guilib.py">/home/oscard/Documentos/proyectos/nocmodel-0.1/nocmodel/noc_guilib.py</a></font></td></tr></table>
    <p><tt>================<br>
NoCmodel&nbsp;Graphic&nbsp;utilities<br>
================<br>
&nbsp;&nbsp;<br>
This&nbsp;module&nbsp;declares&nbsp;functions&nbsp;to&nbsp;draw&nbsp;graphical&nbsp;representations&nbsp;of&nbsp;<br>
NoCmodel&nbsp;objects.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
 
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="networkx.html">networkx</a><br>
</td><td width="25%" valign=top><a href="matplotlib.pyplot.html">matplotlib.pyplot</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
 
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-draw_noc"><strong>draw_noc</strong></a>(noc, rectangular<font color="#909090">=True</font>, nodepos<font color="#909090">=None</font>)</dt><dd><tt>Draw&nbsp;a&nbsp;representation&nbsp;of&nbsp;a&nbsp;NoC<br>
&nbsp;<br>
Arguments:<br>
*&nbsp;noc:&nbsp;Model&nbsp;to&nbsp;draw<br>
*&nbsp;rectangular:&nbsp;If&nbsp;True&nbsp;assumes&nbsp;rectangular&nbsp;layout,&nbsp;with&nbsp;routers&nbsp;<br>
&nbsp;&nbsp;having&nbsp;coord_x&nbsp;and&nbsp;coord_y&nbsp;attributes.&nbsp;If&nbsp;false,&nbsp;expect&nbsp;router's&nbsp;<br>
&nbsp;&nbsp;positions&nbsp;in&nbsp;nodepos&nbsp;argument<br>
*&nbsp;nodepos:&nbsp;Optional&nbsp;dictionary&nbsp;where&nbsp;keys&nbsp;are&nbsp;router's&nbsp;indexes&nbsp;and&nbsp;values&nbsp;<br>
&nbsp;&nbsp;are&nbsp;tuples&nbsp;with&nbsp;x&nbsp;and&nbsp;y&nbsp;positions.</tt></dd></dl>
</td></tr></table>
</body></html>

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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