ls00722
Newbie level 3
Hi:
I am a beginner on VerilogHDL, what does the following statement do?
reg sum_out_shift[25:0];
reg sum_out_sat[7:0];
sum_out_shift <= {{18{sum_out_sat[7]}}, sum_out_sat};
Sign extending the sum_out_sat? Why "<=" sign was used , not the "=" sign?
Thanks
chris
I am a beginner on VerilogHDL, what does the following statement do?
reg sum_out_shift[25:0];
reg sum_out_sat[7:0];
sum_out_shift <= {{18{sum_out_sat[7]}}, sum_out_sat};
Sign extending the sum_out_sat? Why "<=" sign was used , not the "=" sign?
Thanks
chris