VHDL syntax error

后端 未结 1 883
故里飘歌
故里飘歌 2020-12-21 19:24

In my code, I have the following lines:

architecture Behavioral of L6 is

begin
with SEL select 
    Z <= \'1111110\' when \'0000\',
          \'00110000\         


        
相关标签:
1条回答
  • 2020-12-21 19:54

    VHDL uses the single quote for single bit literals, like '1' and 'Z'.

    For bit vector literals, use double quotes "0000", etc.

    0 讨论(0)
提交回复
热议问题