流水灯运行程序报错,用的是quartus软件调试

流水灯运行程序报错,用的是quartus软件调试,第1张

你好,用你的电脑NIC地址再拷贝进去就好了,把license。DAT里面的HOSTID改为现在的即可,碰好ID可以在软件上面工具栏的“TOOLs”license setup里面有NICID复制激或过去!我的就是这样改明吵伍的,问题是一样的,不知道效果一样不!

貌似改成两个[3..0]的脚吧?用VHDL语言编写程序,让他自己去生成一个三八译码器就好了嘛,程序如下:

library IEEE

use IEEE.Std_Logic_1164.ALL

entity decoder IS

port (in1 : in Std_Logic_Vector(2 downto 0)

out1,out2 : out Std_Logic_Vector(3 downto 0))

end decoder

architecture decoder38 of decoder is

begin

decoder:process(in1)

begin

case in1 is

when"000"=>out1<="00000001"

when"001"=>out1<="00000010"

when"010"=>out1<="00000100"

when"011"=>out1<="00001000"

when"100"=>out2<="00010000"

when"101"=>out2<禅岁="00100000"

when"110"桥袭弯=>out2<="01000000"

when"111"=>out2<="10000000"

when others=>null

end case

end process decoder

end decoder38

自己去实现敏闷吧,哈哈……

摘自动感居百科


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/yw/8193153.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-14
下一篇2023-04-14

发表评论

登录后才能评论

评论列表(0条)

    保存