ctree test works, wrong folder name - is simmed in primitive_instantiate
This commit is contained in:
@ -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>
|
||||
|
Reference in New Issue
Block a user