Quantcast
Channel: SystemC Language Forum RSS Feed
Viewing all articles
Browse latest Browse all 595

ASCII string to sc_bv and vice versa

$
0
0

Hello,

 

I am somewhat new to SystemC and I am interested in converting ASCII string to sc_bv and vice versa.

I tried static casting the string without success.

 

 

I am trying with stringstream; first convert the string to a stream and then stream into sc_bv.

 

Any comments and suggestions are welcome. Thanks for your kind attention.

 

~S 

 


Viewing all articles
Browse latest Browse all 595

Trending Articles