RE: [sv-bc] {Filename?} mantis 676, 678

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Thu May 15 2008 - 05:01:06 PDT
Don,
 
You seem to be connecting these two Manti and I don't think they are
intended to be connected.
 
678 is very simple.
If I have a vector a[31:0], the width of a part-select needs to be
constant. So I can write a[31:8] or a[i-:8], where i is a variable, but
I cannot write a[i:j] or a[i+:j] where i and j are variables. That is
the enhancement request.
 
Shalom



________________________________

	From: owner-sv-bc@server.eda.org
[mailto:owner-sv-bc@server.eda.org] On Behalf Of Don Mills
	Sent: Tuesday, May 13, 2008 9:25 PM
	To: Maidment, Matthew R; sv-bc
	Subject: [sv-bc] {Filename?} mantis 676, 678
	
	
	Matt,
	
	Per the mantis items 676 and 678, I want to make sure I
understand the concepts of the proposal.  Does the following code
capture the intent of the issues?
	
	
	typedef logic [7:0] array_t [];
	
	function automatic array_t fmem (input int first, last);
	  array_t mem [first:last];
	  return(mem);
	endfunction 
	
	
	You name was listed as the initial author of these mantis items.
Is there someone else that I should be reviewing these items with?
	
	thanks
	
	dm
	
	-- 
	==========================================================
	Don Mills
	mills@lcdm-eng.com
	www.lcdm-eng.com
	==========================================================

---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu May 15 05:04:34 2008

This archive was generated by hypermail 2.1.8 : Thu May 15 2008 - 05:06:17 PDT