Subject: Vector branch declaration with explicit array bounds
From: Graham Helwig (ghelwig@asc.corp.mot.com)
Date: Wed Oct 16 2002 - 16:45:43 PDT
Hello,
From the discussion in the last conference call, there seems to be some
lack of definition in section 3.9 with respect to the declaration of
vector branches without range bounds. Below is the proposed update to
clarify this behaviour.
Regards
Graham
-=-=-=-=-=-=-=-=-=-=-
Attach the following to end of section 3.9.
When vector branch is declared without range bounds, the left bound of
the vector branch is set be zero and the right bound is set to be one
minus vector length. For example:
electrical [1:5] a;
branch (a) brn1; // implied range [0:4]
electrical [2:4] b;
electrical [-1:1] c;
branch (b,c) brn2; // implied range [0:2]
-- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Graham Helwig email: A11558@email.mot.com ghelwig@asc.corp.mot.com Telephone:+61-8-81683532 Fax:+61-8-81683501 Motorola Australia Software Centre, 2 Second Avenue, Mawson Lakes, Adelaide, SA, 5095, Australia -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This archive was generated by hypermail 2b28 : Wed Oct 16 2002 - 16:47:25 PDT