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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? kcpsm.vhd

?? 描述:LED示范、按鈕及開關(guān)、視頻輸出、鍵入、含Xilinx PicoBlaze微處理器的存儲器模塊
?? VHD
?? 第 1 頁 / 共 5 頁
字號:
-- Constant (K) Coded Programmable State Machine for Spartan-II and Virtex-E Devices
--
-- Version : 1.00c
-- Version Date : 14th August 2002
--
-- Start of design entry : 2nd July 2002
--
-- Ken Chapman
-- Xilinx Ltd
-- Benchmark House
-- 203 Brooklands Road
-- Weybridge
-- Surrey KT13 ORH
-- United Kingdom
--
-- chapman@xilinx.com
--
------------------------------------------------------------------------------------
--
-- NOTICE:
--
-- Copyright Xilinx, Inc. 2002.   This code may be contain portions patented by other 
-- third parites.  By providing this core as one possible implementation of a standard,
-- Xilinx is making no representation that the provided implementation of this standard 
-- is free from any claims of infringement by any third party.  Xilinx expressly 
-- disclaims any warranty with respect to the adequacy of the implementation, including 
-- but not limited to any warranty or representation that the implementation is free 
-- from claims of any third party.  Futhermore, Xilinx is providing this core as a 
-- courtesy to you and suggests that you contact all third parties to obtain the 
-- necessary rights to use this implementation.
--
------------------------------------------------------------------------------------
--
-- Format of this file.
--
-- This file contains the definition of KCPSM and all the submodules which it 
-- required. The definition of KCPSM is placed at the end of this file as the order 
-- in which each entity is read is important for some simulation and synthesis tools.
-- Hence the first entity to be seen below is that of a submodule.
--
--
-- The submodules define the implementation of the logic using Xilinx primitives.
-- These ensure predictable synthesis results and maximise the density of the implementation. 
-- The Unisim Library is used to define Xilinx primitives. It is also used during
-- simulation. The source can be viewed at %XILINX%\vhdl\src\unisims\unisim_VCOMP.vhd
-- It is only specified in sub modules which contain primitive components.
-- 
-- library unisim;
-- use unisim.vcomponents.all;
--
------------------------------------------------------------------------------------
--
-- Description of sub-modules and further low level modules.
--
------------------------------------------------------------------------------------
--
-- Definition of an 8-bit bus 4 to 1 multiplexer with embeded select signal decoding.
-- 
-- sel1  sel0a  sel0b   Y_bus 
--  
--  0      0      x     D0_bus
--  0      1      x     D1_bus
--  1      x      0     D2_bus
--  1      x      1     D3_bus
--
-- sel1 is the pipelined decode of instruction12, instruction13, and instruction15.
-- sel0a is code2 after pipeline delay.
-- sel0b is instruction14 after pipeline delay.
--
-- Requires 17 LUTs and 3 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 data_bus_mux4 is
    Port (         D3_bus : in std_logic_vector(7 downto 0);
                   D2_bus : in std_logic_vector(7 downto 0);    
                   D1_bus : in std_logic_vector(7 downto 0);
                   D0_bus : in std_logic_vector(7 downto 0);
            instruction15 : in std_logic;
            instruction14 : in std_logic;
            instruction13 : in std_logic;
            instruction12 : in std_logic;
                    code2 : in std_logic;
                    Y_bus : out std_logic_vector(7 downto 0);
                      clk : in std_logic );
    end data_bus_mux4;
--
architecture low_level_definition of data_bus_mux4 is
--
-- Internal signals
--
signal upper_selection : std_logic_vector(7 downto 0);
signal lower_selection : std_logic_vector(7 downto 0);
signal decode_sel1     : std_logic;
signal sel1            : std_logic;
signal sel0a           : std_logic;
signal sel0b           : std_logic;
--
-- Attribute to define LUT contents during implementation 
-- The information is repeated in the generic map for functional simulation
attribute INIT : string; 
attribute INIT of decode_lut : label is "E0";
--
begin

  -- Forming decode signals

  decode_lut: LUT3
  --translate_off
    generic map (INIT => X"E0")
  --translate_on
  port map( I0 => instruction12,
            I1 => instruction13,
            I2 => instruction15,
             O => decode_sel1 );

  sel1_pipe: FD
  port map ( D => decode_sel1,
             Q => sel1,
             C => clk);

  sel0a_pipe: FD
  port map ( D => code2,
             Q => sel0a,
             C => clk);

  sel0b_pipe: FD
  port map ( D => instruction14,
             Q => sel0b,
             C => clk);

  bus_width_loop: for i in 0 to 7 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 high_mux_lut : label is "E4";
  attribute INIT of low_mux_lut  : label is "E4";
 
  --
  begin

    high_mux_lut: LUT3
    --translate_off
      generic map (INIT => X"E4")
    --translate_on
    port map( I0 => sel0b,
              I1 => D2_bus(i),
              I2 => D3_bus(i),
               O => upper_selection(i) );

    low_mux_lut: LUT3
    --translate_off
      generic map (INIT => X"E4")
    --translate_on
    port map( I0 => sel0a,
              I1 => D0_bus(i),
              I2 => D1_bus(i),
               O => lower_selection(i) );

    final_mux: MUXF5
    port map(  I1 => upper_selection(i),
               I0 => lower_selection(i),
                S => sel1,
                O => Y_bus(i) );

  end generate bus_width_loop;
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of an 8-bit shift/rotate process
--	
-- This function uses 11 LUTs.
-- The function contains an output pipeline register using 9 FDs.
--
-- Operation
--
-- The input operand is shifted by one bit left or right.
-- The bit which falls out of the end is passed to the carry_out.
-- The bit shifted in is determined by the select bits
--
--     code1    code0         Bit injected
--
--       0        0          carry_in           
--       0        1          msb of input_operand 
--       1        0          lsb of operand 
--       1        1          inject_bit 
--
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 shift_rotate_process is
    Port    (    operand : in std_logic_vector(7 downto 0);
                carry_in : in std_logic;
              inject_bit : in std_logic;
             shift_right : in std_logic;
                   code1 : in std_logic;
                   code0 : in std_logic;
                       Y : out std_logic_vector(7 downto 0);
               carry_out : out std_logic;
                     clk : in std_logic);
    end shift_rotate_process;
--
architecture low_level_definition of shift_rotate_process is
--
-- Attribute to define LUT contents during implementation 
-- The information is repeated in the generic map for functional simulation
attribute INIT : string; 
attribute INIT of high_mux_lut       : label is "E4";
attribute INIT of low_mux_lut        : label is "E4";
attribute INIT of carry_out_mux_lut  : label is "E4";
--
-- Internal signals
--
signal upper_selection : std_logic;
signal lower_selection : std_logic;
signal mux_output      : std_logic_vector(7 downto 0);
signal shift_in_bit    : std_logic;
signal carry_bit       : std_logic;
--
begin
  --
  -- 4 to 1 mux selection of the bit to be shifted in
  --

    high_mux_lut: LUT3
    --translate_off
      generic map (INIT => X"E4")
    --translate_on
    port map( I0 => code0,
              I1 => operand(0),
              I2 => inject_bit,
               O => upper_selection );

    low_mux_lut: LUT3
    --translate_off
      generic map (INIT => X"E4")
    --translate_on
    port map( I0 => code0,
              I1 => carry_in,
              I2 => operand(7),
               O => lower_selection );

    final_mux: MUXF5
    port map(  I1 => upper_selection,
               I0 => lower_selection,
                S => code1,
                O => shift_in_bit );

  --
  -- shift left or right of operand
  --
  bus_width_loop: for i in 0 to 7 generate
  --
  begin

     lsb_shift: 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 mux_lut : label is "E4";
        --
        begin

          mux_lut: LUT3
          --translate_off
            generic map (INIT => X"E4")
          --translate_on
          port map( I0 => shift_right,
                    I1 => shift_in_bit,
                    I2 => operand(i+1),
                     O => mux_output(i) );
					   
        end generate lsb_shift;

     mid_shift: if i>0 and i<7 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 mux_lut : label is "E4";
        --
        begin

          mux_lut: LUT3
          --translate_off
            generic map (INIT => X"E4")
          --translate_on
          port map( I0 => shift_right,
                    I1 => operand(i-1),
                    I2 => operand(i+1),
                     O => mux_output(i) );
					   
	  end generate mid_shift;

     msb_shift: if i=7 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 mux_lut : label is "E4";
        --
        begin

          mux_lut: LUT3
          --translate_off
            generic map (INIT => X"E4")
          --translate_on
          port map( I0 => shift_right,
                    I1 => operand(i-1),
                    I2 => shift_in_bit,
                     O => mux_output(i) );
					   
	  end generate msb_shift;

     pipeline_bit: FD
     port map ( D => mux_output(i),
                Q => Y(i),
                C => clk);

  end generate bus_width_loop;
  --
  -- Selection of carry output
  --

  carry_out_mux_lut: LUT3
  --translate_off
    generic map (INIT => X"E4")
  --translate_on
  port map( I0 => shift_right,
            I1 => operand(7),
            I2 => operand(0),
             O => carry_bit );
					   
  pipeline_bit: FD
  port map ( D => carry_bit,
             Q => carry_out,
             C => clk);
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
-- Definition of an 8-bit logical processing unit
--	
-- This function uses 8 LUTs (4 slices) to provide the logical bit operations.
-- The function contains an output pipeline register using 8 FDs.
--
--     Code1    Code0       Bit Operation
--
--       0        0            LOAD      Y <= second_operand 
--       0        1            AND       Y <= first_operand and second_operand
--       1        0            OR        Y <= first_operand or second_operand 
--       1        1            XOR       Y <= first_operand xor second_operand
--
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 logical_bus_processing is
    Port (  first_operand : in std_logic_vector(7 downto 0);
           second_operand : in std_logic_vector(7 downto 0);
                    code1 : in std_logic;
                    code0 : in std_logic;
                        Y : out std_logic_vector(7 downto 0);
                      clk : in std_logic);
    end logical_bus_processing;
--
architecture low_level_definition of logical_bus_processing is
--
-- Internal signals
--
signal combinatorial_logical_processing : std_logic_vector(7 downto 0);
--
begin
 
  bus_width_loop: for i in 0 to 7 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 logical_lut : label is "6E8A"; 
  --
  begin

     logical_lut: LUT4
     --translate_off
     generic map (INIT => X"6E8A")
     --translate_on
     port map( I0 => second_operand(i),
               I1 => first_operand(i),
               I2 => code0,
               I3 => code1,
                O => combinatorial_logical_processing(i));

     pipeline_bit: FD
     port map ( D => combinatorial_logical_processing(i),
                Q => Y(i),
                C => clk);

  end generate bus_width_loop;
--
end low_level_definition;
--
------------------------------------------------------------------------------------
--
--
-- Definition of an 8-bit arithmetic process

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品无码永久免费888| 91香蕉视频mp4| 久久一区二区三区国产精品| 91精品国产综合久久久久久久| 91免费国产视频网站| aaa国产一区| 日本高清不卡在线观看| 亚洲欧美激情视频在线观看一区二区三区 | 欧美日韩精品一区二区三区四区 | 午夜精品久久一牛影视| 91精品国产综合久久婷婷香蕉| 韩国欧美一区二区| 国内精品久久久久影院薰衣草| 欧美电影在线免费观看| 欧美日韩一区二区在线视频| 制服视频三区第一页精品| 精品国产乱码久久久久久久| 国产美女主播视频一区| 日韩精品每日更新| 精品一区二区三区免费观看| 国产 欧美在线| 亚洲影视在线播放| 美腿丝袜亚洲三区| 成人午夜在线免费| 欧美日韩精品一区二区在线播放| av电影在线观看一区| 欧美午夜一区二区| 欧美一区二区黄色| 国产精品欧美一区喷水| 亚洲四区在线观看| 久久午夜免费电影| 一区二区三区美女| 国产在线不卡一卡二卡三卡四卡| 国产午夜精品一区二区三区嫩草| 亚洲愉拍自拍另类高清精品| 久久国产尿小便嘘嘘| 日韩激情视频在线观看| 成人中文字幕合集| 国产凹凸在线观看一区二区| 亚洲www啪成人一区二区麻豆| 国产毛片精品国产一区二区三区| 日韩精品亚洲一区二区三区免费| 成人国产精品免费观看动漫| 日韩三级视频在线观看| 国产精品久久夜| 成人免费一区二区三区在线观看| 精品99999| 欧洲亚洲国产日韩| 中日韩免费视频中文字幕| 美腿丝袜亚洲综合| 91黄色在线观看| 国产精品网站在线播放| 美女一区二区三区| 国产精品69久久久久水密桃| 欧美一级日韩不卡播放免费| 91成人在线观看喷潮| 精品视频资源站| 亚洲另类一区二区| 国产一区二区三区视频在线播放| 色域天天综合网| 国产女主播视频一区二区| 蜜臀av性久久久久蜜臀aⅴ流畅| kk眼镜猥琐国模调教系列一区二区 | 菠萝蜜视频在线观看一区| 精品盗摄一区二区三区| 97精品久久久久中文字幕 | 99免费精品视频| 日韩一本二本av| 国产精品国产三级国产普通话三级| 麻豆91在线播放免费| 国产成人亚洲综合a∨婷婷 | 亚洲另类在线一区| 国产精品久久久久久久久免费樱桃| 亚洲欧美日韩小说| 99精品国产视频| 最新国产の精品合集bt伙计| 国产在线日韩欧美| 色婷婷一区二区三区四区| 欧美精品一卡两卡| 欧美激情一区二区在线| 成人午夜激情影院| 一本久道中文字幕精品亚洲嫩| 亚洲视频在线一区| 在线观看av一区| 亚洲成人你懂的| 国产高清视频一区| 亚洲色图制服诱惑 | 国内成+人亚洲+欧美+综合在线| 日韩欧美中文字幕精品| 亚洲一区免费在线观看| 欧美久久一二三四区| 亚洲国产人成综合网站| 一区二区三区91| 欧美日韩精品二区第二页| 免费精品99久久国产综合精品| 一本大道综合伊人精品热热| 午夜视频久久久久久| 91精品国产欧美日韩| 欧美mv日韩mv| 五月天激情综合| 欧美一卡2卡3卡4卡| 久久福利资源站| 在线观看91精品国产入口| 久久精品欧美一区二区三区不卡| 一区在线中文字幕| 色94色欧美sute亚洲线路二| 亚洲大尺度视频在线观看| 成av人片一区二区| 国产精品久久久久久久久动漫 | 久久精品亚洲一区二区三区浴池 | 亚洲免费电影在线| 欧美一级理论片| 国产乱人伦偷精品视频免下载| ...av二区三区久久精品| 欧美精品在线一区二区| 国产成人免费视频网站| 亚洲1区2区3区4区| 在线观看日韩精品| 国产精品中文字幕日韩精品 | 日韩欧美一区二区在线视频| 国产99久久久国产精品免费看| 综合久久久久综合| 中文在线一区二区| 国产精品久久99| 国产精品久久久久久久久图文区| 国产精品久久三| 日韩伦理免费电影| 一区二区三区四区在线| 亚洲乱码国产乱码精品精小说| 亚洲免费毛片网站| 亚洲国产aⅴ成人精品无吗| 婷婷国产v国产偷v亚洲高清| 日本aⅴ精品一区二区三区 | 美日韩一区二区| 蜜桃一区二区三区在线观看| 久草这里只有精品视频| 粉嫩蜜臀av国产精品网站| 国产成人精品在线看| www..com久久爱| 欧美日韩国产精品自在自线| 欧美一级视频精品观看| 欧美极品aⅴ影院| 亚洲蜜臀av乱码久久精品| 亚洲高清免费观看| 精久久久久久久久久久| 播五月开心婷婷综合| 欧美色大人视频| 26uuu另类欧美亚洲曰本| 国产精品青草久久| 亚洲电影第三页| 国产美女视频一区| 色先锋资源久久综合| 日韩一区二区精品葵司在线| 久久久国产综合精品女国产盗摄| 亚洲视频一区二区免费在线观看| 石原莉奈在线亚洲二区| 国产精品综合一区二区| 一本高清dvd不卡在线观看| 日韩三级免费观看| 亚洲日本va午夜在线电影| 日本不卡视频在线| 成人高清av在线| 欧美一区二区三区视频免费| 国产精品你懂的| 日本不卡不码高清免费观看| av激情成人网| 26uuu亚洲婷婷狠狠天堂| 亚洲一区在线看| 国产一二三精品| 91精品国产综合久久精品麻豆| 国产天堂亚洲国产碰碰| 日韩在线一区二区| 一本色道**综合亚洲精品蜜桃冫 | 在线观看成人免费视频| 精品三级在线看| 亚洲国产aⅴ天堂久久| 成人夜色视频网站在线观看| 欧美色图片你懂的| 国产日韩欧美综合一区| 美女视频黄免费的久久| 99久久99久久综合| 精品国产乱码久久久久久久| 亚洲一区二区三区四区五区黄 | 欧美日韩视频在线第一区| 久久久www成人免费无遮挡大片| 中文字幕欧美一区| 国产福利一区二区三区在线视频| 欧美精品丝袜中出| 一区二区三区欧美| 91免费看`日韩一区二区| 中文字幕欧美激情一区| 国产在线国偷精品免费看| 日韩欧美中文字幕精品| 日韩黄色在线观看| 欧美剧在线免费观看网站| 亚洲国产日产av| 日本高清不卡在线观看| 国产精品成人网| av不卡免费电影| 中文字幕日韩av资源站|