VanTeo Posted September 3, 2016 Report Share Posted September 3, 2016 Hi, I have a module. My module has two port: sc_in_clk SCKi sc_in<sc_bv<12>> RXDi and has a process: SC_THREAD(do_thread) sensitive << RXDi; In sc_main I will do: RXDi.write("111111111111"); Now I want to implement do_thread to data on RXDi will delay in 16-cycles of SCKi. Please help me, thanks, VanTeo Quote Link to comment Share on other sites More sharing options...
er_sud Posted September 17, 2016 Report Share Posted September 17, 2016 Hi VanTeo, Do you want to add some inertial delay to the sc_in signal or you want the thread to act after 16 clock cycles of input post has got the data? I think implementation provided "here" by Vincent Motel can help you. Sudhanshu Tripathi, CircuitSutra Tech. maehne 1 Quote Link to comment Share on other sites More sharing options...
VanTeo Posted September 21, 2016 Author Report Share Posted September 21, 2016 Thanks er_sud 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.