Fix off by one
Doesn't affect anything, since none of the code uses the full
width anyway.
[ci skip]
@@ -130,8 +130,8 @@ module sim_jtag
if (poll_jtag_request(instruction_length, instruction,
data_length, data) != 0)
begin
- assert(instruction_length > 0 && instruction_length < 32);
- assert(data_length > 0 && data_length < MAX_DATA_LEN);
+ assert(instruction_length > 0 && instruction_length <= 32);
+ assert(data_length > 0 && data_length <= MAX_DATA_LEN);
need_ir_shift <= 1;
need_dr_shift <= 1;
end
