hulk789
Junior Member level 3
Code:
logic [23:0] array[28:0]='{9{24'h010000},10{24'h010000},10{24'h008000}};
array[19:10] should have the value 24'h010000
array[9:0] should have the value 24'h008000
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
logic [23:0] array[28:0]='{9{24'h010000},10{24'h010000},10{24'h008000}};
parameter logic [23:0] a1[9] = '{default:24'h010000};
parameter logic [23:0] a2[10] = '{default:24'h010000};
parameter logic [23:0] a3[10] = '{default:24'h008000};
logic [23:0] array[28:0]={a1,a2,a3};
parameter logic [23:0] a1[9] = '{default:24'h010000};
int a[5] = '{1:12, 4:42, default:3};