Good catch Jason. And you are correct. This was based on a legacy implementation that supported a form of SceMiMessageData constructor that explicitly gave the size. This needs to be corrected to pass the port pointer as the constructor argument. -- johnS -----Original Message----- From: Jason Rothfuss [mailto:rothfuss@cadence.com] Sent: Wed 4/27/2005 6:21 PM To: itc@eda.org; Stickley, John Subject: Routed example uses undocumented constructor Hello John S. & ITC, It came to my attention that an undocumented constructor is used in the Routed example. In the pdf file, scemi-110DRAFT.pdf page 89, the example shows that the SystemC class Scheduler initializes member dSendData which is of type SceMiMessageData with argument Routed::MessageSize, an enum equal to 15. Based on the specification, the only valid constructor for SceMiMessageData is: SceMiMessageData::SceMiMessageData( const SceMiMessageInPortProxy &messageInPortProxy, SceMiEC *ec=NULL ); I think that the example should be fixed to use the correct constructor. Thanks, JasonReceived on Wed Apr 27 15:38:40 2005
This archive was generated by hypermail 2.1.8 : Wed Apr 27 2005 - 15:39:16 PDT