Topological sort: Difference between revisions
Content added Content deleted
Line 498: | Line 498: | ||
The program, for ATS2 (patsopt/patscc) and a garbage collector (Boehm GC). |
The program, for ATS2 (patsopt/patscc) and a garbage collector (Boehm GC). |
||
You can compile this program with something like |
|||
"patscc -o topo -DATS_MEMALLOC_GCBDW topo.dats -lgc" |
|||
<syntaxhighlight lang="ATS"> |
<syntaxhighlight lang="ATS"> |
||
Line 1,138: | Line 1,141: | ||
<pre> |
<pre> |
||
ieee, dware, dw05, dw06, dw07, gtech, dw01, dw04, dw02, std_cell_lib, synopsys, std, dw03, ramlib, des_system_lib |
ieee, dware, dw05, dw06, dw07, gtech, dw01, dw04, dw02, std_cell_lib, synopsys, std, dw03, ramlib, des_system_lib |
||
</pre> |
|||
Data fed to standard input: |
|||
<pre> |
|||
des_system_lib std synopsys std_cell_lib des_system_lib dw02 dw01 ramlib ieee; |
|||
dw01 ieee dw01 dware gtech dw04; |
|||
dw02 ieee dw02 dware; |
|||
dw03 std synopsys dware dw03 dw02 dw01 ieee gtech; |
|||
dw04 dw04 ieee dw01 dware gtech; |
|||
dw05 dw05 ieee dware; |
|||
dw06 dw06 ieee dware; |
|||
dw07 ieee dware; |
|||
dware ieee dware; |
|||
gtech ieee gtech; |
|||
ramlib std ieee; |
|||
std_cell_lib ieee std_cell_lib; |
|||
synopsys; |
|||
</pre> |
|||
Data from standard output: |
|||
<pre> |
|||
**** dependency loop **** |
|||
</pre> |
</pre> |
||