FW: Problem report on the SCE-API from Yung-ming Fang <yfang@cad ence.com>


Subject: FW: Problem report on the SCE-API from Yung-ming Fang
From: Bailey, Brian (brian_bailey@mentorg.com)
Date: Mon Jul 29 2002 - 11:47:57 PDT


From: Stickley, John
Sent: Monday, July 29, 2002 11:43 AM
To: yfang@cadence.com
Cc: Bailey, Brian; 'itc@eda.org'
Subject: Re: Problem report on the SCE-API from Yung-ming Fang
<yfang@cadence.com>

Fang,

The 'anchorage' module is an OrigDest which is an instantiation of
an Origin transactor and a Destination transactor.

So really anchorage consists of a composite of two transactors.
Each of those qualifies as a transactor because they each
instantiate an SceMiClockControl.

However the point you raise is valid because what is actually
in error is the pathnames shown in the BindMessage*Port calls.

The proper bindings should look like this:

    dOriginAnchorage = sceMi->BindMessageInPort(
        "Bridge.anchorage.origin", "sceMiMessageInPort", NULL );

    dDestinationAnchorage = sceMi->BindMessageOutPort(
        "Bridge.anchorage.destination", "sceMiMessageOutPort", &outBinding );

Thanks for pointing this out. I will make appropriate corrections in
the document.

-- johnS

"Bailey, Brian" wrote:

> Hi, Dear Sirs,
>
> I'd like to report some possible problems in the document.
> In Section 4.2.1, page 59 of 94,
>
> "It shall be assumed that any module that is to be officially considered
> a transactor must have
> at least one SceMiClockControl instance immediately inside it."
>
> If I read it right,
> transactor is defined as any instance (module instance) that has at
> least one SceMiClockControl as child.
> If this is correct, the example at page 43 is wrong.
>
> " dOriginAnchorage = scemi->BindMessageInPort ("anchorage", "TokenIn"
> ); "
>
> "anchorage" is NOT a transactor because it has no SceMiClockControl as a
> direct descendant.
> See Section 3.2.2.2 or Fig 8 at page 24, anchorage is an instance of
> module OrigDest, which has no SceMiClockControl as a child.
>
> Another possible problem is the portname.
> At page 43 of 94,
> " dDestinationMaui = scemi->BindMessageOutPort ("maui", "TokenOut",
> &binding ); "
>
> maui is an instance of module Destination (its module is defined in page
> 27),
> According to portname definition in Section 4.2.1, the correct portname
> should be "message".
>
> Hope in the next release, the example will be correct.
>
> Regards,
>
> fang
>
                                           /\
                                     /\ | \
                                    | \ / |
                                   / \ \
                               /\_/ K2 \_ \_
____________________________/\/ \ \
John Stickley \ \_________________
Principle Engineer, VS&NT Group\ John_Stickley@mentorg.com
Mentor Graphics Corp. \_
17 E. Cedar Place \ Phone: (201) 818-2585
Ramsey, NJ 07446 FAX: (201) 327-4395
______________________________________________________________



This archive was generated by hypermail 2b28 : Mon Jul 29 2002 - 11:51:20 PDT