Why can't I use anything but (0 and 1) when I specify the radix in a literal?

后端 未结 0 1995
别那么骄傲
别那么骄傲 2021-02-18 20:44
y <= a when (s = b"--0") else \'0\' -- Erroneous.
y <= a when (s = "--0")  else \'0\' -- Okay.

I\'m using Vivado and it gives

相关标签:
回答
  • 消灭零回复
提交回复
热议问题