asyncvlsi / act

ACT hardware description language and core tools.
http://avlsi.csl.yale.edu/act
GNU General Public License v2.0
99 stars 22 forks source link

scope.cc, line 940 Assertion: !aes->isend() #13

Closed nbingham1 closed 4 years ago

nbingham1 commented 4 years ago
template <pint in[2][1]>
defproc test()
{
}

pint X[1];
pint Y[1];

X[0] = 0; Y[0] = 0;
test<{X, Y}> tmp;
$ aflat tmp.act 
Assertion failed, file scope.cc, line 940
Assertion: !aes->isend()
ERR: This should have been caught earlier
rmanohar commented 4 years ago

Pushed a fix plus added this test case to the act lib.

nbingham1 commented 4 years ago

Fix verified, works in larger context