ctree test works, wrong folder name - is simmed in primitive_instantiate

This commit is contained in:
2022-02-22 11:10:51 +01:00
parent 424db9541e
commit 90a429181e
5 changed files with 187 additions and 10 deletions

View File

@ -153,6 +153,8 @@ defproc ctree (bool? in[N]; bool! out; power supply)
end = N-1;
pint lenTree2Count, lenTree3Count;
lenTree2Count = 0;
lenTree3Count = 0;
/* Pre"calculate" the number of C cells required, look below if confused */
*[ i != end ->
j = 0;
@ -237,6 +239,9 @@ defproc ctree (bool? in[N]; bool! out; power supply)
end = end+j;
j = 0;
]
out = tmp[end];
}
export template<pint N>