yjt98765 Posted October 15, 2015 Report Share Posted October 15, 2015 Hi there, I want to simulate a lager system which calculates the inner product of two large vectors. The target vector size is 10^6, but now I can only achieve 4096. When the size N equals 8192, it reports an error: ./../src/systemc/sc_cor_qt.cpp:115: virtual void sc_core::sc_cor_qt::stack_protect(bool): Assertion `ret == 0' failed. I tried set_stack_size which does not work. Because any single thread is not large. They are either an adder or a multiplier. But the whole system is quite large, containing N multiplier and more than N adders. I guess enlarge the stack for sc_main may help, but I do not know how to do that. There is such an option in ModelSim, however, it does not work for my case. Does anybody have any suggestion? Thanks. Jintao Quote Link to comment Share on other sites More sharing options...
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.