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

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

?? cpu.vhd

?? ALTERA NIOS處理器
?? VHD
?? 第 1 頁 / 共 5 頁
字號:
                 signal do_iSKPx : IN STD_LOGIC;
                 signal hold_for_hazard : IN STD_LOGIC;
                 signal is_cancelled : IN STD_LOGIC;
                 signal is_neutrino : IN STD_LOGIC;
                 signal must_run_to_completion : IN STD_LOGIC;
                 signal op_jmpcall : IN STD_LOGIC;
                 signal op_save_restore : IN STD_LOGIC;
                 signal pipe_run : IN STD_LOGIC;
                 signal reset_n : IN STD_LOGIC;
                 signal subinstruction : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
                 signal trap_if_restore : IN STD_LOGIC;
                 signal trap_if_save : IN STD_LOGIC;

              -- outputs:
                 signal feed_new_instruction : OUT STD_LOGIC
              );
end entity CPU_wait_counter;


architecture europa of CPU_wait_counter is
                signal instruction_delay :  STD_LOGIC_VECTOR (2 DOWNTO 0);
                signal local_pipe_clk_en :  STD_LOGIC;
                signal pipe_state_we :  STD_LOGIC;
                signal unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_in :  STD_LOGIC_VECTOR (2 DOWNTO 0);
                signal unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out :  STD_LOGIC_VECTOR (2 DOWNTO 0);
                signal wait_counter_output :  STD_LOGIC;
                signal wait_once_after :  STD_LOGIC;

begin

  local_pipe_clk_en <= commit;
  pipe_state_we <= (local_pipe_clk_en AND NOT is_neutrino) AND NOT is_cancelled;
  instruction_delay <= A_WE_StdLogicVector((std_logic'((((d1_instruction_fifo_read_data_bad) AND (commit)))) = '1'), "111", A_WE_StdLogicVector((std_logic'((wait_once_after)) = '1'), "110", A_WE_StdLogicVector((std_logic'((must_run_to_completion)) = '1'), "000", "111")));
  wait_once_after <= (op_jmpcall) OR ((op_save_restore AND (((trap_if_save OR trap_if_restore) OR NOT is_neutrino))));
  feed_new_instruction <= ((((wait_counter_output) OR (or_reduce(subinstruction)))) AND (NOT hold_for_hazard)) AND (NOT do_force_trap);
  --wait_counter_shift_register_reg, which is an e_register
  process (clk, reset_n)
  begin
    if reset_n = '0' then
      unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out <= "000";
    elsif clk'event and clk = '1' then
      if std_logic'(((pipe_run AND (NOT or_reduce(subinstruction))) AND NOT hold_for_hazard)) = '1' then 
        unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out <= unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_in;
      end if;
    end if;

  end process;

  unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_in <= A_WE_StdLogicVector((std_logic'((commit)) = '1'), instruction_delay, A_WE_StdLogicVector((true), Std_Logic_Vector'(A_ToStdLogicVector('1') & unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out(2 DOWNTO 1)), unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out));
  wait_counter_output <= unxshiftxxwait_counter_outputxwait_counter_shift_registerx2_out(0);

end europa;


library altera_vhdl_support;
use altera_vhdl_support.altera_vhdl_support_lib.all;

library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;

entity CPU_subinstruction_unit is 
        port (
              -- inputs:
                 signal clk : IN STD_LOGIC;
                 signal commit : IN STD_LOGIC;
                 signal d1_instruction_fifo_out : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal d1_instruction_fifo_read_data_bad : IN STD_LOGIC;
                 signal feed_new_instruction : IN STD_LOGIC;
                 signal force_trap_acknowledge : IN STD_LOGIC;
                 signal is_cancelled : IN STD_LOGIC;
                 signal is_neutrino : IN STD_LOGIC;
                 signal pipe_run : IN STD_LOGIC;
                 signal reset_n : IN STD_LOGIC;

              -- outputs:
                 signal is_subinstruction : OUT STD_LOGIC;
                 signal subinstruction : OUT STD_LOGIC_VECTOR (1 DOWNTO 0)
              );
end entity CPU_subinstruction_unit;


architecture europa of CPU_subinstruction_unit is
                signal internal_is_subinstruction1 :  STD_LOGIC;
                signal internal_subinstruction2 :  STD_LOGIC_VECTOR (1 DOWNTO 0);
                signal local_pipe_clk_en :  STD_LOGIC;
                signal p1_subinstruction :  STD_LOGIC_VECTOR (1 DOWNTO 0);
                signal p1_subinstruction_load_value :  STD_LOGIC_VECTOR (1 DOWNTO 0);
                signal pipe_state_we :  STD_LOGIC;
                signal subcount_en :  STD_LOGIC;

begin

  local_pipe_clk_en <= commit;
  pipe_state_we <= (local_pipe_clk_en AND NOT is_neutrino) AND NOT is_cancelled;
  subcount_en <= feed_new_instruction AND pipe_run;
  --subinstruction_counter, which is an e_register
  process (clk, reset_n)
  begin
    if reset_n = '0' then
      internal_subinstruction2 <= "00";
    elsif clk'event and clk = '1' then
      if std_logic'(subcount_en) = '1' then 
        internal_subinstruction2 <= p1_subinstruction;
      end if;
    end if;

  end process;

  p1_subinstruction <= A_EXT (A_WE_StdLogicVector((std_logic'((internal_is_subinstruction1)) = '1'), (("0" & (internal_subinstruction2)) - "001"), ("0" & (p1_subinstruction_load_value))), 2);
  p1_subinstruction_load_value <= A_WE_StdLogicVector((std_logic'((d1_instruction_fifo_read_data_bad)) = '1'), "00", A_WE_StdLogicVector((std_logic'((force_trap_acknowledge)) = '1'), "11", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND NOT d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND NOT d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND NOT d1_instruction_fifo_out(10))) AND NOT d1_instruction_fifo_out(9)) AND d1_instruction_fifo_out(8)))) = '1'), "11", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND NOT d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND NOT d1_instruction_fifo_out(12)) AND NOT d1_instruction_fifo_out(11)) AND NOT d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND NOT d1_instruction_fifo_out(12)) AND NOT d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND NOT d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND NOT d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND NOT d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND NOT d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10))) AND NOT d1_instruction_fifo_out(9)) AND NOT d1_instruction_fifo_out(8)) AND d1_instruction_fifo_out(7)) AND NOT d1_instruction_fifo_out(6)) AND d1_instruction_fifo_out(5)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10))) AND NOT d1_instruction_fifo_out(9)) AND NOT d1_instruction_fifo_out(8)) AND d1_instruction_fifo_out(7)) AND d1_instruction_fifo_out(6)) AND NOT d1_instruction_fifo_out(5)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND NOT d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND NOT d1_instruction_fifo_out(11)) AND NOT d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND NOT d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND NOT d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10))) AND d1_instruction_fifo_out(9)) AND NOT d1_instruction_fifo_out(8)) AND d1_instruction_fifo_out(7)) AND NOT d1_instruction_fifo_out(6)) AND NOT d1_instruction_fifo_out(5)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10))) AND d1_instruction_fifo_out(9)) AND NOT d1_instruction_fifo_out(8)) AND d1_instruction_fifo_out(7)) AND d1_instruction_fifo_out(6)) AND NOT d1_instruction_fifo_out(5)))) = '1'), "01", A_WE_StdLogicVector((std_logic'(((((((((((((NOT d1_instruction_fifo_out(15) AND d1_instruction_fifo_out(14)) AND d1_instruction_fifo_out(13)) AND d1_instruction_fifo_out(12)) AND d1_instruction_fifo_out(11)) AND d1_instruction_fifo_out(10))) AND d1_instruction_fifo_out(9)) AND d1_instruction_fifo_out(8)) AND NOT d1_instruction_fifo_out(7)) AND d1_instruction_fifo_out(6)) AND NOT d1_instruction_fifo_out(5)))) = '1'), "01", "00"))))))))))))))));
  internal_is_subinstruction1 <= (or_reduce((internal_subinstruction2))) AND (NOT is_neutrino);
  --vhdl renameroo for output signals
  is_subinstruction <= internal_is_subinstruction1;
  --vhdl renameroo for output signals
  subinstruction <= internal_subinstruction2;

end europa;


library altera_vhdl_support;
use altera_vhdl_support.altera_vhdl_support_lib.all;

library ieee;
use ieee.std_logic_1164.all;
use ieee.std_logic_arith.all;
use ieee.std_logic_unsigned.all;

entity CPU_instruction_scheduler is 
        port (
              -- inputs:
                 signal clk : IN STD_LOGIC;
                 signal d1_instruction_fifo_out : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal d1_instruction_fifo_read_data_bad : IN STD_LOGIC;
                 signal do_cancel_next_instruction : IN STD_LOGIC;
                 signal do_force_trap : IN STD_LOGIC;
                 signal do_iPFXx : IN STD_LOGIC;
                 signal do_iSKPx : IN STD_LOGIC;
                 signal do_skip : IN STD_LOGIC;
                 signal force_trap_acknowledge : IN STD_LOGIC;
                 signal hold_for_hazard : IN STD_LOGIC;
                 signal is_cancelled : IN STD_LOGIC;
                 signal must_run_to_completion : IN STD_LOGIC;
                 signal op_jmpcall : IN STD_LOGIC;
                 signal op_save_restore : IN STD_LOGIC;
                 signal pipe_run : IN STD_LOGIC;
                 signal reset_n : IN STD_LOGIC;
                 signal trap_if_restore : IN STD_LOGIC;
                 signal trap_if_save : IN STD_LOGIC;

              -- outputs:
                 signal commit : OUT STD_LOGIC;
                 signal feed_new_instruction : OUT STD_LOGIC;
                 signal is_cancelled_from_commit_stage : OUT STD_LOGIC;
                 signal is_neutrino : OUT STD_LOGIC;
                 signal is_subinstruction : OUT STD_LOGIC;
                 signal subinstruction : OUT STD_LOGIC_VECTOR (1 DOWNTO 0)
              );
end entity CPU_instruction_scheduler;


architecture europa of CPU_instruction_scheduler is
component CPU_wait_counter is 
           port (
                 -- inputs:
                    signal clk : IN STD_LOGIC;
                    signal commit : IN STD_LOGIC;
                    signal d1_instruction_fifo_read_data_bad : IN STD_LOGIC;
                    signal do_force_trap : IN STD_LOGIC;
                    signal do_iSKPx : IN STD_LOGIC;
                    signal hold_for_hazard : IN STD_LOGIC;
                    signal is_cancelled : IN STD_LOGIC;
                    signal is_neutrino : IN STD_LOGIC;
                    signal must_run_to_completion : IN STD_LOGIC;
                    signal op_jmpcall : IN STD_LOGIC;
                    signal op_save_restore : IN STD_LOGIC;
                    signal pipe_run : IN STD_LOGIC;
                    signal reset_n : IN STD_LOGIC;
                    signal subinstruction : IN STD_LOGIC_VECTOR (1 DOWNTO 0);
                    signal trap_if_restore : IN STD_LOGIC;
                    signal trap_if_save : IN STD_LOGIC;

                 -- outputs:
                    signal feed_new_instruction : OUT STD_LOGIC
                 );
end component CPU_wait_counter;

component CPU_subinstruction_unit is 
           port (
                 -- inputs:
                    signal clk : IN STD_LOGIC;
                    signal commit : IN STD_LOGIC;
                    signal d1_instruction_fifo_out : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                    signal d1_instruction_fifo_read_data_bad : IN STD_LOGIC;
                    signal feed_new_instruction : IN STD_LOGIC;
                    signal force_trap_acknowledge : IN STD_LOGIC;
                    signal is_cancelled : IN STD_LOGIC;
                    signal is_neutrino : IN STD_LOGIC;
                    signal pipe_run : IN STD_LOGIC;
                    signal reset_n : IN STD_LOGIC;

                 -- outputs:
                    signal is_subinstruction : OUT STD_LOGIC;
                    signal subinstruction : OUT STD_LOGIC_VECTOR (1 DOWNTO 0)
                 );
end component CPU_subinstruction_unit;

                signal cancel_delay_slot_acknowledge :  STD_LOGIC;
                signal dont_forget_to_cancel_delay_slot :  STD_LOGIC;
                signal dont_forget_to_skip :  STD_LOGIC;
                signal instruction_not_ready :  STD_LOGIC;
                signal internal_commit1 :  STD_LOGIC;
                signal internal_feed_new_instruction :  STD_LOGIC;
                signal internal_is_neutrino1 :  STD_LOGIC;
                signal internal_is_subinstruction :  STD_LOGIC;
                signal internal_subinstruction1 :  STD_LOGIC_VECTOR (1 DOWNTO 0);
                signal local_pipe_clk_en :  STD_LOGIC;
                signal p1_is_neutrino :  STD_LOGIC;
          

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91视频免费看| 久久综合色婷婷| 波多野结衣亚洲一区| 成人午夜碰碰视频| 2023国产一二三区日本精品2022| 国产欧美日韩精品a在线观看| 亚洲免费高清视频在线| 成人午夜激情在线| 精品乱码亚洲一区二区不卡| 亚洲一区国产视频| 91久久精品一区二区三区| 亚洲欧美日韩人成在线播放| av在线播放一区二区三区| 亚洲人成伊人成综合网小说| 成人97人人超碰人人99| 亚洲人成网站影音先锋播放| 97精品久久久久中文字幕| 樱桃视频在线观看一区| 欧美日韩一区二区在线观看| 亚洲高清免费观看高清完整版在线观看| 91在线观看高清| 亚洲福利视频导航| 日韩美女视频在线| 菠萝蜜视频在线观看一区| 欧美激情艳妇裸体舞| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 一区二区三区四区在线免费观看| youjizz久久| 六月丁香婷婷久久| 国产精品无圣光一区二区| 国产亚洲午夜高清国产拍精品 | 国产精品一区免费视频| 国产精品久久久久久久午夜片 | 麻豆国产91在线播放| 国产精品国产三级国产aⅴ中文| 欧美性生活久久| 国产成人精品一区二区三区四区| 亚洲一二三四区| 国产精品不卡在线| 国产欧美一区二区精品秋霞影院| 不卡的av中国片| 成人看片黄a免费看在线| 激情综合网av| 极品少妇一区二区三区精品视频| 亚洲在线观看免费视频| 国产精品福利影院| 国产午夜精品福利| 日韩欧美国产成人一区二区| 欧美一区二区免费| 色香蕉成人二区免费| 色吧成人激情小说| 在线观看不卡视频| 欧美精品日韩一区| 日韩欧美资源站| 久久精品夜色噜噜亚洲a∨| 日本一区二区视频在线| 国产女同互慰高潮91漫画| 中文字幕在线不卡视频| 日韩女同互慰一区二区| 久久亚洲影视婷婷| 成人欧美一区二区三区1314| 亚洲女性喷水在线观看一区| 香蕉成人啪国产精品视频综合网| 日本一不卡视频| 日本美女一区二区三区| 国产精品一区久久久久| 欧美三级一区二区| 国产亚洲一区二区三区四区| 日韩毛片精品高清免费| 首页综合国产亚洲丝袜| 成人亚洲一区二区一| 91麻豆自制传媒国产之光| 日韩一区二区三区四区| 国产精品热久久久久夜色精品三区| 亚洲激情图片qvod| 成人小视频在线| 欧美一级理论片| 亚洲1区2区3区视频| 懂色av一区二区三区蜜臀| 欧美一区二区视频网站| 一区二区三区四区五区视频在线观看| 日日夜夜免费精品| 欧美色区777第一页| 中文字幕日韩欧美一区二区三区| 中文字幕一区二区三区不卡在线 | 欧美午夜在线一二页| 一区免费观看视频| 成人av在线电影| 欧美不卡一区二区| 亚洲三级电影网站| 97久久精品人人做人人爽50路| 日韩亚洲欧美在线观看| 亚洲h精品动漫在线观看| 久久电影国产免费久久电影| 国产精品综合二区| 国产日韩欧美电影| 国产成a人亚洲精| 中日韩免费视频中文字幕| 国产乱码精品一品二品| 国产偷国产偷亚洲高清人白洁| 国产91清纯白嫩初高中在线观看| 国产精品人人做人人爽人人添| 成人精品亚洲人成在线| 一区二区三区在线视频免费观看| 99久精品国产| 日本一道高清亚洲日美韩| 久久天天做天天爱综合色| 蜜桃av噜噜一区| 中文字幕免费观看一区| 欧美怡红院视频| 国产制服丝袜一区| 亚洲免费观看高清| 日韩天堂在线观看| 色88888久久久久久影院按摩| 日韩主播视频在线| 中文字幕不卡在线观看| 日韩欧美一二三四区| 欧美性生交片4| 日av在线不卡| 亚洲风情在线资源站| 亚洲女厕所小便bbb| 久久天天做天天爱综合色| 91麻豆国产在线观看| 99久久久国产精品| 岛国精品在线播放| 国产成人在线看| 国产在线看一区| 国产综合久久久久久鬼色| 亚洲欧美乱综合| 国产精品激情偷乱一区二区∴| 久久午夜国产精品| 欧美精品一区二区三区四区| 99精品在线观看视频| 国产精品一区二区三区99 | 日韩一区二区免费电影| 欧美日韩精品电影| 911精品国产一区二区在线| 欧美日韩国产精品自在自线| 欧美探花视频资源| 91视视频在线观看入口直接观看www| 国产成人在线电影| 在线观看国产91| 日韩一区二区三区视频在线| 欧美一二三四区在线| 久久九九久精品国产免费直播| 国产欧美日韩在线看| 亚洲图片欧美激情| 日本网站在线观看一区二区三区| 国产专区欧美精品| 色综合天天综合网国产成人综合天| 91视频国产观看| 欧美成人精品1314www| 久久人人超碰精品| 一区二区不卡在线播放 | 91精品婷婷国产综合久久| 国产精品免费人成网站| 奇米一区二区三区| 在线电影院国产精品| 夜色激情一区二区| 色综合久久久久久久| 国产精品久久久久永久免费观看| 九九热在线视频观看这里只有精品| 99re8在线精品视频免费播放| 国产欧美日韩久久| 在线观看av不卡| 午夜精品福利在线| 不卡av在线免费观看| 中文字幕免费观看一区| 成人免费av资源| 日韩毛片视频在线看| 欧美日韩视频第一区| 免费的成人av| 国产精品视频免费看| 在线观看免费视频综合| 国产精品一区二区在线观看不卡| 国产精品狼人久久影院观看方式| 在线免费不卡电影| 激情五月婷婷综合网| 亚洲一区二区三区在线播放| 欧美日韩三级视频| 成人a区在线观看| 久久精品噜噜噜成人av农村| 国产精品日产欧美久久久久| 日韩三级在线观看| 欧美日韩亚洲另类| 懂色av中文一区二区三区| 日韩电影免费在线观看网站| 国产精品女人毛片| 中文字幕av不卡| 日韩三级视频在线看| 欧美日韩一区二区在线观看视频| av一区二区不卡| 黄色成人免费在线| 久久精品99国产精品| 亚洲国产另类av| 亚洲一二三级电影| 香蕉成人伊视频在线观看| 亚洲1区2区3区视频| 午夜不卡av在线| 亚洲午夜激情av|