Vonn
Full Member level 4
Hi guys , i have a problem when I try to assign a value to bit victor in system c
my bit vector decleration is :
sc_in <sc_bv<8> > A,B;
and I tried to assign a value to this vector using the following statment
A = "01001000";
the compiler gives me a message
error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'char [9]' (or there is no acceptable conversion)
any body can help!
my bit vector decleration is :
sc_in <sc_bv<8> > A,B;
and I tried to assign a value to this vector using the following statment
A = "01001000";
the compiler gives me a message
error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'char [9]' (or there is no acceptable conversion)
any body can help!