Jump to content

sc_lv with a variable width

Recommended Posts

You can use sc_dt::sc_lv_base for this purpose, which takes the width of the vector as constructor argument. However, it does not allow further resizing once the object has been created.


For more information, have a look to the IEEE Std 1666-2011, clause 7.9.4.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now