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

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

?? kcpsm.vhd

?? 描述:LED示范、按鈕及開關、視頻輸出、鍵入、含Xilinx PicoBlaze微處理器的存儲器模塊
?? VHD
?? 第 1 頁 / 共 5 頁
字號:

  capture_flop: FDR
  port map ( D => interrupt,
             Q => clean_INT,
             R => reset,
             C => clk);

  pulse_lut: LUT4
  --translate_off
    generic map (INIT => X"0080")
  --translate_on
  port map( I0 => T_state,
            I1 => clean_INT,
            I2 => INT_enable,
            I3 => active_interrupt_internal,
             O => interrupt_pulse );

  active_flop: FDR
  port map ( D => interrupt_pulse,
             Q => active_interrupt_internal,
             R => reset,
             C => clk);

  -- Shadow flags

  shadow_carry_flop: FDE
  port map ( D => carry_flag,
             Q => shadow_carry,
            CE => active_interrupt_internal,
             C => clk);

  shadow_zero_flop: FDE
  port map ( D => zero_flag,
             Q => shadow_zero,
            CE => active_interrupt_internal,
             C => clk);
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of the Input and Output Strobes 
--	
-- Uses 3 LUTs and 2 flip-flops
--
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
library unisim;
use unisim.vcomponents.all;
--
entity IO_strobe_logic is
    Port (    instruction15 : in std_logic;
              instruction14 : in std_logic;
              instruction13 : in std_logic;
           active_interrupt : in std_logic;
                    T_state : in std_logic;
                      reset : in std_logic;
               write_strobe : out std_logic;
                read_strobe : out std_logic;
                        clk : in std_logic);
    end IO_strobe_logic;
--
architecture low_level_definition of IO_strobe_logic is
--
-- Internal signals
--
signal IO_type     : std_logic;
signal write_event : std_logic;
signal read_event  : std_logic;
--
-- Attributes to define LUT contents during implementation 
-- The information is repeated in the generic map for functional simulation
attribute INIT : string; 
attribute INIT of IO_type_lut : label is "8"; 
attribute INIT of write_lut   : label is "1000"; 
attribute INIT of read_lut    : label is "0100"; 
--
begin
  --
  IO_type_lut: LUT2
  --translate_off
    generic map (INIT => X"8")
  --translate_on
  port map( I0 => instruction13,
            I1 => instruction15,
             O => IO_type );

  write_lut: LUT4
  --translate_off
    generic map (INIT => X"1000")
  --translate_on
  port map( I0 => active_interrupt,
            I1 => T_state,
            I2 => instruction14,
            I3 => IO_type,
             O => write_event );

  write_flop: FDR
  port map ( D => write_event,
             Q => write_strobe,
             R => reset,
             C => clk);

  read_lut: LUT4
  --translate_off
    generic map (INIT => X"0100")
  --translate_on
  port map( I0 => active_interrupt,
            I1 => T_state,
            I2 => instruction14,
            I3 => IO_type,
             O => read_event );

  read_flop: FDR
  port map ( D => read_event,
             Q => read_strobe,
             R => reset,
             C => clk);
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of RAM for stack
--	 
-- This is a 16 location single port RAM of 8-bits to support the address range
-- of the program counter. The ouput is registered and the write enable is active low.
--
-- Total size 8 LUTs and 8 flip-flops.
--
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
library unisim;
use unisim.vcomponents.all;
--
entity stack_ram is
    Port (        Din : in std_logic_vector(7 downto 0);
                 Dout : out std_logic_vector(7 downto 0);
                 addr : in std_logic_vector(3 downto 0);
            write_bar : in std_logic;
                  clk : in std_logic);
    end stack_ram;
--
architecture low_level_definition of stack_ram is
--
-- Internal signals
--
signal ram_out      : std_logic_vector(7 downto 0);
signal write_enable : std_logic;
--
begin

  invert_enable: INV   -- Inverter should be implemented in the WE to RAM
  port map(  I => write_bar,
             O => write_enable);  
 
  bus_width_loop: for i in 0 to 7 generate
  --
  -- Attribute to define RAM contents during implementation 
  -- The information is repeated in the generic map for functional simulation
  --
  attribute INIT : string; 
  attribute INIT of stack_ram_bit : label is "0000"; 
  --
  begin

     stack_ram_bit: RAM16X1S
     -- translate_off
     generic map(INIT => X"0000")
     -- translate_on
     port map (    D => Din(i),
                  WE => write_enable,
                WCLK => clk,
                  A0 => addr(0),
                  A1 => addr(1),
                  A2 => addr(2),
                  A3 => addr(3),
                   O => ram_out(i));

     stack_ram_flop: FD
     port map ( D => ram_out(i),
                Q => Dout(i),
                C => clk);

  end generate bus_width_loop;
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of a 4-bit special counter for stack pointer
-- including instruction decoding.	
--
-- Total size 8 LUTs and 4 flip-flops.
--
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
use IEEE.STD_LOGIC_ARITH.ALL;
use IEEE.STD_LOGIC_UNSIGNED.ALL;
library unisim;
use unisim.vcomponents.all;
--
entity stack_counter is
    Port (        instruction15 : in std_logic;
                  instruction14 : in std_logic;
                  instruction13 : in std_logic;
                  instruction12 : in std_logic;
                   instruction9 : in std_logic;
                   instruction8 : in std_logic;
                   instruction7 : in std_logic;
                        T_state : in std_logic;
             flag_condition_met : in std_logic;
               active_interrupt : in std_logic;
                          reset : in std_logic;
                    stack_count : out std_logic_vector(3 downto 0);
                            clk : in std_logic);
    end stack_counter;
--
architecture low_level_definition of stack_counter is
--
-- Internal signals
--
signal not_interrupt     : std_logic;
signal count_value       : std_logic_vector(3 downto 0);
signal next_count        : std_logic_vector(3 downto 0);
signal count_carry       : std_logic_vector(2 downto 0);
signal half_count        : std_logic_vector(3 downto 0);
signal call_type         : std_logic;
signal valid_to_move     : std_logic;
signal pp_decode_a       : std_logic;
signal pp_decode_a_carry : std_logic;
signal pp_decode_b       : std_logic;
signal push_or_pop_type  : std_logic;
--
-- Attributes to define LUT contents during implementation 
-- The information is repeated in the generic map for functional simulation
attribute INIT : string; 
attribute INIT of valid_move_lut : label is "D"; 
attribute INIT of call_lut       : label is "0200"; 
attribute INIT of pp_a_lut       : label is "F2"; 
attribute INIT of pp_b_lut       : label is "10"; 
--
begin

  invert_interrupt: INV   -- Inverter should be implemented in the CE to flip flops
  port map(  I => active_interrupt,
             O => not_interrupt);  
  --
  -- Control logic decoding
  --
  valid_move_lut: LUT2
  --translate_off
    generic map (INIT => X"D")
  --translate_on
  port map( I0 => instruction12,
            I1 => flag_condition_met,
             O => valid_to_move );

  call_lut: LUT4
  --translate_off
    generic map (INIT => X"0200")
  --translate_on
  port map( I0 => instruction9,
            I1 => instruction13,
            I2 => instruction14,
            I3 => instruction15,
             O => call_type );


  pp_a_lut: LUT3
  --translate_off
    generic map (INIT => X"F2")
  --translate_on
  port map( I0 => instruction7,
            I1 => instruction8,
            I2 => instruction9,
             O => pp_decode_a );

  pp_b_lut: LUT3
  --translate_off
    generic map (INIT => X"10")
  --translate_on
  port map( I0 => instruction13,
            I1 => instruction14,
            I2 => instruction15,
             O => pp_decode_b );

  pp_a_muxcy: MUXCY
  port map( DI => '0',
            CI => '1',
             S => pp_decode_a,
             O => pp_decode_a_carry );

  en_b_cymux: MUXCY
  port map( DI => '0',
            CI => pp_decode_a_carry,
             S => pp_decode_b,
             O => push_or_pop_type  );

  count_width_loop: for i in 0 to 3 generate
  --
  -- The counter
  --
  begin

     register_bit: FDRE
     port map ( D => next_count(i),
                Q => count_value(i),
                R => reset,
               CE => not_interrupt,
                C => clk);

     lsb_count: if i=0 generate
	--
      -- Attribute to define LUT contents during implementation 
      -- The information is repeated in the generic map for functional simulation
      --
      attribute INIT : string; 
      attribute INIT of count_lut : label is "6555"; 
      --
	begin

       count_lut: LUT4
       --translate_off
       generic map (INIT => X"6555")
       --translate_on
       port map( I0 => count_value(i),
                 I1 => T_state,
                 I2 => valid_to_move,
                 I3 => push_or_pop_type,
                  O => half_count(i) );

       count_muxcy: MUXCY
       port map( DI => count_value(i),
                 CI => '0',
                  S => half_count(i),
                  O => count_carry(i));

       count_xor: XORCY
       port map( LI => half_count(i),
                 CI => '0',
                  O => next_count(i));
					   					   
	  end generate lsb_count;

     mid_count: if i>0 and i<3 generate
     --
     -- Attribute to define LUT contents during implementation 
     -- The information is repeated in the generic map for functional simulation
     --
     attribute INIT : string; 
     attribute INIT of count_lut : label is "A999"; 
     --
     begin

       count_lut: LUT4
       --translate_off
       generic map (INIT => X"A999")
       --translate_on
       port map( I0 => count_value(i),
                 I1 => T_state,
                 I2 => valid_to_move,
                 I3 => call_type,
                  O => half_count(i) );

       count_muxcy: MUXCY
       port map( DI => count_value(i),
                 CI => count_carry(i-1),
                  S => half_count(i),
                  O => count_carry(i));

       count_xor: XORCY
       port map( LI => half_count(i),
                 CI => count_carry(i-1),
                  O => next_count(i));

     end generate mid_count;

     msb_count: if i=3 generate
     --
     -- Attribute to define LUT contents during implementation 
     -- The information is repeated in the generic map for functional simulation
     --
     attribute INIT : string; 
     attribute INIT of count_lut : label is "A999"; 
     --
     begin

       count_lut: LUT4
       --translate_off
       generic map (INIT => X"A999")
       --translate_on
       port map( I0 => count_value(i),
                 I1 => T_state,
                 I2 => valid_to_move,
                 I3 => call_type,
                  O => half_count(i) );

       count_xor: XORCY
       port map( LI => half_count(i),
                 CI => count_carry(i-1),
                  O => next_count(i));

     end generate msb_count;

  end generate count_width_loop;

  stack_count <= count_value;
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of an 8-bit program counter
--	
-- This function provides the program counter and all decode logic.
--
-- Total size 21 LUTs and 8 flip-flops.
--

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产高清亚洲一区| 日韩av不卡在线观看| 日韩欧美在线1卡| a亚洲天堂av| 美女爽到高潮91| 亚洲狠狠丁香婷婷综合久久久| 91精品国产色综合久久久蜜香臀| 成人av一区二区三区| 极品少妇一区二区| 亚洲成人免费视频| 亚洲欧洲日本在线| 2023国产精华国产精品| 欧美日韩一区成人| 99r精品视频| 国产盗摄精品一区二区三区在线| 日韩av电影天堂| 亚洲狠狠爱一区二区三区| 国产精品沙发午睡系列990531| 精品少妇一区二区三区日产乱码| 欧美日韩一区视频| 色综合久久中文字幕综合网| 高清免费成人av| 极品少妇xxxx偷拍精品少妇| 免费欧美在线视频| 丝袜亚洲另类欧美| 一区二区三区电影在线播| 国产精品久久久久久久久图文区 | 日韩在线一二三区| 亚洲精品免费在线| 中文字幕一区二区在线播放 | 自拍偷自拍亚洲精品播放| 久久亚洲精华国产精华液| 日韩视频免费观看高清在线视频| 欧美色综合网站| 欧美色图在线观看| 精品视频一区二区三区免费| 欧洲国产伦久久久久久久| 日本高清不卡一区| 在线一区二区观看| 在线观看视频一区二区| 色94色欧美sute亚洲线路一ni| 91麻豆高清视频| 在线亚洲+欧美+日本专区| 在线观看91视频| 欧美日韩成人一区| 欧美日本高清视频在线观看| 欧美日韩mp4| 91精品国产综合久久婷婷香蕉 | 亚洲欧洲日韩女同| 亚洲色图制服诱惑| 亚洲激情一二三区| 婷婷综合久久一区二区三区| 蜜臀va亚洲va欧美va天堂| 捆绑紧缚一区二区三区视频| 国产真实乱偷精品视频免| 国产91精品一区二区麻豆网站| 国产成人免费视| aaa亚洲精品一二三区| 色94色欧美sute亚洲线路一ni| 欧美三级日韩三级| 日韩免费高清av| 久久久久99精品一区| 国产精品久久久久久久久免费相片| 中文字幕在线观看不卡| 亚洲成人av一区| 国产一区二区在线观看免费| 成人午夜免费av| 欧美亚洲日本国产| 26uuu久久天堂性欧美| 国产婷婷一区二区| 亚洲精品精品亚洲| 日本亚洲一区二区| 国产91丝袜在线观看| 欧美日韩视频不卡| 日韩视频不卡中文| 国产精品色在线| 日产国产高清一区二区三区| 激情综合色综合久久综合| 成人黄色在线视频| 91精品久久久久久久91蜜桃| 国产精品免费看片| 日韩精品久久久久久| 丁香婷婷综合激情五月色| 欧美日韩一区精品| 国产欧美日韩三级| 五月天一区二区| 国产高清视频一区| 欧美精品久久久久久久多人混战 | 亚洲欧美激情小说另类| 蜜臀av一区二区在线免费观看| 91在线视频免费91| 精品美女被调教视频大全网站| 亚洲免费视频中文字幕| 国产又粗又猛又爽又黄91精品| 91麻豆免费看片| 久久午夜羞羞影院免费观看| 一区二区欧美精品| 国产91在线|亚洲| 日韩欧美中文字幕一区| 亚洲丝袜精品丝袜在线| 韩日精品视频一区| 欧美狂野另类xxxxoooo| 亚洲天堂av老司机| 高清国产一区二区| 日韩欧美美女一区二区三区| 亚洲成人av免费| 一本色道综合亚洲| 欧美国产日本韩| 极品少妇一区二区| 日韩一级片在线播放| 亚洲国产三级在线| 成人av电影在线观看| 国产色综合久久| 韩日av一区二区| 日韩欧美一区二区视频| 亚洲成人午夜影院| 色婷婷av一区| 中文字幕日韩欧美一区二区三区| 国产一区二区三区在线观看免费| 欧美精品一卡两卡| 亚洲va国产天堂va久久en| 色综合欧美在线| 1024成人网| 成人免费黄色在线| 欧美国产激情一区二区三区蜜月| 极品少妇xxxx精品少妇偷拍 | 欧美sm极限捆绑bd| 日韩国产欧美视频| 欧美日韩久久不卡| 亚洲第一在线综合网站| 色猫猫国产区一区二在线视频| 最新日韩av在线| a4yy欧美一区二区三区| 亚洲日本乱码在线观看| 成人av动漫在线| 亚洲婷婷综合色高清在线| 91麻豆swag| 一区二区三区四区精品在线视频| 色综合久久88色综合天天6| 17c精品麻豆一区二区免费| 99re亚洲国产精品| 亚洲精品国产a| 欧美日韩亚洲国产综合| 午夜电影久久久| 日韩一区二区三| 国产资源在线一区| 国产精品视频在线看| 99国产精品视频免费观看| 一区二区三区在线免费| 欧美人妇做爰xxxⅹ性高电影| 日韩电影在线一区二区三区| 精品国产伦一区二区三区免费| 精品一区二区在线看| 久久精品视频在线免费观看| 成人免费视频网站在线观看| 亚洲精品日韩综合观看成人91| 欧美高清视频一二三区 | 亚洲国产日韩av| 欧美欧美欧美欧美| 久久精品二区亚洲w码| 久久久久久久久蜜桃| 99久久99久久精品国产片果冻| 亚洲美女屁股眼交3| 欧美乱妇23p| 高清久久久久久| 午夜久久电影网| 久久影院视频免费| 91麻豆免费在线观看| 麻豆成人在线观看| 国产精品美女久久福利网站| 91老司机福利 在线| 日本美女视频一区二区| 国产女同性恋一区二区| 欧美视频一区二区三区四区| 国模少妇一区二区三区| 亚洲男人电影天堂| 日韩写真欧美这视频| 成人av网址在线| 日本不卡的三区四区五区| 中日韩av电影| 欧美一区午夜视频在线观看| 国产成+人+日韩+欧美+亚洲| 天堂在线一区二区| 国产精品福利一区二区三区| 欧美一区二区日韩一区二区| 成人97人人超碰人人99| 日韩影院精彩在线| 国产精品欧美极品| 日韩一区二区三区在线| 日本精品一区二区三区高清 | 亚洲品质自拍视频网站| 精品国产髙清在线看国产毛片 | 国产午夜精品久久久久久免费视 | 一本大道久久精品懂色aⅴ| 蜜桃视频在线观看一区| 亚洲中国最大av网站| 亚洲国产精品精华液ab| 欧美一区二区三区成人| 欧美午夜精品一区二区蜜桃| 国产99久久久久久免费看农村|