Re: Draft 4 Correction: Syntax 17-13 PLA Modeling System Task

From: Shalom Bresticker (shalom@msil.sps.mot.com)
Date: Wed Feb 09 2000 - 23:56:09 PST


<x-html>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Comments inside.
<p>Shalom
<br>
<p>Steven Sharp wrote:
<blockquote TYPE=CITE>Shalom Bresticker wrote:
<p>> $array_type$logic$format ( memory_identifier [ dimension ] , input_terms
, output_terms ) ;
<br>>
<br>> where the brackets around "dimension" are not bold or red, making
the dimension optional.
<p>Actually, this should just be "memory_identifier". The dimension
is NOT
<br>allowed here. We are specifying the entire memory, not a word
in it. So
<br>Shalom is partly right, but didn't go far enough.</blockquote>
Well, gosh darn it, why ISN'T the dimension allowed here ?
<br>Is there another place in the language where that restriction exists
?
<br>
<blockquote TYPE=CITE>> BTW, I still think the syntax construct names
<br>>
<br>> "array_type", "logic",
"format", "input_terms" and
"output_terms"
<br>>
<br>> should all be prefixed by "pla_":
<br>>
<br>> "pla_array_type", "pla_logic", "pla_format", "pla_input_terms" and
"pla_output_terms"
<p>This is a matter of opinion. Unlike the BNF, these names are local
to this
<br>syntax block and clearly apply only to PLA tasks.</blockquote>
OK.
<br>
<blockquote TYPE=CITE>BTW, if we are generalizing the arguments beyond
concatenations of scalars,
<br>why isn't "input_terms" defined simply as "expression"? All other
similar
<br>input arguments to system tasks allow expressions.</blockquote>
Agreed.
<br>That allows mixtures of nets, regs, constants, function calls, etc.
<br>
<blockquote TYPE=CITE>FWIW, I re-implemented the PLA tasks in NC-Verilog
last week in order to
<br>speed them up by an order of magnitude. At the same time, I extended
them
<br>to allow any expression for the input terms and any reg lvalue expression
<br>for the output terms. So I can say with some assurance that implementing
<br>this is not a problem :-)</blockquote>
Great. The PLA slowness in NCV was one reason we did not use
NCV on my last project.
<br>
<blockquote TYPE=CITE>Steven Sharp
<br>sharp@cadence.com</blockquote>

<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>
 </html>

</x-html>



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:11 PDT and
sponsored by Boyd Technology, Inc.