Forum Discussion
Altera_Forum
Honored Contributor
11 years agoReview your Verilog text book or Verilog LRM about indexed part-select syntax
--- Quote Start --- An indexed part-select is given with the following syntax: logic [15:0] down_vect; logic [0:15] up_vect; down_vect[lsb_base_expr +: width_expr] up_vect[msb_base_expr +: width_expr] down_vect[msb_base_expr -: width_expr] up_vect[lsb_base_expr -: width_expr] --- Quote End --- e.g.d <= b;