karandeep963 Posted June 29, 2013 Report Share Posted June 29, 2013 Hello All, It would be really appreciable if anyone could authenticate my learning on difference of sc_signal and sc_buffer? I have found many differences mentioned below , please check and add if I could have missed any important one: 1. sc_buffer does not support the specialization supported for sc_signal: like sensitive << signame.posedge_event(); wait << signame.posedge_event(); 2. sc_buffer does'nt used for sensitivity of process. 3. There is difference of evaluate-update phase of sc_buffer to that of sc_signal? if yes, whats that please elaborate. 4. sc_signal would only generate update request to scheduler in case of different value needs to be updated , while sc_buffer generates the request all the time if even is the same value is written again on it. Please confirm the above and relevant contents. other queries: Qa: what is significance of sc_buffer? Qb: "sensitive << signame.posedge_event()" , does it mean that the respective process would be sensitive to posedge of signal ? or if something different then what does .posedge_event(); meant for ? Regards, KS 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.