When parameterising the lsb cell of a bus select it does not select the correct bits (or width)
- Open an ISSIE sheet
- initialise a parameter 'x'
- make an input and an output - both with bit width parameterised by x - ill refer to them as 'in' and 'out'
- make a new 1 bit output - ill refer to it as 'msb'
- make a bus select - with bit width 1 and lsb select 'x-1' - and connect the end to 'msb'
- connect 'in' to 'out' and the bus select
Expected behavior
The expression in the bus select is correctly evaluated for all parameter values and selects the most significant bit of the input (with a width of 1).
Actual behaviour
The parameter expression is evaluated - but this value is actually copied into the bit width cell - and the lsb cell gets evaluated to 0 - -leading to incorrect bits selected.
Screenshots
here x is my parameter - i had the bitwidth set to a constant 1 but it was changed by issie when i changed the value of parameter x.
In this example I set x to 8. as you can see the bitwidth is becomes what the lsb cell should be evaluated to (7) and the lsb is evaluated ot 0 .
Desktop (please complete the following information):
- OS: Windows 11
- Version 5.10.3
When parameterising the lsb cell of a bus select it does not select the correct bits (or width)
Expected behavior
The expression in the bus select is correctly evaluated for all parameter values and selects the most significant bit of the input (with a width of 1).
Actual behaviour
The parameter expression is evaluated - but this value is actually copied into the bit width cell - and the lsb cell gets evaluated to 0 - -leading to incorrect bits selected.
Screenshots
here x is my parameter - i had the bitwidth set to a constant 1 but it was changed by issie when i changed the value of parameter x.
In this example I set x to 8. as you can see the bitwidth is becomes what the lsb cell should be evaluated to (7) and the lsb is evaluated ot 0 .
Desktop (please complete the following information):