You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our syntax allows a reaction to be triggered by a contained bank, but this does not currently work, and it it's not entirely clear what it should mean. My proposal is that the reaction is triggered by any output from any of the instances of the bank. This means that the target language needs syntax for getting the width of the bank and iterating over it, something like the following (this does not currently compile):
The text was updated successfully, but these errors were encountered:
I am currently revising the code C++ code generator to fix #66 and this has also become an issue there. I am taking a similar approach as you suggested (actually I assumed this already works in C). Iterating in C++ is a bit simpler, as the symbol s would be of type std::array<...> and you can use a for each loop.
This gets slightly more complicated if the contained port is also a multiport.
Our syntax allows a reaction to be triggered by a contained bank, but this does not currently work, and it it's not entirely clear what it should mean. My proposal is that the reaction is triggered by any output from any of the instances of the bank. This means that the target language needs syntax for getting the width of the bank and iterating over it, something like the following (this does not currently compile):
The text was updated successfully, but these errors were encountered: