Forum Discussion
Altera_Forum
Honored Contributor
15 years agohelp with verilog syntax
Hi All, lately i've encounter rather new verilog syntax for which i cannot find description or user guide. i'm refereing to the exshastive use of colon with another operator for example: ...
Altera_Forum
Honored Contributor
15 years agoThe second expression is using indexed part-select which is explained in clause 4.2.1 vector bit-select and part-select addressing of the Verilog specification IEEE Std. 1364. The - sign is indicating a high to low vector index direction, the number after the colon the number of elements. Youd can use also +: for low to high indexes.
:= is a System Verilog syntax element describing distribuition weights, see IEEE Std. 1800-2005, clause 13.4 and 13.16.