日B视频 亚洲,啪啪啪网站一区二区,91色情精品久久,日日噜狠狠色综合久,超碰人妻少妇97在线,999青青视频,亚洲一区二卡,让本一区二区视频,日韩网站推荐

您好,歡迎來電子發(fā)燒友網(wǎng)! ,新用戶?[免費(fèi)注冊]

您的位置:電子發(fā)燒友網(wǎng)>源碼下載>VHDL/Verilog/EDA源碼>

漢字點(diǎn)陣顯示與數(shù)字搶答器的VHDL程序設(shè)計(jì)(源代碼分享)

大?。?/span>0.1 MB 人氣: 2017-12-02 需要積分:0

  漢字點(diǎn)陣顯示VHDL源程序

  library ieee;

  use ieee.std_logic_1164.all;

  use ieee.std_logic_unsigned.all;

  use ieee.std_logic_arith.all;

  entity hzxs is

  port(clk1,clk2:in std_logic;

  rd:out std_logic;

  we: out std_logic;

  ledw:out std_logic_vector(2 downto 0);

  d:out std_logic_vector(0 downto 7));

  end hzxs;

  architecture hav of hzxs is

  signal count:std_logic_vector(0 to 2);

  signal a: std_logic_vector(3 downto 0);

  begin

  process(clk2)

  begin

  if clk2‘event and clk2=’1‘ then

  count《=count+1;

  end if;

  ledw《=count;

  a(2 downto 0)《=count;

  end process;

  process(clk1)

  begin

  if clk1’event and clk1=‘1’ then

  a(3)《=not a(3);

  end if;

  end process;

  process(a)

  begin

  case a is

  when“0000”=》d《=“10110100”;--數(shù)

  when“0001”=》d《=“11111111”;

  when“0010”=》d《=“01001010”;

  when“0011”=》d《=“11011010”;

  when“0100”=》d《=“11110110”;

  when“0101”=》d《=“11100110”;

  when“0110”=》d《=“01110110”;

  when“0111”=》d《=“11011011”;

  when“1000”=》d《=“00010000”;--字

  when“1001”=》d《=“11111111”;

  when“1010”=》d《=“11111101”;

  when“1011”=》d《=“00001100”;

  when“1100”=》d《=“11111111”;

  when“1101”=》d《=“00010000”;

  when“1110”=》d《=“00010000”;

  when“1111”=》d《=“00001100”;

  when others=》d《=“00000000”;

  end case;

  end process;

  rd《=‘1’;

  we《=‘0’;

  end hav;

非常好我支持^.^

(0) 0%

不好我反對

(0) 0%

      發(fā)表評論

      用戶評論
      評價(jià):好評中評差評

      發(fā)表評論,獲取積分! 請遵守相關(guān)規(guī)定!

      ?
      石嘴山市| 保德县| 木兰县| 湖州市| 丰顺县| 托里县| 来安县| 烟台市| 深水埗区| 兴安盟| 马关县| 龙游县| 马鞍山市| 郴州市| 耒阳市| 耿马| 阿巴嘎旗| 石门县| 沙湾县| 阿城市| 泸定县| 霍邱县| 兰坪| 正安县| 内乡县| 梅州市| 镇康县| 思茅市| 长武县| 福海县| 巴楚县| 金川县| 武隆县| 文成县| 东阳市| 安康市| 阿巴嘎旗| 巴青县| 南汇区| 高台县| 剑川县|