中文字幕 另类精品,亚洲欧美一区二区蜜桃,日本在线精品视频免费,孩交精品乱子片免费

<sup id="3hn2b"></sup>

    1. <sub id="3hn2b"><ol id="3hn2b"></ol></sub><legend id="3hn2b"></legend>

      1. <xmp id="3hn2b"></xmp>

      2. 新聞中心

        EEPW首頁 > EDA/PCB > 設計應用 > 基于PLD的矩陣鍵盤狀態(tài)機控制

        基于PLD的矩陣鍵盤狀態(tài)機控制

        作者: 時間:2012-03-12 來源:網絡 收藏

        else

        key_value = key_value;

        end

        end

        //Capture the falling endge

        reg key_flag_r2,key_flag_r1;

        always@(posedge clk or negedge rst_n)

        begin

        if(!rst_n)

        begin

        key_flag_r1 = 0;

        key_flag_r2 = 0;

        end

        else

        begin

        key_flag_r1 = key_flag_r0;

        key_flag_r2 = key_flag_r1;

        end

        end

        assign key_flag = key_flag_r2 ~key_flag_r1; //when your hand is gone

        endmodule

        2. 狀態(tài)機說明

        (1)以下是該電路的state machine。

        62.jpg


        上一頁 1 2 3 4 下一頁

        關鍵詞: PLD 矩陣鍵盤

        評論


        相關推薦

        技術專區(qū)

        關閉