zg71
zg71

Reputation: 33

How to initialize list of uint in Specman?

I need to initialize list of uint. I read that one can initialize each item in list, but I need efficient way, i.e. as in systemverilog where you can initialize with {1,2,3...}

Upvotes: 1

Views: 67

Answers (1)

user3467290
user3467290

Reputation: 781

very similar syntax, just with ; instead of ,

var l : list of uint = {1;2;3;4};

Upvotes: 0

Related Questions