Hi@all.
Is there a possibility of using bitwise operators and logical shifting in Modelica?
I know the algorithm-part needs an algorothm keyword, which I also use, and the varables input and output are not the one that would physically come into the Model.Of course, I could write the code 4-times for a 4-bit varable, but it would be very unpleasent and ugly to convert a 32-bit variable by copy-pasting.
I know the algorithm-part needs an algorothm keyword, which I also use, and the varables input and output are not the one that would physically come into the Model.Of course, I could write the code 4-times for a 4-bit varable, but it would be very unpleasent and ugly to convert a 32-bit variable by copy-pasting.