Am trying to make ahb transactions for incr4.for that i made below constraints in seq_item.
constraint m_hwdata_c{
(m_hburst == SINGLE) → (m_hwdata.m_hsize()==1);
(m_hburst inside {WRAP4,INCR4}) -> (m_hwdata.m_hsize()==4);
(m_hburst inside {WRAP8,INCR8}) -> (m_hwdata.m_hsize()==8);
(m_hburst inside {WRAP16,INCR16}) -> (m_hwdata.m_hsize()==16);
}
for the above constraints it showing error like below:
Error-[MRRE] Member reference resolution error
…/env/sll_ahb_seq_item.sv, 101
Member operator “.” cannot be used on object of type bit.
Expression: m_hwdata
Source info: m_hwdata.m_hsize
is there any otherway to constraints for hwdata while incr time…?