Jump to content

Question about the input converter port of TDF block


Recommended Posts

I have a system c block (sc_method) with a sc_out<double> output port and a static tdf block with a sca_tdf::sca_de::sca_in<double> input converter port. I connected the two blocks with a sc_core::signal<double>.

Basically the system c block writes a value only once, during the initialization call to the method, but the first input value read by tdf block on the converter port is zero. Only after the first step it starts reading the value written by system c block.

Is there a way for the tdf block to read the value written during the initialization method call or I necessarily have to wait a step?

Link to comment
Share on other sites

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.

Guest
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...