<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Arrays in SystemVerilog</title>
	<link>http://vlsihomepage.com/2007/10/18/arrays-in-systemverilog/</link>
	<description>A Practical guide to VLSI Design and Verification..</description>
	<pubDate>Mon, 06 Sep 2010 17:06:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Richard</title>
		<link>http://vlsihomepage.com/2007/10/18/arrays-in-systemverilog/#comment-1769</link>
		<author>Richard</author>
		<pubDate>Tue, 24 Feb 2009 19:02:56 +0000</pubDate>
		<guid>http://vlsihomepage.com/2007/10/18/arrays-in-systemverilog/#comment-1769</guid>
		<description>I need to create and access a 2-dimensional array, where 1 of the dimensions is a dynamic array and the other is an unpacked array.  For ex., 
logic [7:0] wrdata[][200].  Is this correct?
I have a separate dynamic array that I want to assign to the dynamic part of the 2-dimensional array:
logic [7:0] wr_data[];
int blen = 64;
wr_data = new[blen];
Then I want to new and access the 2-d array - is this correct?:
   for (int i=0; i</description>
		<content:encoded><![CDATA[<p>I need to create and access a 2-dimensional array, where 1 of the dimensions is a dynamic array and the other is an unpacked array.  For ex.,<br />
logic [7:0] wrdata[][200].  Is this correct?<br />
I have a separate dynamic array that I want to assign to the dynamic part of the 2-dimensional array:<br />
logic [7:0] wr_data[];<br />
int blen = 64;<br />
wr_data = new[blen];<br />
Then I want to new and access the 2-d array - is this correct?:<br />
   for (int i=0; i</p>
]]></content:encoded>
	</item>
</channel>
</rss>
