Bes Posted April 26, 2020 Report Share Posted April 26, 2020 I’m trying to implement a fifo module , or simply a queue, and implement the pop and push methods using system c language. I made a module with input 1D array to perform on it the functions. sc_vector< sc_in<int>> array ; array.init(4)) the problem is when i try to push items to the array i get array full, as the .init filled it with 4 zeroes so I don’t know how to push or pop from it Quote Link to comment Share on other sites More sharing options...
Eyck Posted April 26, 2020 Report Share Posted April 26, 2020 Actually you created an array of inputs of type int, not a pipe. Without more code it is hard to give any advise David Black 1 Quote Link to comment Share on other sites More sharing options...
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.