acc_sysC Posted June 29, 2022 Report Posted June 29, 2022 sc_in<sc_biguint<(1<<N)*M> > IN; sc_biguint<(1<<N)*M> Y; ..... ... void func() { for(G=0; G<((1<<N)*M); ++G) { Y[(G%M)*(1<<N)*(G/M)] = X.read()[G] ; } Can the index have these many calculations during assignment to selected to bit? EDA link: https://www.edaplayground.com/x/Et_C Quote
karthickg Posted June 29, 2022 Report Posted June 29, 2022 2 hours ago, acc_sysC said: Can the index have these many calculations during assignment to selected to bit? Yes, of course. These questions have nothing to do with SystemC. You must find a good course on C++ and make sure you are comfortable in that language. Quote
acc_sysC Posted June 29, 2022 Author Report Posted June 29, 2022 Yea I'm new to both C++ and systemC. Thanks for pointing out they're C++ issues. I'll look at C++ materials. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.