Does it make a difference if you define indexes in descending or in ascending order at the outset?
Specifically, suppose I have the following items defined in a module:
output [7:0] o_RX_Byte;
reg [7:0] r_RX_Byte = 0;
reg [0:2] r_Bit_Index = 0;
If bit 8 is considered the most significant bit, which bit is being referred to in the statement:
r_RX_Byte[r_Bit_Index] <= i_RX_Serial;
That is, is the most significant bit of r_RX_Byte getting i_RX_Serial or is the least significant bit of r_RX_Byte getting i_RX_Serial?
Would it have made a difference if the the items had been defined instead as:
output [0:7] o_RX_Byte;
reg [0:7] r_RX_Byte = 0;
reg [0:2] r_Bit_Index = 0;