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

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

?? enc32.vhd

?? 完整的TPC編譯碼VHDL程序
?? VHD
字號(hào):
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.STD_LOGIC_UNSIGNED.ALL;
use ieee.std_logic_arith.all;
ENTITY enc32 IS
   PORT( 
         data_in          : in std_logic;
         enclk            : in std_logic;
         uniquebit        : in std_logic;
         den              : in std_logic;
         t_data_in        : out std_logic;
         t_data0          : out std_logic;
         t_buf_we         : out std_logic;
         t_buf_rden       : out std_logic;
         t_count1         : out std_logic_vector(4 downto 0);
         tuniquebit            : out std_logic;
         t_rpar           : out std_logic;
         t_xencout        : out std_logic;
         t_reg            : out std_logic_vector(4 downto 0);
         t_count2         : out integer range 0 to 22;
         t_bufwad         : out std_logic_vector(4 downto 0);
         t_count3         : out std_logic_vector(4 downto 0);
         t_count4         : out integer range 0 to 21;
         t_bufq           : out std_logic_vector (5 downto 0);
         t_xdata0         : out std_logic;
         t_ydata0         : out std_logic;
         t_buf_din        : out std_logic_vector(5 downto 0);
         t_uniquebit_temp : out std_logic;
         t_encout         : out std_logic;
         t_raddr          : out std_logic_vector(4 downto 0)
         --dout             : out std_logic
         --data0            : out std_logic
	   );
END enc32;

ARCHITECTURE rtl OF enc32 IS

signal count1                                           : std_logic_vector(4 downto 0);
signal count2,count2temp0,count2temp1,count2temp2       : integer range 0 to 22;
signal count2temp3,count2temp4                          : integer range 0 to 22;

signal count3                                           : std_logic_vector(4 downto 0);
signal count4,count4temp0,count4temp1,count4temp2       : integer range 0 to 21;
signal data0,data1,data2,data3,data4,data5              : std_logic;
signal buf_rden,buf_rden0                               : std_logic;
signal buf_we,buf_we_temp0,buf_we_temp1,buf_we_temp2    : std_logic;

signal buf_rdentemp                                     : std_logic;

signal xdata0,ydata0                                               : std_logic;
signal rreg                                                        : std_logic_vector(4 downto 0);
signal rpar                                                        : std_logic;
signal xencout                                                     : std_logic;
signal buf_wadtemp0,buf_wadtemp1,buf_wadtemp2,buf_wad              : std_logic_vector(4 downto 0);
signal buf_wadtemp3                                                : std_logic_vector(4 downto 0);

signal raddr                                                       : std_logic_vector(4 downto 0);

signal uniquebit_temp0,uniquebit_temp1,uniquebit_temp2              : std_logic;
signal uniquebit_temp3,uniquebit_temp4,uniquebit_temp5              : std_logic;
--signal uniquebit_temp6                                              : std_logic;

signal buf_din,bufq,bufqtemp                                       : std_logic_vector(5 downto 0);
signal encout                                                      : std_logic;
 
component ybuf IS
 port
	(
		data		: IN STD_LOGIC_VECTOR (5 DOWNTO 0);
		wren		: IN STD_LOGIC  := '1';
		wraddress		: IN STD_LOGIC_VECTOR (4 DOWNTO 0);
		rdaddress		: IN STD_LOGIC_VECTOR (4 DOWNTO 0);
		rden		: IN STD_LOGIC  := '1';
		clock		: IN STD_LOGIC ;
		q		: OUT STD_LOGIC_VECTOR (5 DOWNTO 0)
	);
END component;


begin

process(enclk)
begin
   if enclk'event and enclk='1' then
      data0<=data_in;
      data1<=data0;
      data2<=data1;
      data3<=data2;
      data4<=data3;
      data5<=data4;

      uniquebit_temp0<=uniquebit;
      uniquebit_temp1<=uniquebit_temp0;
      uniquebit_temp2<=uniquebit_temp1;
      uniquebit_temp3<=uniquebit_temp2;
      uniquebit_temp4<=uniquebit_temp3;
      uniquebit_temp5<=uniquebit_temp4;
      --uniquebit_temp6<=uniquebit_temp5;


   end if;
end process;

process(enclk,uniquebit)
begin
   if enclk'event and enclk='1' then
      if uniquebit='1' then
         count1<="10101";
      else
         case count1 is
           when "10101"=>count1<="00000";
           when others=>count1<=count1+"00001";
         end case;
      end if;
   end if;
end process;

process(enclk)
begin
  if enclk'event and enclk='1' then
     case count1 is
          when "10101"=>buf_rden0<='1';
          when "01111"=>buf_rden0<='0';
          when others=>null;
     end case;
    buf_rden<=buf_rden0 and (not uniquebit_temp0);
    buf_rdentemp<=buf_rden;


    raddr<=count1;
  end if; 
end process;



process(enclk)--count4)
begin
    if enclk'event and enclk='1' then
      case count4temp1 is
        when 0 to 20=>buf_we_temp0<=buf_rdentemp;
        when others =>buf_we_temp0<='0'; 
      end case;
      buf_we_temp1<=buf_we_temp0;

      buf_wadtemp0<=count1;
      buf_wadtemp1<=buf_wadtemp0;
      buf_wadtemp1<=buf_wadtemp0;
      buf_wadtemp2<=buf_wadtemp1;
      buf_wadtemp3<=buf_wadtemp2;

      buf_wad<=buf_wadtemp3;
      buf_we<=buf_we_temp1;
    end if;

end process;


count2temp0<=conv_integer(count1);
process(enclk)
begin
   if enclk'event and enclk='1' then
      count2temp1<=count2temp0;
      count2temp2<=count2temp1;
      count2temp3<=count2temp2;

      count2<=count2temp3;
   end if;
end process;

process(enclk)
begin
  if enclk'event and enclk='1' then
     case count4temp2 is
         when 0 to 15=>xdata0<=data3;
         when 16     =>xdata0<=bufqtemp(5);
         when 17     =>xdata0<=bufqtemp(4);
         when 18     =>xdata0<=bufqtemp(3);
         when 19     =>xdata0<=bufqtemp(2);
         when 20     =>xdata0<=bufqtemp(1);
         when 21     =>xdata0<=bufqtemp(0);
         when others=>null; 
     end case;
   end if;
end process;

process(enclk)
variable rtemp:  std_logic;
begin
   if enclk'event and enclk='1' then		
       case count2 is
            when 0      => rtemp:= xdata0;		
				           rreg(4)<= '0';--rreg(3);
						   rreg(3)<= '0';--rreg(2);
				           rreg(2)<= rtemp;--rreg(1) xor rtemp;
						   rreg(1)<= '0';--rreg(0);
					       rreg(0)<= rtemp;
            when 1 to 15=> rtemp:= rreg(4) xor xdata0;		
				           rreg(4)<= rreg(3);
						   rreg(3)<= rreg(2);
				           rreg(2)<= rreg(1) xor rtemp;
						   rreg(1)<= rreg(0);
					       rreg(0)<= rtemp;
			when 16 to 20 =>for i in 0 to 3 loop
					 	      rreg(i+1)<=rreg(i);	
					        end loop;
						      rreg(0)<='0';
			when others=> null;
        end case;
    end if;
end process;

process(enclk)
begin	  
if enclk'event and enclk='1' then	
	 case count2 is
	      when 0       => rpar<=xdata0;
	      when 1  to 15=> rpar<=rpar xor xdata0;
	      when 16 to 20=> rpar<=rpar xor rreg(4);
	      when others =>null;
	 end case;
 end if;
end process;

process(enclk)
begin
   if enclk'event and enclk='1' then	
      case count2 is
		  when 0  to 15=>  xencout<=xdata0;
		  when 16 to 20=>  xencout<=rreg(4);
		  when 21      =>  xencout<=rpar;
          when others=> null;
	  end case;
    end if;     
end process;
-------------------------------------------------------------

process(enclk)
begin
if enclk'event and enclk='1' then--10_8
   if uniquebit='1' then
       count3<="10101";
   else
       if count1="00000" then
         case count3 is
            when "10101"=>count3<="00000";
            when others=>count3<=count3+"00001";
         end case;
       end if;
    end if;
end if;
end process;

count4temp0<=conv_integer(count3);
process(enclk)
begin
   if enclk'event and enclk='1' then
      count4temp1<=count4temp0;
      count4temp2<=count4temp1; 
 
      count4<=count4temp2;
   end if;
end process;

ybuf_inst: ybuf port map (
		data     =>buf_din,
		wren     =>buf_we,
		wraddress=>buf_wad,
		rdaddress=>raddr,
		rden     =>buf_rden,
		clock    =>enclk,
		q        =>bufqtemp
		);
		

process(enclk)
begin
   if enclk'event and enclk='1' then
     ydata0<=data3;
     bufq<=bufqtemp;
   end if;
end process;

process(enclk)
variable ytemp:  std_logic;
begin
if enclk'event and enclk='1' then
   --if uniquebit_temp4='1' then
       --buf_din(5 downto 1)<="00000";
  -- else
      case count4 is
          when 0 =>ytemp:= ydata0;
				   buf_din(5)<= '0';
				   buf_din(4)<= '0';
				   buf_din(3)<= ytemp;
				   buf_din(2)<='0';
				   buf_din(1)<= ytemp;
          when 1 to 15=>ytemp:= bufq(5) xor ydata0;		
				        buf_din(5)<= bufq(4);
					    buf_din(4)<= bufq(3);
				        buf_din(3)<= bufq(2) xor ytemp;
				        buf_din(2)<= bufq(1);
					    buf_din(1)<= ytemp;
		  when 16 to 20=>buf_din(5 downto 1)<=bufq(5 downto 1);
          when 21      =>buf_din(5 downto 1)<="00000";
		  when others=>null;		
      end case;
    --end if;   
   end if;
end process;

process(enclk)
begin
  if enclk'event and enclk='1' then
       case count4  is
	             when 0      => buf_din(0)<=ydata0;
	             when 1 to 15=> buf_din(0)<=bufq(0) xor ydata0;
	             when 16     => buf_din(0)<=bufq(0) xor bufq(5);
	             when 17     => buf_din(0)<=bufq(0) xor bufq(4);
		         when 18     => buf_din(0)<=bufq(0) xor bufq(3);
	             when 19     => buf_din(0)<=bufq(0) xor bufq(2);
	             when 20     => buf_din(0)<=bufq(0) xor bufq(1);
	             when 21     => buf_din(0)<='0';--bufq(0);
	             when others =>null;
	   end case;
	end if;
end process;
 
process(enclk)
begin
  if enclk'event and enclk='1' then
     case uniquebit_temp5 is
          when '1'=>encout<=data5;
          when '0'=>encout<=xencout;
     end case;
  end if;
end process;
		    
process(enclk)
begin
   if enclk'event and enclk='1' then
      t_data_in<=data_in;
      t_data0<=data2;
      t_buf_we<=buf_we;
      t_buf_rden<=buf_rden;
      t_count1<=count1;
      tuniquebit<=uniquebit_temp3;
      t_rpar<=rpar;
      t_xencout<=xencout;
      t_reg<=rreg;
      t_count2<=count2;
      t_bufwad<=buf_wad;
      t_count3<=count3;
      t_count4<=count4;
      t_bufq<=bufq;
      t_xdata0<=xdata0;
      t_ydata0<=ydata0;
      t_buf_din<=buf_din;
      t_uniquebit_temp<=uniquebit_temp5;
      t_encout<=encout;
      t_raddr<=raddr;
   end if;
end process;


end rtl;

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久天天综合网| 欧美亚洲愉拍一区二区| 99久久99久久久精品齐齐| 亚洲国产精品久久人人爱| 久久精品在这里| 欧美另类变人与禽xxxxx| 成人午夜电影小说| 麻豆成人久久精品二区三区小说| 亚洲色欲色欲www| 久久精子c满五个校花| 6080日韩午夜伦伦午夜伦| 色香色香欲天天天影视综合网| 激情亚洲综合在线| 日韩精品成人一区二区在线| 国产精品夫妻自拍| 国产婷婷一区二区| 精品日韩一区二区| 91麻豆精品国产91久久久更新时间| 97久久超碰国产精品| 国产乱码精品一区二区三| 免费xxxx性欧美18vr| 亚洲电影视频在线| 亚洲午夜免费福利视频| 亚洲精品五月天| 亚洲男同性恋视频| 亚洲欧美一区二区三区极速播放| 国产精品素人视频| 国产日韩精品一区二区三区在线| 欧美成人激情免费网| 欧美精品一二三四| 欧美美女一区二区| 在线播放视频一区| 欧美日韩精品一区二区| 欧美综合亚洲图片综合区| 91成人免费在线| 91成人免费网站| 欧美午夜精品一区二区蜜桃| 色婷婷综合久久久久中文| 91在线一区二区| 一本色道久久综合狠狠躁的推荐| 91香蕉视频在线| 日本韩国精品在线| 欧美色涩在线第一页| 色系网站成人免费| 欧美视频日韩视频在线观看| 欧美日韩视频不卡| 91精品福利在线一区二区三区| 91麻豆精品91久久久久久清纯 | 一个色综合av| 亚洲一区在线观看免费观看电影高清| 亚洲欧美日韩国产综合在线| 夜色激情一区二区| 天堂影院一区二区| 激情小说欧美图片| 国产91精品在线观看| 99久久夜色精品国产网站| 91在线一区二区三区| 欧美老肥妇做.爰bbww视频| 欧美一级精品大片| 国产欧美综合在线观看第十页 | 三级在线观看一区二区| 另类的小说在线视频另类成人小视频在线| 麻豆成人在线观看| 成人精品一区二区三区四区| 91极品美女在线| 日韩一区二区高清| 欧美激情一区二区三区不卡 | 日韩欧美国产小视频| 久久视频一区二区| 亚洲视频电影在线| 日本亚洲欧美天堂免费| 国产激情精品久久久第一区二区| 91蝌蚪porny成人天涯| 欧美顶级少妇做爰| 国产欧美一区二区精品忘忧草 | 精品伊人久久久久7777人| 丁香啪啪综合成人亚洲小说| 色94色欧美sute亚洲13| 日韩欧美国产1| 亚洲免费看黄网站| 日本大胆欧美人术艺术动态| 国产精品一卡二卡在线观看| 91福利国产精品| 国产视频911| 午夜欧美一区二区三区在线播放| 国产精品综合二区| 欧美日韩情趣电影| 欧美极品另类videosde| 五月综合激情网| 成人激情免费电影网址| 日韩欧美一区在线| 亚洲美女少妇撒尿| 丁香婷婷深情五月亚洲| 91麻豆精品91久久久久同性| 中文字幕中文在线不卡住| 毛片av一区二区| 欧美在线制服丝袜| 国产精品久久久久影视| 伦理电影国产精品| 91福利小视频| 亚洲欧美日韩中文字幕一区二区三区 | 一区二区三区日韩欧美精品 | 在线观看国产91| 国产午夜亚洲精品羞羞网站| 日韩成人一区二区| 在线观看不卡视频| 亚洲欧洲日韩综合一区二区| 久久精品国产一区二区三| 欧美色区777第一页| 亚洲三级在线免费| 丰满少妇在线播放bd日韩电影| 日韩欧美国产三级| 男男视频亚洲欧美| 欧美日韩国产三级| 亚洲精品久久7777| 成人黄色小视频| 国产欧美中文在线| 国产精品一区在线| 精品国产麻豆免费人成网站| 日韩av一级电影| 欧美日韩视频第一区| 亚洲国产一区视频| 欧美视频在线不卡| 亚洲一区二区三区在线看| 色狠狠综合天天综合综合| 国产精品久久久久影院亚瑟| 国产91在线观看| 国产喷白浆一区二区三区| 国产精品一二三在| 中文字幕第一区二区| 高清不卡在线观看av| 欧美国产综合一区二区| 国产成人99久久亚洲综合精品| 久久精品视频在线看| 国产成人啪免费观看软件| 久久蜜桃av一区二区天堂| 国产一区欧美日韩| 国产三级欧美三级| 福利视频网站一区二区三区| 欧美高清在线精品一区| 99久久综合精品| 亚洲卡通欧美制服中文| 91久久精品一区二区三| 五月天一区二区三区| 91精品国产一区二区三区香蕉| 爽爽淫人综合网网站| 日韩视频不卡中文| 国产精品一品二品| 亚洲丝袜另类动漫二区| 欧美伊人久久久久久久久影院| 亚洲国产精品麻豆| 日韩丝袜美女视频| 国产河南妇女毛片精品久久久 | 日本女优在线视频一区二区| 欧美一区二区免费| 国内精品免费在线观看| 亚洲欧美综合网| 欧美日韩一区二区三区四区 | 91电影在线观看| 日韩黄色小视频| 久久午夜电影网| 91网站黄www| 日本不卡一区二区三区| 26uuu久久天堂性欧美| 99久久婷婷国产综合精品| 亚洲网友自拍偷拍| 精品伦理精品一区| 成人免费视频一区| 亚洲一区二区影院| 精品国产亚洲一区二区三区在线观看| 国产成人在线视频网站| 亚洲精品日日夜夜| 日韩欧美123| 色88888久久久久久影院野外| 热久久免费视频| 中文字幕一区不卡| 欧美一区二区久久| 波多野结衣在线aⅴ中文字幕不卡 波多野结衣在线一区 | av中文一区二区三区| 亚洲国产精品视频| 国产蜜臀av在线一区二区三区| 色94色欧美sute亚洲线路二 | 欧洲色大大久久| 国产精品99久久久| 亚洲国产日韩一级| 国产视频在线观看一区二区三区 | 欧美系列日韩一区| 国产一区二区三区黄视频| 一区二区成人在线| 国产欧美日韩久久| 91精品国模一区二区三区| av成人老司机| 狠狠色狠狠色综合系列| 亚洲国产视频直播| 国产精品久久久久久久久久免费看 | 91精彩视频在线| 成人午夜电影网站| 韩国一区二区在线观看| 伊人开心综合网| 国产精品免费久久久久|