CMSIS-DSP: Improvements to dot template in SDF

pull/19/head
Christophe Favergeon 4 years ago
parent aa4a2c6df2
commit ca1d8496ae

@ -38,6 +38,35 @@ digraph structs {
</TABLE>>]; </TABLE>>];
{% else %} {% else %}
{% if not config.horizontal %}
{{item.nodeID}} [label=<
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
<TR>
{% for id in range(0,item.maxNbIOs) -%}
{% if item.inputNames[id] -%}
{% set input %}{{item.inputNames[id]}}{% endset %}
<TD PORT="{{input}}"><FONT POINT-SIZE="9.0">{{input}}</FONT></TD>
{% else %}
<TD></TD>
{%- endif %}
{%- endfor %}
</TR>
<TR>
<TD ALIGN="CENTER" COLSPAN="{{item.maxNbIOs}}">{{ item.graphvizName }}</TD>
</TR>
<TR>
{% for id in range(0,item.maxNbIOs) -%}
{% if item.outputNames[id] -%}
{% set output %}{{item.outputNames[id]}}{% endset %}
<TD PORT="{{output}}"><FONT POINT-SIZE="9.0">{{output}}</FONT></TD>
{% else %}
<TD></TD>
{%- endif %}
{%- endfor %}
</TR>
</TABLE>>];
{% else %}
{{item.nodeID}} [label=< {{item.nodeID}} [label=<
<TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4"> <TABLE BORDER="0" CELLBORDER="1" CELLSPACING="0" CELLPADDING="4">
<TR> <TR>
@ -73,7 +102,7 @@ digraph structs {
</TABLE>>]; </TABLE>>];
{% endif %}
{% endif %} {% endif %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save