y <= a when (s = b"--0") else \'0\' -- Erroneous. y <= a when (s = "--0") else \'0\' -- Okay.
I\'m using Vivado and it gives