From: Shalom Bresticker (r50386@email.sps.mot.com)
Date: Thu Oct 21 1999 - 05:20:56 PDT
<x-html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000FF" VLINK="#FF0000" ALINK="#000088">
Anders Nordstrom wrote:
<BLOCKQUOTE TYPE=CITE>
<UL>
<LI>
<B>BE55</B> - This one doesn't seem to be implemented at all....</LI>
<BR> Replace the first paragraph in section 3.5 on page
21 with:
<I>The syntax shown in Section 3.2 shall be used to declare nets and
registers explicitly. In the absence of an explicit declaration,</I>
<BR><I>an implicit net of default net type shall be assumed in the following
circumstances:</I></UL>
</BLOCKQUOTE>
<BR>The concept of "default net type" has not yet been defined at this
point.
<BR>I suggest to delete "of default net type" here. The net
type is defined below.
<BR>
<BLOCKQUOTE TYPE=CITE>
<UL><I>- If an identifier is used in a port expression declaration, then
an implicit net of type wire shall be assumed, with the vector width of</I>
<BR><I>the port expression declaration. See Section 12.3.2 for a discussion
of port expression declarations.</I></UL>
</BLOCKQUOTE>
<BR>Question: implicit net of type wire or of default net type
?
<BR>The wording of 12.3.2, below, says that default net type is used.
<BR>I suggest to delete "of type wire" here. The net type is
defined below.
<BR>
<BLOCKQUOTE TYPE=CITE>
<UL><I>- If an identifier is used in the terminal list of a primitive instance
or a module instance, and that identifier has not been</I>
<BR><I>explicitly declared previously in one of the declaration statements
of the instantiating module, then an implicit scalar net of</I>
<BR><I>default net type shall be assumed.</I></UL>
</BLOCKQUOTE>
<BR>Similarly, delete "of default net type" here. The net
type is defined immediately below.
<BR>Also need to add case of LHS of continuous assignment.
The second paragraph of 3.5 is confusing. It says:
"These implicitly declared nets shall be treated as scalar nets of type
wire. See Section 19 for a discussion of control of the type for implicitly
declared nets with the `default_nettype compiler directive."
These two sentences seems to contradict each other. Better is
as written below:<I></I>
<I>The implicit net data type shall be wire, unless another default
type has been directed.</I>
<BR><I>See Section 19.2 for a discussion of control of the type for implicitly</I>
<BR><I>declared nets using the `default_nettype compiler directive.</I>
Note that in contrast to what is currently written in 3.5, implicit
nets are not necessarily scalars.
<BR>That is, in the case of port expressions, they take the width of the
port expression.
<BR>
<BLOCKQUOTE TYPE=CITE>
<UL>In section 12.3.2 on page 174. Chage the sentence "A port can be declared
in both a port declaration and a net or register declaration.
<BR> If a port is declared as a vector, the range specification
between the two declarations of a port shall be identical. " to:
<I>A port_expression which is an identifier can be declared in both
a port declaration and a net or register declaration. A net or register</I>
<BR><I>declaration establishes the data type of the</I>
<BR><I>internal net or register connected to the port. If no net or register
declaration is made for the port_expression identifier,</I>
<BR><I>then a default data type is assumed.</I>
<I>An explicit net or register declaration for an identifier which is
also used in a port_expression declares the specific data type</I>
<BR><I>and vector size of the port_expression. If the vector</I>
<BR><I>range of a data type declaration differs from the vector range of
a port_expression declaration for the same identifier,</I>
<BR><I>the declaration of the net or register shall be used.</I>
<I>If there is no explicit net or register declaration for an identifier
used in a port_expression declaration, then an implicit net shall be assumed,</I>
<BR><I>with the vector width of the port_expression declaration. The implicit
net data type shall be wire, unless another default type has been directed.</I>
<BR><I>See Section 19.2 for a discussion of control of the type for implicitly</I>
<BR><I>declared nets using the `default_nettype compiler directive. This
implicit net type shall be used for the internal net type when the rules</I>
<BR><I>for connecting dissimilar ports are applied.</I>
<BR><I>These rules are discussed in Section 12.3.6 and Section 12.3.8.</I></UL>
</BLOCKQUOTE>
This can be shortened as follows, I think:
<I>A port_expression which is an identifier can be declared in both
a port declaration and a net or register declaration.</I><I></I>
<I>A net or register declaration establishes the data type and vector
range of the port_expression.</I>
<BR><I>If the vector range of a data type declaration differs from the
vector range of a port_expression declaration for the same identifier,</I>
<BR><I>the declaration of the net or register shall be used.</I><I></I>
<I>If no net or register declaration is made for the port_expression
identifier, then a default data type is assumed, as described in Section
3.5.</I>
<BR><I>This implicit net type shall be used for the internal net type when
the rules for connecting dissimilar ports are applied.</I>
<BR><I>These rules are discussed in Section 12.3.6 and Section 12.3.8.</I>
<PRE>--
************************************************************************
Shalom Bresticker email: shalom@msil.sps.mot.com
Motorola Semiconductor Israel, Ltd. Tel #: +972 9 9522268
P.O.B. 2208, Herzlia 46120, ISRAEL Fax #: +972 9 9522444
<A HREF="http://www.motorola-semi.co.il/"><a href="http://www.motorola-semi.co.il/">http://www.motorola-semi.co.il/>>
************************************************************************</PRE>
</BODY>
</HTML>
</x-html>
This archive was generated by hypermail 2.1.4
: Mon Jul 08 2002 - 12:53:31 PDT
and
sponsored by Boyd Technology, Inc.