Quantcast
Channel: Cadence Custom IC Skill Forum
Viewing all articles
Browse latest Browse all 5101

how to create a table/list of structs

$
0
0

Hi,

I'm trying to create a struct variable,

defstruct( name field1 field2 ...)

struct_var = name

and then have a table/list where each element is a name struct. For example,

struct_var[1]->field1 = "1"

struct_var[1]->field2 = "11"

struct_var[2]->field1 = "2"

struct_var[2]->field2 = "22", and so on.

But it seems that I cannot create of table/list of name elements!

Could anyone help me?

Thanks in advance.

Best regards,


Viewing all articles
Browse latest Browse all 5101

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>