Am unable to get proper transaction of "HWDATA" while doing INCR4 in AHB BURST

In reply to pullarao beerelli:


//Declare data as a dynamic array
rand bit [31:0] m_hwdata[];

constraint m_hwdata_c{
(m_hburst == SINGLE) -> (m_hwdata.size()==1);

(m_hburst inside {WRAP4,INCR4}) -> (m_hwdata.size()==4);
(m_hburst inside {WRAP8,INCR8}) -> (m_hwdata.size()==8);
(m_hburst inside {WRAP16,INCR16}) -> (m_hwdata.size()==16);
}


Regards,
Shanthi V A
www.maven-silicon.com