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

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

?? 偽隨機(jī)數(shù)產(chǎn)生器.txt

?? 37個(gè)經(jīng)典的VHDL程序。有比較器、七段譯碼器、狀態(tài)機(jī)等。
?? TXT
字號(hào):
---------------------------------------------------------------------------------      The following information has been generated by Exemplar Logic and--      may be freely distributed and modified.----      Design name : pseudorandom----      Purpose : This design is a pseudorandom number generator. This design --        will generate an 8-bit random number using the polynomial p(x) = x + 1.--        This system has a seed generator and will generate 2**8 - 1 unique--        vectors in pseudorandom order. These vectors are stored in a ram which--        samples the random number every 32 clock cycles. This variance of a --        priority encoded seed plus a fixed sampling frequency provides a truely--        random number.----        This design used VHDL-1993 methods for coding VHDL.------------------------------------------------------------------------------Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity divide_by_n is   generic (data_width    : natural := 8 );   port (         data_in  : in  UNSIGNED(data_width - 1 downto 0) ;         load     : in  std_logic ;         clk      : in  std_logic ;         reset    : in  std_logic ;         divide   : out std_logic        );end divide_by_n ;architecture rtl of divide_by_n is    signal count_reg : UNSIGNED(data_width - 1 downto 0) ;  constant max_count : UNSIGNED(data_width - 1 downto 0) := (others => '1') ;  begin  cont_it :  process(clk,reset)       begin          if (reset = '1') then           count_reg <= (others => '0') ;          elsif (clk = '1' and clk'event) then            if (load = '1') then               count_reg <= data_in ;            else                count_reg <=  count_reg + "01" ;            end if ;          end if;        end process ;   divide <= '1' when count_reg = max_count else '0' ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity dlatrg is   generic (data_width    : natural := 16 );   port (         data_in  : in  UNSIGNED(data_width - 1 downto 0) ;         clk      : in  std_logic ;         reset    : in  std_logic ;         data_out : out UNSIGNED(data_width - 1 downto 0)        );end dlatrg ;architecture rtl of dlatrg is  begin  latch_it : process(data_in,clk,reset)        begin          if (reset = '1') then            data_out <= (others => '0') ;          elsif (clk = '1') then            data_out <= data_in ;          end if;        end process ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity lfsr is   generic (data_width    : natural := 8 );   port (         clk      : in  std_logic ;         reset    : in  std_logic ;         data_out : out UNSIGNED(data_width - 1 downto 0)        );end lfsr ;architecture rtl of lfsr is    signal feedback : std_logic ;  signal lfsr_reg : UNSIGNED(data_width - 1 downto 0) ;  begin    feedback <= lfsr_reg(7) xor lfsr_reg(0) ;  latch_it :  process(clk,reset)       begin          if (reset = '1') then           lfsr_reg <= (others => '0') ;          elsif (clk = '1' and clk'event) then            lfsr_reg <= lfsr_reg(lfsr_reg'high - 1 downto 0) & feedback ;          end if;        end process ;   data_out <= lfsr_reg ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity priority_encoder is   generic (data_width    : natural := 25 ;            address_width : natural := 5 ) ;   port (         data    : in  UNSIGNED(data_width - 1 downto 0) ;         address : out UNSIGNED(address_width - 1 downto 0) ;         none    : out STD_LOGIC        );end priority_encoder ;architecture rtl of priority_encoder is  attribute SYNTHESIS_RETURN : STRING ;    FUNCTION to_stdlogic (arg1:BOOLEAN)  RETURN STD_LOGIC IS      BEGIN      IF(arg1) THEN        RETURN('1') ;      ELSE        RETURN('0') ;      END IF ;  END ;    function to_UNSIGNED(ARG: INTEGER; SIZE: INTEGER) return UNSIGNED is	variable result: UNSIGNED(SIZE-1 downto 0);	variable temp: integer;        attribute SYNTHESIS_RETURN of result:variable is "FEED_THROUGH" ;    begin	temp := ARG;	for i in 0 to SIZE-1 loop	    if (temp mod 2) = 1 then		result(i) := '1';	    else 		result(i) := '0';	    end if;	    if temp > 0 then		temp := temp / 2;	    else		temp := (temp - 1) / 2; 	    end if;	end loop;	return result;    end;  constant zero : UNSIGNED(data_width downto 1) := (others => '0') ;  beginPRIO :  process(data)         variable temp_address : UNSIGNED(address_width - 1 downto 0) ;         begin          temp_address := (others => '0') ;          for i in data_width - 1 downto 0 loop            if (data(i) = '1') then              temp_address := to_unsigned(i,address_width) ;              exit ;            end if ;          end loop ;          address <= temp_address ;          none <= to_stdlogic(data = zero) ;        end process ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;use IEEE.std_logic_unsigned.all ;entity ram is   generic (data_width    : natural := 8 ;            address_width  : natural := 8);   port (         data_in  : in  UNSIGNED(data_width - 1 downto 0) ;         address  : in  UNSIGNED(address_width - 1 downto 0) ;         we      : in  std_logic ;		 clk     : in std_logic;         data_out : out UNSIGNED(data_width - 1 downto 0)        );end ram ;architecture rtl of ram is  type mem_type is array (2**address_width downto 0) of UNSIGNED(data_width - 1 downto 0) ;  signal mem : mem_type ;  signal addr_reg : unsigned (address_width -1 downto 0);  begin    data_out <= mem(conv_integer(addr_reg)) ;    I0 : process 	   begin       wait until clk'event and clk = '1';        if (we = '1') then          mem(conv_integer(address)) <= data_in ;        end if ;	    addr_reg <= address;    end process ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity tbuf is   generic (data_width    : natural := 16 );   port (         data_in  : in  UNSIGNED(data_width - 1 downto 0) ;         en       : in  std_logic ;         data_out : out UNSIGNED(data_width - 1 downto 0)        );end tbuf ;architecture rtl of tbuf is  begin  three_state :  process(data_in,en)        begin          if (en = '1') then            data_out <=  data_in ;          else            data_out <= (others => 'Z') ;          end if;        end process ;end RTL ;Library IEEE ;use IEEE.std_logic_1164.all ;use IEEE.std_logic_arith.all ;entity pseudorandom is   generic (data_width    : natural := 8 );   port (         seed   : in  UNSIGNED (24 downto 0) ;         init   : in  UNSIGNED (4 downto 0) ;         load   : in  std_logic ;         clk    : in  std_logic ;         reset  : in  std_logic ;         read   : in  std_logic ;         write  : in  std_logic ;         rand   : out UNSIGNED (7 downto 0) ;         none   : out std_logic        );end pseudorandom ;architecture rtl of pseudorandom is    signal latch_seed : UNSIGNED(24 downto 0) ;  signal encoder_address : UNSIGNED(4 downto 0) ;  signal random_data : UNSIGNED(7 downto 0) ;  signal write_enable : std_logic ;  signal ram_data : UNSIGNED(7 downto 0) ;  begin    I0 : entity work.dlatrg(rtl)           generic map (25)          port map (seed,read,reset,latch_seed) ;    I1 : entity work.priority_encoder(rtl)           generic map (25,5)          port map (latch_seed,encoder_address,none) ;    I2 : entity work.ram(rtl)           generic map (8,5)          port map (random_data,encoder_address,write_enable,clk,ram_data) ;    I3 : entity work.tbuf(rtl)           generic map (8)          port map (ram_data,write,rand) ;    I4 : entity work.lfsr(rtl)           generic map (8)          port map (clk,reset,random_data) ;     I5 : entity work.divide_by_n(rtl)           generic map (5)          port map (init,load,clk,reset,write_enable) ;end rtl ;

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲国产欧美另类丝袜| 精品少妇一区二区三区在线视频| 久久你懂得1024| 国产另类ts人妖一区二区| 久久美女艺术照精彩视频福利播放| 国精产品一区一区三区mba桃花| 久久美女艺术照精彩视频福利播放| 国产黄色精品视频| 国产精品激情偷乱一区二区∴| 成人黄色片在线观看| 一区二区三区在线观看网站| 欧美嫩在线观看| 国产精品99久久久久| 中文字幕中文字幕一区| 色成年激情久久综合| 亚洲国产aⅴ天堂久久| 日韩欧美一级二级| 春色校园综合激情亚洲| 一区二区三区四区精品在线视频| 欧美日韩不卡在线| 国产综合久久久久久久久久久久| 一区二区中文字幕在线| 欧美日韩国产一区二区三区地区| 麻豆精品国产91久久久久久| 国产日韩欧美在线一区| 91久久一区二区| 精品一区二区三区久久| 亚洲天堂av老司机| 欧美疯狂做受xxxx富婆| 国产不卡在线视频| 午夜精品一区二区三区三上悠亚| 久久久三级国产网站| 91精品福利在线| 国产米奇在线777精品观看| 亚洲欧美激情在线| 精品电影一区二区| 91高清在线观看| 国产精品一级片| 日日夜夜免费精品| 成人欧美一区二区三区白人| 51精品国自产在线| 99热精品国产| 国产一区二区精品久久91| 亚洲一区二区三区美女| 国产日韩欧美电影| 欧美一级爆毛片| 欧美日韩在线观看一区二区| 国产精品亚洲人在线观看| 日韩精品一卡二卡三卡四卡无卡| 国产精品久久久久aaaa| 欧美一级理论片| 欧美午夜精品一区二区蜜桃| 国产剧情av麻豆香蕉精品| 五月天亚洲精品| 亚洲一二三区在线观看| 国产精品免费视频观看| 欧美不卡一二三| 这里只有精品免费| 在线观看亚洲精品| 色偷偷久久一区二区三区| 国产91在线|亚洲| 国产毛片一区二区| 裸体在线国模精品偷拍| 视频在线观看一区二区三区| 亚洲国产视频一区二区| 亚洲欧美成aⅴ人在线观看| 中文字幕在线播放不卡一区| 国产亚洲女人久久久久毛片| 欧美sm极限捆绑bd| 91精品国产日韩91久久久久久| 欧美性一二三区| 在线免费av一区| 欧美日韩一区不卡| 欧洲生活片亚洲生活在线观看| 99久久免费视频.com| 国产99精品国产| www.性欧美| 97国产精品videossex| 高清免费成人av| 成人免费观看男女羞羞视频| 国产suv精品一区二区883| 国产高清久久久| 成人精品电影在线观看| 成人丝袜高跟foot| 99热这里都是精品| 欧洲精品视频在线观看| 欧美美女一区二区在线观看| 欧美一级二级三级乱码| 亚洲精品在线免费播放| 国产欧美一二三区| 亚洲欧美欧美一区二区三区| 亚洲国产欧美一区二区三区丁香婷| 亚洲高清视频中文字幕| 天天影视色香欲综合网老头| 免费av成人在线| 国产91精品入口| 色婷婷久久久亚洲一区二区三区 | 亚洲精品一区二区三区在线观看| 精品伦理精品一区| 久久久久久97三级| 椎名由奈av一区二区三区| 亚洲一二三四区不卡| 秋霞影院一区二区| 成人性色生活片| 欧美在线制服丝袜| 91精品国产色综合久久久蜜香臀| 久久嫩草精品久久久久| 亚洲女人小视频在线观看| 亚洲国产毛片aaaaa无费看| 男女性色大片免费观看一区二区| 国产成人一区在线| 一本大道久久a久久综合| 4438x亚洲最大成人网| 久久精品一区四区| 亚洲香肠在线观看| 国产美女精品人人做人人爽 | 欧美最新大片在线看| 91精品国产综合久久久久久漫画| 国产午夜精品久久| 亚洲一区二区三区视频在线播放 | 风间由美一区二区三区在线观看| 91激情在线视频| 久久久亚洲欧洲日产国码αv| 亚洲欧美成人一区二区三区| 久久99精品久久久久久| 99久久久久久| 精品国产1区二区| 一区二区三区高清| 国产精品亚洲а∨天堂免在线| 欧美日韩视频在线观看一区二区三区 | 久久精品欧美一区二区三区不卡| 一区二区免费在线| 国产91在线看| 精品精品国产高清a毛片牛牛 | 亚洲电影一级黄| 成人午夜激情视频| 日韩一区二区不卡| 夜夜嗨av一区二区三区四季av | 在线观看一区日韩| 国产三级精品三级在线专区| 日本伊人色综合网| 99r国产精品| 欧美国产日韩亚洲一区| 日韩av一区二区三区| 日本韩国精品在线| 国产精品污www在线观看| 麻豆视频观看网址久久| 欧美日韩亚洲综合一区| 亚洲免费观看高清完整版在线观看 | 国产乱码精品一区二区三区忘忧草 | 国产精品一区专区| 日韩一区二区在线看| 午夜影院在线观看欧美| 一本大道久久a久久综合| 国产色一区二区| 国产一区999| 2021久久国产精品不只是精品| 免费不卡在线视频| 欧美一级欧美三级在线观看| 亚洲aⅴ怡春院| 欧美精品久久99久久在免费线 | 国产精品欧美精品| 麻豆精品视频在线| 日韩欧美久久一区| 美国毛片一区二区三区| 7777精品伊人久久久大香线蕉完整版| 亚洲一区在线观看视频| 日本久久精品电影| 亚洲欧洲三级电影| jlzzjlzz欧美大全| 亚洲欧洲美洲综合色网| 99视频一区二区三区| 国产精品国产三级国产a| av色综合久久天堂av综合| 一区在线观看免费| 在线观看亚洲一区| 午夜激情综合网| 日韩一级片网址| 国产一区欧美一区| 中文字幕高清一区| 99久久夜色精品国产网站| 亚洲欧美日韩国产另类专区| 欧美午夜理伦三级在线观看| 日日夜夜免费精品| 精品日韩一区二区三区免费视频| 国产一区二区三区免费看| 久久综合九色综合欧美就去吻| 国产精品综合一区二区三区| 欧美国产日本韩| 91免费精品国自产拍在线不卡| 一区二区三区产品免费精品久久75| 欧美日韩精品三区| 久久国产精品99久久人人澡| 欧美激情资源网| 91成人看片片| 久久精品国产第一区二区三区| 久久久99精品免费观看| av在线这里只有精品| 亚洲不卡在线观看| 久久在线免费观看|