亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? batlatch.vhd

?? 用VHDL開發的棒球游戲
?? VHD
字號:
library ieee;
use ieee.std_logic_1164.all;

entity batlatch is
  port (clk,hit1_in,hit2_in,hit3_in,hit4_in,out_in,resetn,start: in std_logic;
        hit1_out,hit2_out,hit3_out,hit4_out,out_out : out std_logic);
end;

architecture behavior of batlatch is
  type type_sreg is (batter_out,fair,homerun,idle,three_base,two_base,
                     wait_stop);
  signal sreg, next_sreg : type_sreg;
  signal next_hit1_out,next_hit2_out,next_hit3_out,next_hit4_out,next_out_out : std_logic;
begin
  process (clk, resetn)
  begin
    if resetn='0' then
      sreg <= idle;
      hit1_out <= '0';
      hit2_out <= '0';
      hit3_out <= '0';
      hit4_out <= '0';
      out_out <= '0';
    elsif clk='1' and clk'event then
      sreg <= next_sreg;
      hit1_out <= next_hit1_out;
      hit2_out <= next_hit2_out;
      hit3_out <= next_hit3_out;
      hit4_out <= next_hit4_out;
      out_out <= next_out_out;
    end if;
  end process;

  process (sreg,hit1_in,hit2_in,hit3_in,hit4_in,out_in,start)
  begin
    case sreg is
      when batter_out =>
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
      when fair =>
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
      when homerun =>
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
      when idle =>
        if start='1' then
          next_sreg<=wait_stop;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
        else
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
        end if;
      when three_base =>
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
      when two_base =>
          next_sreg<=idle;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
      when wait_stop =>
        if  not (((hit1_in='1') and (hit2_in='0') and (hit3_in='0') and (hit4_in='0') and (out_in='0') and (start='0')) or
                 ((hit1_in='0') and (hit2_in='1') and (hit3_in='0') and (hit4_in='0') and (out_in='0') and (start='0')) or
                 ((hit1_in='0') and (hit2_in='0') and (hit3_in='1') and (hit4_in='0') and (out_in='0') and (start='0')) or
                 ((hit1_in='0') and (hit2_in='0') and (hit3_in='0') and (hit4_in='1') and (out_in='0') and (start='0')) or
                 ((hit1_in='0') and (hit2_in='0') and (hit3_in='0') and (hit4_in='0') and (out_in='1') and (start='0'))) then
          next_sreg<=wait_stop;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
        end if;
        if (hit1_in='1') and (hit2_in='0') and (hit3_in='0') and (hit4_in='0') and (out_in='0') and (start='0') then
          next_sreg<=fair;
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
          next_hit1_out<='1';
        end if;
        if (hit1_in='0') and (hit2_in='1') and (hit3_in='0') and (hit4_in='0') and (out_in='0') and (start='0') then
          next_sreg<=two_base;
          next_hit1_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
          next_hit2_out<='1';
        end if;
        if (hit1_in='0') and (hit2_in='0') and (hit3_in='1') and (hit4_in='0') and (out_in='0') and (start='0') then
          next_sreg<=three_base;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit4_out<='0';
          next_out_out<='0';
          next_hit3_out<='1';
        end if;
        if (hit1_in='0') and (hit2_in='0') and (hit3_in='0') and (hit4_in='1') and (out_in='0') and (start='0') then
          next_sreg<=homerun;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_out_out<='0';
          next_hit4_out<='1';
        end if;
        if (hit1_in='0') and (hit2_in='0') and (hit3_in='0') and (hit4_in='0') and (out_in='1') and (start='0') then
          next_sreg<=batter_out;
          next_hit1_out<='0';
          next_hit2_out<='0';
          next_hit3_out<='0';
          next_hit4_out<='0';
          next_out_out<='1';
        end if;
      when others =>
    end case;
  end process;
end behavior;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
一区二区三区不卡视频在线观看 | 欧美午夜精品理论片a级按摩| 国产成人精品一区二区三区四区 | 国产精品无码永久免费888| 精品粉嫩超白一线天av| 久久亚洲综合色| 亚洲视频在线一区观看| 亚洲视频一区二区在线观看| 亚洲欧洲制服丝袜| 国产精品一区二区视频| 日韩精品电影一区亚洲| 欧美在线你懂得| 久久免费视频一区| 精品裸体舞一区二区三区| 91蜜桃免费观看视频| 91日韩精品一区| 欧美一区二区三区四区在线观看 | 国产精品嫩草久久久久| 国产欧美日韩在线| 一区二区三区波多野结衣在线观看 | 日韩一区二区在线观看视频| 久久婷婷国产综合精品青草| 久久久国产午夜精品| 久久久精品影视| 亚洲精品国产高清久久伦理二区| 久久av中文字幕片| 欧美视频精品在线观看| 中文一区在线播放| 国精产品一区一区三区mba桃花| 欧美亚洲图片小说| 成人欧美一区二区三区1314| 久久精品999| 精品国产伦一区二区三区免费| 亚洲蜜臀av乱码久久精品| 成人av先锋影音| 国产精品午夜免费| av在线播放成人| 国产精品国模大尺度视频| 成人av电影在线观看| 欧美国产乱子伦 | 91精品国产欧美一区二区18| 一个色在线综合| 日本精品免费观看高清观看| 亚洲品质自拍视频| 欧美日韩亚洲高清一区二区| 亚洲一区影音先锋| 日韩视频一区二区| 国产精品影视网| 国产精品理论片| 欧美日韩亚洲综合| 日韩福利视频网| 国产女人18水真多18精品一级做| 国产精品18久久久久久久久久久久| 久久九九久久九九| 色综合色综合色综合色综合色综合| 国产精品毛片高清在线完整版| 波多野结衣中文字幕一区 | 美女一区二区久久| 欧美国产日本视频| 欧美日韩成人综合| 本田岬高潮一区二区三区| 亚洲福利一区二区三区| 久久综合九色欧美综合狠狠| 欧美四级电影在线观看| 国内精品伊人久久久久影院对白| 国产精品乱人伦| 日韩精品一区二区三区视频在线观看 | 免费观看久久久4p| 亚洲精品免费视频| 国产欧美日韩在线观看| 91精品国产免费| 色老汉一区二区三区| 国产在线视频一区二区| 五月激情综合婷婷| 亚洲精品少妇30p| **欧美大码日韩| 国产精品久久久久9999吃药| 久久久久久黄色| 精品国产乱码久久久久久牛牛| 精品视频1区2区| 在线成人av影院| 欧美浪妇xxxx高跟鞋交| 在线观看日韩电影| 欧美区视频在线观看| 欧美日韩中文国产| 欧美日韩大陆在线| 日韩欧美亚洲一区二区| 91精品国模一区二区三区| 91精品国产免费| 欧美成人精品福利| 国产无遮挡一区二区三区毛片日本 | 成人教育av在线| 91麻豆免费看| 欧美片网站yy| 久久午夜色播影院免费高清| 亚洲国产精品成人综合| 国产精品白丝在线| 亚洲黄一区二区三区| 日韩在线a电影| 国产成人在线看| av爱爱亚洲一区| 在线不卡一区二区| 久久久激情视频| 一区二区三区四区国产精品| 午夜精品福利久久久| 国精产品一区一区三区mba桃花 | 69p69国产精品| 欧美激情综合五月色丁香| 亚洲综合在线视频| 国产呦萝稀缺另类资源| 色婷婷综合久色| 国产精品色在线观看| 亚洲另类在线制服丝袜| 国内偷窥港台综合视频在线播放| 一本色道久久综合狠狠躁的推荐| 精品国产91乱码一区二区三区| 中文字幕日本不卡| 大美女一区二区三区| 中文字幕国产一区二区| 亚洲一区二区三区四区在线观看| 国产真实乱对白精彩久久| 老色鬼精品视频在线观看播放| 亚洲成人午夜影院| 国内一区二区在线| 99v久久综合狠狠综合久久| 午夜av区久久| 色哟哟精品一区| 国产精品久久久久久久久久久免费看 | 日韩精品中文字幕一区二区三区| 一区二区三区四区中文字幕| 美国一区二区三区在线播放| 欧美一区二区三区不卡| 亚洲国产视频a| 色婷婷激情一区二区三区| 亚洲男人的天堂在线aⅴ视频| 国v精品久久久网| 国产精品久久精品日日| 成人免费的视频| 一区二区三区日韩在线观看| 色哟哟精品一区| 日韩精品一二三区| 欧美一区二区精品| 国产宾馆实践打屁股91| 自拍偷拍欧美激情| 日韩三级.com| av在线不卡电影| 毛片av一区二区| 国产精品福利一区二区| 色天使久久综合网天天| 久久99国产精品免费| 久久综合色天天久久综合图片| 成人免费高清视频在线观看| 亚洲bt欧美bt精品777| 久久久久久久av麻豆果冻| 欧美吞精做爰啪啪高潮| 国产精品一区二区久久不卡| 亚洲女同ⅹxx女同tv| 91精品国产综合久久香蕉麻豆| 国产老肥熟一区二区三区| 亚洲精品精品亚洲| 欧美国产欧美亚州国产日韩mv天天看完整 | 麻豆国产精品视频| 一区二区三区在线视频观看| 日韩欧美国产电影| 欧美午夜精品理论片a级按摩| 韩国三级在线一区| 精品一区二区三区在线观看国产| 亚洲综合视频在线观看| 亚洲视频 欧洲视频| 欧美极品aⅴ影院| 久久综合九色综合欧美亚洲| 欧美精品乱码久久久久久| 色哦色哦哦色天天综合| 99国产一区二区三精品乱码| 大胆欧美人体老妇| 成人性生交大片| 大陆成人av片| 97久久久精品综合88久久| www.欧美精品一二区| 91亚洲国产成人精品一区二区三 | 中文av字幕一区| 国产精品动漫网站| 亚洲国产成人精品视频| 亚洲最大色网站| 日本亚洲电影天堂| 久久99久久久久久久久久久| 国产在线看一区| www.性欧美| 欧美美女网站色| 国产日韩欧美一区二区三区乱码| 国产精品私人影院| 亚洲国产精品久久一线不卡| 日韩在线a电影| 成人av电影免费在线播放| 欧美视频中文一区二区三区在线观看| 欧美日韩美少妇| 国产亚洲一本大道中文在线| 亚洲欧美激情在线| 国产一区二区福利视频| 欧美军同video69gay|