Bit selects of specparams?

From: Ted Elkind (elkind@cadence.com)
Date: Tue Jul 20 1999 - 14:41:11 PDT


Hi Stu,

In case no one replied yet, specparams cannot be accessed with bit or
part selects. They can only provide time or delay values or mtm
triples. However, they can always appear anywhere in a time or delay
expression. They cannot appear outside that context. Hence, this is
legal:

    specparam x = 5:6;7;
    ...
    #x Q = DAT;

But this is not:

    specparam x = 5:6;7;
    reg y;
    reg [7:0] z;
    ...
    y = z[x];

And neither is this:

    specparam [7:0] x = 5:6:7;

Ted



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