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.
maybe I'm wrong
but I think data[32 +:8] does give
data[39 : 32] not data[32 : 39]
at least when data was defined as
reg [39:0] data;
but I think data[32 +:8] does give
data[39 : 32] not data[32 : 39]
at least when data was defined as
reg [39:0] data;
big_vect[ 0 +: 8] // == big_vect[ 7 : 0]
big_vect[15 -: 8] // == big_vect[15 : 8]
little_vect[ 0 +: 8] // == little_vect[0 : 7]
little_vect[15 -: 8] // == little_vect[8 :15]
reg [15:0] big_vect;
reg [0:15] little_vect;
big_vect[ 0 +: 8] // == big_vect[ 7 : 0]
big_vect[15 -: 8] // == big_vect[15 : 8]
little_vect[ 0 +: 8] // == little_vect[0 : 7]
little_vect[15 -: 8] // == little_vect[8 :15]