Hi Steven, Consider the following example. module tmp(); logic signed [63:0] var1 [1:0]; realtime var2[1:0]; initial var2 = var1; endmodule For above testcase some simulator is showing error as "Array elements must both be signed or both be unsigned" while some is passing. So I was in confusion that whether is should be treated as signed or unsigned. Thanks Dhiraj Steven Sharp wrote: >>From: Dhiraj Kumar Prasad <dhiraj@cal.interrasystems.com> >> >> > > > >>I have a query related to realtime. realtime by default is signed or >>unsigned ??. >> >> > >realtime is equivalent to real, which is a floating point number. It >is inherently signed and there is no unsigned version of it. > > > > >>Different simulator is treating it in different way. >> >> > >What behavior are you seeing that you interpret as unsigned? > >Steven Sharp >sharp@cadence.com > > > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Wed Apr 2 21:48:33 2008
This archive was generated by hypermail 2.1.8 : Wed Apr 02 2008 - 21:49:49 PDT