Jump to content

delay data on sc_in with clock


Recommended Posts


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,




Link to comment
Share on other sites

  • 2 weeks later...

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...