Llama Posted March 8 Report Share Posted March 8 Hi , I have some variable bit-length variables like, sc_uint<10> x; sc_bit y; sc_int<8> z; and a bit vector sc_bv<19> a; Note: Combined bit-length of x,y,z is equal to length of a. I'm able to assign the combined vector to the bit_vector a like, a = (x,y,z); However I'm unable to do the reverse assignment like, (x,y,z) = a; Please provide suggestions to achieve the above. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.