"one-dimensional" appears many times, but in several contexts. Those that seem most relevant to the current context in addition to the one in 5.7 are: 5.8 says, "A subroutine that accepts a one-dimensional fixed-size array can also be passed a dynamic array of a compatible type of the same size." and "A subroutine that accepts a dynamic array can be passed a dynamic array of a compatible type or a one-dimensional fixed-size array of a compatible type" (BTW, a period is missing at the end of the sentence.) 5.14 says, "A queue is analogous to a one-dimensional unpacked array that grows and shrinks automatically." Shalom ________________________________________ From: Rich, Dave [mailto:Dave_Rich@mentor.com] Sent: Wednesday, November 09, 2005 10:48 PM To: Bresticker, Shalom; sv-ec@eda.org Subject: RE: [sv-ec] 5.7 Array Assignment question Yes, this section has been through many re-writes. But note that "one dimension of an array" is not the same as a "one dimensional array" ________________________________________ From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com] Sent: Wed 11/9/2005 11:18 AM To: Rich, Dave; sv-ec@eda.org Subject: RE: [sv-ec] 5.7 Array Assignment question If so, this may be several errata, because there are several mentions in the LRM of these one-dimensional arrays. Shalom >-----Original Message----- >From: Rich, Dave [mailto:Dave_Rich@mentor.com] >Sent: Wednesday, November 09, 2005 6:44 PM >To: Bresticker, Shalom; sv-ec@eda.org >Subject: RE: [sv-ec] 5.7 Array Assignment question > >This is a vestige of Vera. I remember someone telling me that >Vera had >only just introduced multi-dimensional arrays at about the same >time the >language was being donated to SystemVerilog. > >Remember, Verilog did not have multi-dimensional arrays in >until V2001. >Nor did it have even 1-dimentional arrays of wires. This made >writing >testbench interfaces very cumbersome. How did we survive! :) > >But I digress. This should be an errata. > >Dave > > >> -----Original Message----- >> From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On >Behalf Of >> Bresticker, Shalom >> Sent: Wednesday, November 09, 2005 8:07 AM >> To: sv-ec@eda.org >> Subject: [sv-ec] 5.7 Array Assignment question >> >> 5.7 says, >> " A dynamic array or a one-dimensional fixed-size array can >be >assigned to >> a dynamic array of a compatible type." >> >> Why only a 1-dimensional fixed-size array? >> >> For example, why can't I write >> >> typedef int a[1:10]; >> a dyn[] ; >> int b[1:5][1:10] ; >> >> dyn = b ; >> >> Shalom Bresticker >> Intel Jerusalem LAD DA >> +972 2 589-6852Received on Wed Nov 9 23:20:23 2005
This archive was generated by hypermail 2.1.8 : Wed Nov 09 2005 - 23:20:29 PST