[sv-ec] minor bug in 18.3 example

From: Radoslaw Nawrot <Radoslaw.Nawrot@aldec.com.pl>
Date: Wed Dec 21 2011 - 23:10:08 PST

Hello,
 
This is my first topic on SV-EC. Heretofor I wrote at SV-CC.
I dont know If such problem was reported but there is a minor bug in
1800-2009 18.3::
 
class Bus;

rand bit[15:0] addr;

rand bit[31:0] data;

constraint word_align {addr[1:0] == 2'b0;}

endclass

 

Should be:

class Bus;

rand bit[15:0] addr;

rand bit[31:0] data;

constraint word_align {addr[1:0] == 2'b0;}

endclass

 

Regards,

Radek

Radoslaw.Nawrot@aldec.com.pl

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Dec 21 23:11:08 2011

This archive was generated by hypermail 2.1.8 : Wed Dec 21 2011 - 23:11:25 PST