[sv-bc] LRM-169 missing {}'s


Subject: [sv-bc] LRM-169 missing {}'s
From: Dave Rich (David.Rich@synopsys.com)
Date: Fri Feb 13 2004 - 08:18:52 PST


SV-BC-105 Section 2.8 LRM-169
There is a missing set of braces in the example. I've also added the
expansion of the replication in the example

v1 = {2{{3{*{*a,{2{b,c}}*}*}}}};
// expands to { {3{{a,{2{b,c}}}}}, {3{{a,{2{b,c}}}}} }
// expands to { { {a,{2{b,c}}},{a,{2{b,c}}},{a,{2{b,c}}} },{
{a,{2{b,c}}},{a,{2{b,c}}},{a,{2{b,c}}} } }
// expands to
{{{a,{b,c,b,c}},{a,{b,c,b,c}},{a,{b,c,b,c}}},{{a,{b,c,b,c}},{a,{b,c,b,c}},{a,{b,c,b,c}}}}

-- 
--
David.Rich@Synopsys.com
Technical Marketing Consultant and/or
Principal Product Engineer
http://www.SystemVerilog.org
tele: 650-584-4026
cell: 510-589-2625



This archive was generated by hypermail 2b28 : Fri Feb 13 2004 - 14:38:04 PST