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

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

?? aes_fips_mctester.vhd

?? Consecutive AES core Description of project.. Features - AES encoder - 128/192/256 bit -
?? VHD
字號:
--*************************************************************************-- Project    : AES128                                                    *--                                                                        *-- Block Name : aes_fips_mctester.vhd                                     *--                                                                        *-- Author     : Hemanth Satyanarayana                                     *--                                                                        *-- Email      : hemanth@opencores.org                                     *--                                                                        *-- Description: Test bench module to test the aes implemntation           *--              for Monte-Carlo based tests.                              *--                         .                                              *--                                                                        *-- Revision History                                                       *-- |-----------|-------------|---------|---------------------------------|*-- |   Name    |    Date     | Version |          Revision details       |*-- |-----------|-------------|---------|---------------------------------|*-- | Hemanth   | 15-Dec-2004 | 1.1.1.1 |            Uploaded             |*-- |-----------|-------------|---------|---------------------------------|*--                                                                        *--  Refer FIPS-KAT Document for details                                   *--*************************************************************************--                                                                        *-- Copyright (C) 2004 Author                                              *--                                                                        *-- This source file may be used and distributed without                   *-- restriction provided that this copyright statement is not              *-- removed from the file and that any derivative work contains            *-- the original copyright notice and the associated disclaimer.           *--                                                                        *-- This source file is free software; you can redistribute it             *-- and/or modify it under the terms of the GNU Lesser General             *-- Public License as published by the Free Software Foundation;           *-- either version 2.1 of the License, or (at your option) any             *-- later version.                                                         *--                                                                        *-- This source is distributed in the hope that it will be                 *-- useful, but WITHOUT ANY WARRANTY; without even the implied             *-- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR                *-- PURPOSE.  See the GNU Lesser General Public License for more           *-- details.                                                               *--                                                                        *-- You should have received a copy of the GNU Lesser General              *-- Public License along with this source; if not, download it             *-- from http://www.opencores.org/lgpl.shtml                               *--                                                                        *--*************************************************************************library ieee;use ieee.std_logic_1164.all;use ieee.std_logic_arith.all;use ieee.math_real.all;use std.textio.all;use ieee.std_logic_textio.all;library std_developerskit;use std_developerskit.std_iopak.all;entity aes_fips_mctester is end aes_fips_mctester;architecture behavioral of aes_fips_mctester iscomponent aes128_fastport(      clk       : in std_logic;      reset     : in std_logic;      start     : in std_logic;      mode      : in std_logic;      load      : in std_logic;      key       : in std_logic_vector(63 downto 0);      data_in   : in std_logic_vector(63 downto 0);      data_out  : out std_logic_vector(127 downto 0);      done      : out std_logic     );     end component;signal clock_tb: std_logic:='0';signal reset_tb: std_logic:='0';signal start_tb: std_logic:='0';signal load_tb: std_logic:='0';signal done_tb: std_logic;--#############################signal mode_tb: std_logic:='1'; -- 1-> encode; 0-> decode--#############################signal data_in_tb: std_logic_vector(63 downto 0):=X"0000000000000000";signal data_out_tb: std_logic_vector(127 downto 0);signal key_tb: std_logic_vector(63 downto 0):=X"0000000000000000";signal chk: integer:=0;beginclock_tb <= not clock_tb after 50 ns;reset_tb <= '1','0' after 150 ns;aes_i: aes128_fast       port map(                  clk      => clock_tb,                  reset    => reset_tb,                  start    => start_tb,                  mode     => mode_tb,                  load     => load_tb,                  key      => key_tb,                  data_in  => data_in_tb,                  data_out => data_out_tb,                  done     => done_tb                 );processfile infile : text open read_mode is "ecb_e_m.txt";file outfile: text open write_mode is "ecb_e_m_results.txt";variable inline       : line;variable outline      : line;variable itr_numline  : string(1 to 2);variable key_line     : string(1 to 4);variable pt_line      : string(1 to 3);variable ct_line      : string(1 to 3);variable iteration_num: integer;variable hex_key_str  : string(1 to 32);variable pt_str       : string(1 to 32);variable ct_str       : string(1 to 32);variable exp_cipher   : std_logic_vector(127 downto 0);variable next_round_data: std_logic_vector(127 downto 0):=X"00000000000000000000000000000000";begin  wait for 1 ns;  wait until reset_tb = '0';  write(outline,string'("Monte-Carlo Encryption Tests"));  writeline(outfile,outline);  write(outline,string'("----------------------------"));  writeline(outfile,outline);  while(not endfile(infile)) loop    wait until rising_edge(clock_tb);    wait until rising_edge(clock_tb);    readline(infile,inline);    read(inline,itr_numline);    read(inline,iteration_num);    readline(infile,inline);    read(inline,key_line);    read(inline,hex_key_str);    readline(infile,inline);    read(inline,pt_line);    read(inline,pt_str);    readline(infile,inline);    read(inline,ct_line);    read(inline,ct_str);    exp_cipher := to_StdLogicVector(From_HexString(ct_str));    for j in 0 to 9999 loop      chk <= j;      if(j = 0) then        wait until rising_edge(clock_tb);        load_tb <= '1';        key_tb <= to_StdLogicVector(From_HexString(hex_key_str(1 to 16)));        data_in_tb <= to_StdLogicVector(From_HexString(pt_str(1 to 16)));        wait until rising_edge(clock_tb);        load_tb <= '0';        key_tb <= to_StdLogicVector(From_HexString(hex_key_str(17 to 32)));        data_in_tb <= to_StdLogicVector(From_HexString(pt_str(17 to 32)));      else        wait until rising_edge(clock_tb);        load_tb <= '1';        key_tb <= to_StdLogicVector(From_HexString(hex_key_str(1 to 16)));        data_in_tb <= next_round_data(127 downto 64);        wait until rising_edge(clock_tb);        load_tb <= '0';        key_tb <= to_StdLogicVector(From_HexString(hex_key_str(17 to 32)));        data_in_tb <= next_round_data(63 downto 0);      end if;        wait until rising_edge(clock_tb);      wait until rising_edge(clock_tb);      start_tb <= '1';      wait until rising_edge(clock_tb);      start_tb <= '0';          wait until done_tb = '1';      wait until rising_edge(clock_tb);      next_round_data := data_out_tb;      wait until rising_edge(clock_tb);    end loop;    write(outline,string'("Round Number - "));    write(outline,iteration_num);    writeline(outfile,outline);    write(outline,string'("Result: "));    if(data_out_tb = exp_cipher) then      write(outline,string'("OK"));    else      write(outline,string'("Error"));    end if;    writeline(outfile,outline);  end loop;end process;end behavioral;    

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线观看视频一区二区| 亚洲综合免费观看高清完整版| 日韩中文字幕不卡| 欧美精品xxxxbbbb| 日韩高清一级片| 日韩一级精品视频在线观看| 久久99国产精品久久99| 精品国产乱码久久久久久浪潮| 伦理电影国产精品| 国产亚洲欧洲997久久综合| 成人免费看片app下载| 一区二区在线免费| 欧美日韩精品一区二区三区蜜桃 | 午夜国产不卡在线观看视频| 欧美美女激情18p| 精品一区二区三区久久| 国产精品三级电影| 色综合久久88色综合天天免费| 图片区小说区国产精品视频 | 久久一日本道色综合| 国产不卡视频一区二区三区| 亚洲欧美一区二区不卡| 欧美精品一二三区| 成人丝袜视频网| 亚洲国产精品久久久久秋霞影院| 91精品国产品国语在线不卡| 国产91露脸合集magnet| 亚洲欧洲综合另类| 精品乱人伦小说| 色综合色狠狠天天综合色| 三级欧美在线一区| 欧美激情一区三区| 91精品欧美福利在线观看| 粉嫩一区二区三区性色av| 一区二区三区免费在线观看| 久久综合丝袜日本网| 一本一道久久a久久精品 | 色哟哟精品一区| 精品一区二区三区免费观看| 日韩理论在线观看| 2020国产精品久久精品美国| 欧美色精品天天在线观看视频| 国产麻豆精品在线| 日韩av午夜在线观看| 国产精品久久久久aaaa樱花| 日韩欧美国产高清| 欧美视频中文字幕| www.视频一区| 国产一区二区三区四区在线观看| 亚洲一区二区三区国产| 中文字幕一区二区三区不卡| 日韩欧美www| 91.麻豆视频| 在线观看国产一区二区| 粉嫩嫩av羞羞动漫久久久| 美国毛片一区二区三区| 一区二区三区在线观看网站| 亚洲国产精华液网站w| 精品国产凹凸成av人导航| 欧美一区二区三级| 欧美日韩中文另类| 在线看国产日韩| 一本大道av伊人久久综合| 成人性生交大片免费看视频在线| 久久精品免费看| 美女一区二区三区| 日韩激情av在线| 午夜亚洲福利老司机| 亚洲免费视频中文字幕| 国产精品毛片久久久久久| 国产免费成人在线视频| 久久蜜臀中文字幕| 精品国产免费一区二区三区香蕉| 欧美日韩国产区一| 欧美另类变人与禽xxxxx| 欧美伊人久久大香线蕉综合69| 91美女在线观看| 欧洲国内综合视频| 欧美伦理电影网| 日韩一级完整毛片| 精品国产99国产精品| www欧美成人18+| 久久九九99视频| 国产精品卡一卡二卡三| 国产精品久久毛片| 综合久久给合久久狠狠狠97色| 亚洲色图丝袜美腿| 亚洲伊人伊色伊影伊综合网 | 日韩中文字幕不卡| 另类小说图片综合网| 韩国理伦片一区二区三区在线播放| 久久99久久精品| 国产尤物一区二区| 91在线视频观看| 在线亚洲一区二区| 欧美在线观看一二区| 日韩一区二区在线播放| 国产午夜精品美女毛片视频| 亚洲欧洲韩国日本视频 | 理论片日本一区| 国产盗摄女厕一区二区三区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 成人久久久精品乱码一区二区三区| 成人av网站在线观看| 在线观看av不卡| 欧美成人激情免费网| 中文字幕不卡一区| 婷婷夜色潮精品综合在线| 国产九色精品成人porny| 色视频一区二区| 欧美成人女星排行榜| 中文字幕一区二区三区乱码在线| 日韩中文字幕区一区有砖一区| 国产精品资源站在线| 色婷婷综合五月| 日韩欧美激情一区| 国产日产精品一区| 日本不卡一二三| 久久爱另类一区二区小说| 国产精品 欧美精品| 成+人+亚洲+综合天堂| 91久久精品网| 久久久精品综合| 亚洲美女屁股眼交| 日本不卡视频在线观看| 国产福利不卡视频| 久色婷婷小香蕉久久| 欧美亚洲日本国产| 2023国产精品视频| 亚洲一区二区综合| 久久99久久久久久久久久久| 国产精品一区二区三区网站| 欧美日韩精品电影| 国产日产欧美一区二区三区| 亚洲一二三四区不卡| 国产一区二区三区日韩 | 日本中文字幕一区| 福利一区二区在线| 日韩免费视频一区| 亚洲人妖av一区二区| 蜜桃视频在线观看一区| 91免费国产在线观看| 欧美电影免费观看完整版| 天使萌一区二区三区免费观看| 国产精品99久久久久久久vr| 精品视频全国免费看| 国产偷国产偷亚洲高清人白洁| 亚洲精品videosex极品| 99精品偷自拍| 欧美电影免费观看高清完整版在线 | 国产不卡免费视频| 538在线一区二区精品国产| 国产精品国模大尺度视频| 日韩二区三区在线观看| 国产1区2区3区精品美女| 精品国产伦理网| 午夜激情一区二区三区| 91麻豆精品一区二区三区| 久久久精品综合| 日本不卡一二三| 欧美不卡一区二区三区四区| 亚洲综合激情网| 99久久免费视频.com| 国产亚洲欧洲一区高清在线观看| 国产精品1区二区.| 日韩精品一区二区三区在线播放| 亚洲自拍与偷拍| 99精品桃花视频在线观看| 久久久久久一级片| 国产高清在线观看免费不卡| 久久影院午夜论| 久久99国产精品久久99 | 欧美在线一二三四区| 亚洲欧洲在线观看av| 国产ts人妖一区二区| 久久蜜桃香蕉精品一区二区三区| 水蜜桃久久夜色精品一区的特点| 欧美视频一区二区三区| 亚洲线精品一区二区三区八戒| 色偷偷久久一区二区三区| 亚洲欧美电影一区二区| 国产91精品久久久久久久网曝门| 国产人久久人人人人爽| 国产69精品久久久久777| 国产日韩欧美一区二区三区综合| 91福利视频网站| 亚洲第一会所有码转帖| 91影视在线播放| 亚洲男人的天堂在线aⅴ视频| 色婷婷av一区二区三区gif| 性久久久久久久| 精品日韩欧美一区二区| 国产综合成人久久大片91| 久久免费午夜影院| 日韩和欧美一区二区三区| 国产日韩欧美高清| 99精品视频在线观看| 亚洲综合在线第一页| 色综合夜色一区| 紧缚捆绑精品一区二区|