Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,026 Views

reg [ x +: 12] mean ?

what is the meaning of this syntax?  

 

here x could be input vector 

 

reg [ x +: 12]  

 

please help !!
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
24 Views

it is slicing a vector from X to X+12.

Altera_Forum
Honored Contributor I
24 Views

It means you don't have the latest copy of the lrm (http://standards.ieee.org/getieee/1800/download/1800-2012.pdf).

Reply