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

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

?? cpu.vhd

?? ALTERA NIOS處理器
?? VHD
?? 第 1 頁 / 共 5 頁
字號:

  unxshiftxread_pointerxxrdaddress_calculatorx0_in <= A_WE_StdLogicVector((std_logic'((flush)) = '1'), "01", A_WE_StdLogicVector((std_logic'((fifo_dec)) = '1'), Std_Logic_Vector'(A_ToStdLogicVector(unxshiftxread_pointerxxrdaddress_calculatorx0_out(0)) & A_ToStdLogicVector(read_pointer(1))), unxshiftxread_pointerxxrdaddress_calculatorx0_out));
  read_pointer <= unxshiftxread_pointerxxrdaddress_calculatorx0_out;
  --wraddress_calculator_reg, which is an e_register
  process (clk, reset_n)
  begin
    if reset_n = '0' then
      unxshiftxwrite_pointerxxwraddress_calculatorx1_out <= "01";
    elsif clk'event and clk = '1' then
      if std_logic'(clk_en) = '1' then 
        unxshiftxwrite_pointerxxwraddress_calculatorx1_out <= unxshiftxwrite_pointerxxwraddress_calculatorx1_in;
      end if;
    end if;

  end process;

  unxshiftxwrite_pointerxxwraddress_calculatorx1_in <= A_WE_StdLogicVector((std_logic'((flush)) = '1'), "01", A_WE_StdLogicVector((std_logic'((fifo_inc)) = '1'), Std_Logic_Vector'(A_ToStdLogicVector(unxshiftxwrite_pointerxxwraddress_calculatorx1_out(0)) & A_ToStdLogicVector(write_pointer(1))), unxshiftxwrite_pointerxxwraddress_calculatorx1_out));
  write_pointer <= unxshiftxwrite_pointerxxwraddress_calculatorx1_out;
  --vhdl renameroo for output signals
  fifo_read_data_bad <= internal_fifo_read_data_bad;
  --vhdl renameroo for output signals
  ic_read <= internal_ic_read3;

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_receive is 
        port (
              -- inputs:
                 signal clk : IN STD_LOGIC;
                 signal commit : IN STD_LOGIC;
                 signal do_branch : IN STD_LOGIC;
                 signal do_force_trap : IN STD_LOGIC;
                 signal do_jump : IN STD_LOGIC;
                 signal feed_new_instruction : IN STD_LOGIC;
                 signal forced_trap_instruction : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal ic_datavalid : IN STD_LOGIC;
                 signal ic_readdata : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal ic_wait : IN STD_LOGIC;
                 signal is_subinstruction : IN STD_LOGIC;
                 signal p1_flush : IN STD_LOGIC;
                 signal pipe_freeze : IN STD_LOGIC;
                 signal pipe_run : IN STD_LOGIC;
                 signal reset_n : IN STD_LOGIC;
                 signal target_address : IN STD_LOGIC_VECTOR (11 DOWNTO 0);
                 signal trap_properly_received : IN STD_LOGIC;

              -- outputs:
                 signal d1_instruction_fifo_out : OUT STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal d1_instruction_fifo_read_data_bad : OUT STD_LOGIC;
                 signal force_trap_acknowledge : OUT STD_LOGIC;
                 signal ic_read : OUT STD_LOGIC;
                 signal instruction : OUT STD_LOGIC_VECTOR (15 DOWNTO 0);
                 signal instruction_fifo_read_data_bad : OUT STD_LOGIC;
                 signal next_instruction_address : OUT STD_LOGIC_VECTOR (11 DOWNTO 0)
              );
attribute auto_dissolve : boolean;
attribute auto_dissolve of CPU_instruction_receive : entity is FALSE;
end entity CPU_instruction_receive;


architecture europa of CPU_instruction_receive is
component CPU_cpu_instruction_fifo_fifo_module is 
           port (
                 -- inputs:
                    signal clk : IN STD_LOGIC;
                    signal clk_en : IN STD_LOGIC;
                    signal fifo_read : IN STD_LOGIC;
                    signal fifo_wr_data : IN STD_LOGIC_VECTOR (15 DOWNTO 0);
                    signal fifo_write : IN STD_LOGIC;
                    signal flush : IN STD_LOGIC;
                    signal ic_wait : IN STD_LOGIC;
                    signal reset_n : IN STD_LOGIC;

                 -- outputs:
                    signal fifo_rd_data : OUT STD_LOGIC_VECTOR (15 DOWNTO 0);
                    signal fifo_read_data_bad : OUT STD_LOGIC;
                    signal ic_read : OUT STD_LOGIC
                 );
end component CPU_cpu_instruction_fifo_fifo_module;

                signal dont_forget_to_force_trap :  STD_LOGIC;
                signal instruction_fifo_out :  STD_LOGIC_VECTOR (15 DOWNTO 0);
                signal instruction_fifo_read :  STD_LOGIC;
                signal internal_d1_instruction_fifo_out :  STD_LOGIC_VECTOR (15 DOWNTO 0);
                signal internal_d1_instruction_fifo_read_data_bad :  STD_LOGIC;
                signal internal_force_trap_acknowledge :  STD_LOGIC;
                signal internal_ic_read2 :  STD_LOGIC;
                signal internal_instruction_fifo_read_data_bad :  STD_LOGIC;
                signal internal_next_instruction_address1 :  STD_LOGIC_VECTOR (11 DOWNTO 0);
                signal next_instruction_address_enable :  STD_LOGIC;
                signal p1_next_instruction_address :  STD_LOGIC_VECTOR (11 DOWNTO 0);
                signal use_saved_next_address :  STD_LOGIC;

begin

  the_CPU_cpu_instruction_fifo_fifo_module : CPU_cpu_instruction_fifo_fifo_module
    port map(
      fifo_rd_data => instruction_fifo_out,
      fifo_read_data_bad => internal_instruction_fifo_read_data_bad,
      ic_read => internal_ic_read2,
      clk => clk,
      clk_en => '1',
      fifo_read => instruction_fifo_read,
      fifo_wr_data => ic_readdata,
      fifo_write => ic_datavalid,
      flush => p1_flush,
      ic_wait => ic_wait,
      reset_n => reset_n
    );


  process (clk, reset_n)
  begin
    if reset_n = '0' then
      internal_d1_instruction_fifo_read_data_bad <= '1';
    elsif clk'event and clk = '1' then
      if std_logic'(instruction_fifo_read) = '1' then 
        internal_d1_instruction_fifo_read_data_bad <= (internal_instruction_fifo_read_data_bad) OR p1_flush;
      end if;
    end if;

  end process;

  process (clk, reset_n)
  begin
    if reset_n = '0' then
      internal_d1_instruction_fifo_out <= "0000000000000000";
    elsif clk'event and clk = '1' then
      if std_logic'(instruction_fifo_read) = '1' then 
        internal_d1_instruction_fifo_out <= instruction_fifo_out;
      end if;
    end if;

  end process;

  process (clk, reset_n)
  begin
    if reset_n = '0' then
      dont_forget_to_force_trap <= '0';
    elsif clk'event and clk = '1' then
      if std_logic'(pipe_run) = '1' then 
        if std_logic'(trap_properly_received) = '1' then 
          dont_forget_to_force_trap <= '0';
        elsif std_logic'(do_force_trap) = '1' then 
          dont_forget_to_force_trap <= '1';
        end if;
      end if;
    end if;

  end process;

  internal_force_trap_acknowledge <= dont_forget_to_force_trap;
  instruction <= A_WE_StdLogicVector((std_logic'(internal_force_trap_acknowledge) = '1'), forced_trap_instruction, internal_d1_instruction_fifo_out);
  instruction_fifo_read <= commit OR ((internal_d1_instruction_fifo_read_data_bad AND NOT pipe_freeze));
  next_instruction_address_enable <= ((((feed_new_instruction) AND (NOT is_subinstruction)) AND (NOT pipe_freeze)) AND (NOT internal_d1_instruction_fifo_read_data_bad)) AND (NOT internal_force_trap_acknowledge);
  process (clk, reset_n)
  begin
    if reset_n = '0' then
      internal_next_instruction_address1 <= "100000000000";
    elsif clk'event and clk = '1' then
      if std_logic'(next_instruction_address_enable) = '1' then 
        internal_next_instruction_address1 <= p1_next_instruction_address;
      end if;
    end if;

  end process;

  p1_next_instruction_address <= A_EXT (A_WE_StdLogicVector((std_logic'((((do_branch OR do_jump) OR use_saved_next_address))) = '1'), ("0" & (target_address)), (("0" & (internal_next_instruction_address1)) + "0000000000001")), 12);
  process (clk, reset_n)
  begin
    if reset_n = '0' then
      use_saved_next_address <= '0';
    elsif clk'event and clk = '1' then
      if std_logic'(pipe_run) = '1' then 
        if std_logic'((((do_jump OR do_branch)) AND NOT next_instruction_address_enable)) = '1' then 
          use_saved_next_address <= '1';
        elsif std_logic'(next_instruction_address_enable) = '1' then 
          use_saved_next_address <= '0';
        end if;
      end if;
    end if;

  end process;

  --vhdl renameroo for output signals
  d1_instruction_fifo_out <= internal_d1_instruction_fifo_out;
  --vhdl renameroo for output signals
  d1_instruction_fifo_read_data_bad <= internal_d1_instruction_fifo_read_data_bad;
  --vhdl renameroo for output signals
  force_trap_acknowledge <= internal_force_trap_acknowledge;
  --vhdl renameroo for output signals
  ic_read <= internal_ic_read2;
  --vhdl renameroo for output signals
  instruction_fifo_read_data_bad <= internal_instruction_fifo_read_data_bad;
  --vhdl renameroo for output signals
  next_instruction_address <= internal_next_instruction_address1;

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_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;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲日本电影在线| 亚洲夂夂婷婷色拍ww47| 欧洲一区在线电影| 国产在线视频不卡二| 亚洲国产成人av网| 中文字幕中文字幕在线一区| 欧美电视剧免费观看| 日本高清无吗v一区| 成人影视亚洲图片在线| 久久精品二区亚洲w码| 亚洲图片欧美综合| 成人欧美一区二区三区黑人麻豆| 欧美大度的电影原声| 欧美在线观看一二区| av高清久久久| 国产一区二区三区免费| 免费高清在线视频一区·| 亚洲一区在线看| 亚洲免费资源在线播放| 国产精品青草久久| 久久免费国产精品| 精品国产免费视频| 欧美一区二区三区视频免费播放| 色系网站成人免费| 色偷偷成人一区二区三区91 | 国产原创一区二区三区| 日韩二区三区四区| 亚洲福利视频导航| 亚洲激情五月婷婷| 亚洲男人的天堂在线观看| 中文字幕在线观看一区| 国产日韩欧美在线一区| 国产午夜亚洲精品理论片色戒| 欧美变态口味重另类| 91精品在线一区二区| 欧美亚洲综合在线| 色婷婷综合激情| 日本高清免费不卡视频| 在线免费一区三区| 色菇凉天天综合网| 欧美日韩免费一区二区三区| 欧美日韩国产综合一区二区| 欧美日韩视频在线观看一区二区三区 | 亚洲同性gay激情无套| 亚洲国产精品黑人久久久| 中文字幕第一页久久| 国产精品沙发午睡系列990531| 国产人久久人人人人爽| 中文字幕亚洲区| 夜夜嗨av一区二区三区四季av| 一片黄亚洲嫩模| 亚洲成a人片综合在线| 日精品一区二区三区| 视频在线观看一区| 蜜桃av一区二区三区电影| 男人的j进女人的j一区| 韩国毛片一区二区三区| 国产福利不卡视频| 99久久99久久久精品齐齐 | 精品国产凹凸成av人网站| 久久久亚洲午夜电影| 国产精品久久午夜| 一区二区三区在线观看国产| 亚洲成av人片观看| 国产在线播精品第三| 成人av电影在线| 欧美综合天天夜夜久久| 777奇米成人网| 久久久噜噜噜久久人人看| 亚洲欧美区自拍先锋| 午夜精品久久久久久久久久久| 蜜桃一区二区三区在线观看| 成人综合在线观看| 欧美日韩小视频| 欧美国产一区二区| 午夜久久久久久久久久一区二区| 美女一区二区久久| 99综合电影在线视频| 91精品欧美综合在线观看最新| 久久久久久久久久看片| 亚洲女女做受ⅹxx高潮| 麻豆免费精品视频| 97久久超碰国产精品| 日韩女优电影在线观看| 最新国产の精品合集bt伙计| 日本成人在线网站| 成人高清伦理免费影院在线观看| 欧美日本一区二区在线观看| 中文字幕欧美三区| 天堂成人国产精品一区| jlzzjlzz亚洲女人18| 欧美大片日本大片免费观看| 亚洲同性gay激情无套| 国产资源在线一区| 欧美日韩一级黄| 国产精品的网站| 精品一区二区三区久久| 欧美午夜片在线观看| 国产欧美一区二区精品忘忧草 | 国产成人福利片| 欧美午夜精品一区二区蜜桃| 国产欧美一区二区在线| 美女网站色91| 欧美视频中文字幕| 国产精品国产三级国产aⅴ原创| 免费观看在线色综合| 日本精品视频一区二区| 日韩av一区二区三区四区| 99精品热视频| 国产三区在线成人av| 日本不卡视频一二三区| 欧美亚洲综合久久| 国产精品国产三级国产三级人妇| 国产一区在线观看视频| 日韩一区二区三区视频在线| 亚洲一区二区三区自拍| 色哟哟在线观看一区二区三区| 国产精品无遮挡| 精品一区在线看| 欧美一区二区不卡视频| 亚洲国产日韩在线一区模特| 色综合天天天天做夜夜夜夜做| 久久精品欧美日韩精品| 激情文学综合网| 精品免费99久久| 日韩一区欧美二区| 欧美日韩国产一级片| 亚洲国产乱码最新视频| 在线观看av一区二区| 一区二区三区在线影院| 成人app网站| 中文字幕一区二区三区视频| 国产成人精品一区二区三区四区 | 日韩欧美国产三级电影视频| 日韩电影网1区2区| 日韩一区二区电影网| 裸体健美xxxx欧美裸体表演| 在线播放中文字幕一区| 日韩**一区毛片| 欧美一区二区三区四区视频 | 国产mv日韩mv欧美| 久久久精品一品道一区| 成人av午夜电影| 亚洲色图欧洲色图婷婷| 91亚洲精华国产精华精华液| 亚洲日本一区二区| 91福利视频网站| 亚洲v日本v欧美v久久精品| 欧美日韩精品专区| 视频一区欧美日韩| 日韩午夜小视频| 国产精品一品二品| 国产精品色哟哟网站| 色视频成人在线观看免| 亚洲第一av色| 欧美哺乳videos| 成人高清免费在线播放| 亚洲美女免费在线| 欧美丝袜第三区| 激情六月婷婷久久| 国产精品乱码一区二三区小蝌蚪| 91欧美一区二区| 日韩国产欧美在线视频| 久久影院午夜论| 99精品在线免费| 日本视频免费一区| 国产日韩欧美不卡| 色视频一区二区| 精品无人码麻豆乱码1区2区| 国产精品高潮呻吟久久| 欧美影院一区二区三区| 看电视剧不卡顿的网站| 国产精品久线在线观看| 欧美日本韩国一区| 国产精品影音先锋| 亚洲二区在线观看| 精品不卡在线视频| 91丨九色丨黑人外教| 免费久久精品视频| 综合分类小说区另类春色亚洲小说欧美| 欧美性色黄大片| 国产精品亚洲第一区在线暖暖韩国 | 午夜一区二区三区视频| 久久久.com| 欧美一区二区日韩| eeuss影院一区二区三区| 秋霞影院一区二区| 亚洲欧美一区二区三区久本道91 | 欧美日韩亚洲丝袜制服| 国产一区二区三区最好精华液| 亚洲精品伦理在线| 久久一留热品黄| 在线免费观看日本一区| 国产成人在线视频网站| 午夜精品久久久久久久久| 1000精品久久久久久久久| 日韩欧美中文一区二区| 欧美无人高清视频在线观看| 国产成a人亚洲| 人禽交欧美网站|