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

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

?? modmult.vhd

?? RSA ( Rivest Shamir Adleman )is crypthograph system that used to give a secret information and digit
?? VHD
字號:
--------------------------------------------------------------------------																					-------- Modular Multiplier						 									-------- RSA Public Key Cryptography IP Core 									-------- 																					-------- This file is part of the BasicRSA project 							-------- http://www.opencores.org/			 									-------- 																					-------- To Do: 																		-------- - Speed and efficiency improvements									-------- - Possible revisions for good engineering/coding practices	-------- 																					-------- Author(s): 																	-------- - Steven R. McQueen, srmcqueen@opencores.org 						-------- 																					------------------------------------------------------------------------------ 																					-------- Copyright (C) 2003 Steven R. McQueen       						-------- 																					-------- 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 							-------- 																					------------------------------------------------------------------------------ CVS Revision History---- $Log: not supported by cvs2svn $---- This module implements the modular multiplier for the RSA Public Key Cypher. It expects -- to receive a multiplicand on th MPAND bus, a multiplier on the MPLIER bus, and a modulus-- on the MODULUS bus. The multiplier and multiplicand must have a value less than the modulus.---- A Shift-and-Add algorithm is used in this module. For each bit of the multiplier, the-- multiplicand value is shifted. For each '1' bit of the multiplier, the shifted multiplicand-- value is added	to the product. To ensure that the product is always expressed as a remainder-- two subtractions are performed on the product, P2 = P1-modulus, and P3 = P1-(2*modulus).-- The high-order bits of these results are used to determine whether P sould be copied from-- P1, P2, or P3. ---- The operation ends when all '1' bits in the multiplier have been used.---- Comments, questions and suggestions may be directed to the author at srmcqueen@mcqueentech.com.library IEEE;use IEEE.STD_LOGIC_1164.ALL;use IEEE.STD_LOGIC_ARITH.ALL;use IEEE.STD_LOGIC_UNSIGNED.ALL;--  Uncomment the following lines to use the declarations that are--  provided for instantiating Xilinx primitive components.--library UNISIM;--use UNISIM.VComponents.all;entity modmult is	Generic (MPWID: integer := 32);    Port ( mpand : in std_logic_vector(MPWID-1 downto 0);           mplier : in std_logic_vector(MPWID-1 downto 0);           modulus : in std_logic_vector(MPWID-1 downto 0);           product : out std_logic_vector(MPWID-1 downto 0);           clk : in std_logic;			  ds : in std_logic;			  reset : in std_logic;			  ready : out std_logic);end modmult;architecture modmult1 of modmult issignal mpreg: std_logic_vector(MPWID-1 downto 0);signal mcreg, mcreg1, mcreg2: std_logic_vector(MPWID+1 downto 0);signal modreg1, modreg2: std_logic_vector(MPWID+1 downto 0);signal prodreg, prodreg1, prodreg2, prodreg3, prodreg4: std_logic_vector(MPWID+1 downto 0);--signal count: integer;signal modstate: std_logic_vector(1 downto 0);signal first: std_logic;begin	-- final result...	product <= prodreg4(MPWID-1 downto 0);	-- add shifted value if place bit is '1', copy original if place bit is '0'	with mpreg(0) select		prodreg1 <= prodreg + mcreg when '1',						prodreg when others;	-- subtract modulus and subtract modulus * 2.	prodreg2 <= prodreg1 - modreg1;	prodreg3 <= prodreg1 - modreg2;	-- negative results mean that we subtracted too much...	modstate <= prodreg3(mpwid+1) & prodreg2(mpwid+1);		-- select the correct modular result and copy it....	with modstate select		prodreg4 <= prodreg1 when "11",						prodreg2 when "10",						prodreg3 when others;	-- meanwhile, subtract the modulus from the shifted multiplicand...	mcreg1 <= mcreg - modreg1;		-- select the correct modular value and copy it.	with mcreg1(MPWID) select		mcreg2 <= mcreg when '1',					 mcreg1 when others;	ready <= first;	combine: process (clk, first, ds, mpreg, reset) is	begin			if reset = '1' then			first <= '1';		elsif rising_edge(clk) then			if first = '1' then			-- First time through, set up registers to start multiplication procedure			-- Input values are sampled only once				if ds = '1' then					mpreg <= mplier;					mcreg <= "00" & mpand;					modreg1 <= "00" & modulus;					modreg2 <= '0' & modulus & '0';					prodreg <= (others => '0');					first <= '0';				end if;			else			-- when all bits have been shifted out of the multiplicand, operation is over			-- Note: this leads to at least one waste cycle per multiplication				if mpreg = 0 then					first <= '1';				else				-- shift the multiplicand left one bit					mcreg <= mcreg2(MPWID downto 0) & '0';				-- shift the multiplier right one bit					mpreg <= '0' & mpreg(MPWID-1 downto 1);				-- copy intermediate product					prodreg <= prodreg4;				end if;			end if;		end if;	end process combine;end modmult1;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美精品黑人性xxxx| 亚洲人成电影网站色mp4| 韩国av一区二区三区在线观看| 久久伊人中文字幕| 日本久久电影网| 久久国产精品无码网站| 亚洲美女视频在线观看| 日韩欧美美女一区二区三区| 青青草原综合久久大伊人精品优势 | 国产精品麻豆视频| 国产日韩成人精品| 国产亚洲精品免费| 亚洲国产精品精华液2区45| 国产婷婷色一区二区三区在线| 久久综合久久综合亚洲| 久久久久88色偷偷免费| 国产日韩在线不卡| 国产精品色哟哟| 亚洲午夜在线电影| 有码一区二区三区| 亚洲综合久久久| 亚洲18女电影在线观看| 日本欧美久久久久免费播放网| 久久精品国产99| 国产一区二区看久久| 国产成人在线免费观看| 99精品热视频| 欧美亚洲另类激情小说| 91 com成人网| 精品国产91亚洲一区二区三区婷婷| 亚洲精品在线电影| 欧美高清在线视频| 一区二区三区.www| 日韩成人精品在线观看| 国产一区二区三区视频在线播放| 国产精品一区二区x88av| av在线不卡观看免费观看| 一道本成人在线| 欧美日韩国产一级二级| 精品乱人伦小说| 国产精品色婷婷久久58| 亚洲一区二区三区小说| 蜜桃视频在线一区| 成熟亚洲日本毛茸茸凸凹| 色偷偷一区二区三区| 欧美一区二区女人| 国产日韩av一区| 亚洲在线免费播放| 精品一区二区免费看| 成人午夜又粗又硬又大| 欧美色视频在线| 国产午夜亚洲精品羞羞网站| 亚洲日本丝袜连裤袜办公室| 午夜精品久久久久| 国产精品一级在线| 色婷婷久久久亚洲一区二区三区 | 国产精品久久久久久亚洲毛片| 亚洲精品一二三四区| 美女精品自拍一二三四| av在线播放成人| 91精品久久久久久蜜臀| 国产精品蜜臀av| 日韩电影在线观看电影| 成人一区二区三区中文字幕| 欧美精品久久一区| 国产精品美女久久久久高潮| 日韩和欧美一区二区| 97精品电影院| 日韩视频免费直播| 亚洲三级在线播放| 国产一区免费电影| 欧美三电影在线| 欧美激情综合五月色丁香| 五月天中文字幕一区二区| 成人小视频免费观看| 欧美大片国产精品| 国产美女精品在线| 欧美日韩三级视频| 国产精品久久久一区麻豆最新章节| 青青草原综合久久大伊人精品优势 | 亚洲国产精品一区二区久久恐怖片| 国产精品一二一区| 日韩欧美成人激情| 亚洲成人一区二区在线观看| 成人av在线一区二区| 日韩三级中文字幕| 亚洲国产综合人成综合网站| 97久久精品人人做人人爽| 久久先锋影音av鲁色资源网| 青青青爽久久午夜综合久久午夜 | 91精品国产综合久久小美女| 亚洲婷婷综合久久一本伊一区| 激情小说欧美图片| 91精品久久久久久蜜臀| 一区二区日韩电影| 99国产欧美久久久精品| 国产欧美日韩中文久久| 国产一区二区在线观看免费| 91精品国产欧美一区二区| 亚洲成人7777| 欧美色男人天堂| 尤物av一区二区| 一本色道综合亚洲| 国产精品久久久久aaaa樱花| 国产91精品在线观看| 精品国产sm最大网站免费看| 欧美aaa在线| 欧美一卡二卡三卡四卡| 日韩av在线发布| 制服丝袜成人动漫| 日韩精品成人一区二区在线| 欧美精品tushy高清| 手机精品视频在线观看| 欧美日韩精品一区二区三区| 亚洲尤物在线视频观看| 欧美性三三影院| 亚洲一区二区三区爽爽爽爽爽| 在线观看亚洲一区| 亚洲国产精品影院| 在线播放欧美女士性生活| 日韩电影免费在线看| 日韩无一区二区| 国产在线视频精品一区| 久久精品一区二区三区av| 国产大片一区二区| 中文在线一区二区| 色乱码一区二区三区88 | 99久久婷婷国产综合精品电影| 国产精品不卡在线观看| 色哟哟一区二区三区| 亚洲国产一区二区三区| 欧美精品aⅴ在线视频| 美女免费视频一区| 国产午夜精品美女毛片视频| 国产成a人无v码亚洲福利| 国产精品护士白丝一区av| 色综合久久88色综合天天6| 亚洲bt欧美bt精品777| 91精品国产综合久久精品app| 另类的小说在线视频另类成人小视频在线| 日韩免费电影一区| 国产成人av一区| 亚洲欧美一区二区久久| 在线不卡中文字幕播放| 国产一区二区三区久久悠悠色av| 欧美国产一区视频在线观看| 91黄色激情网站| 日本欧美大码aⅴ在线播放| 久久精品夜夜夜夜久久| 91同城在线观看| 日本伊人午夜精品| 国产三级欧美三级| 欧美日本国产视频| 国产精品一区二区在线看| 一区二区三区四区激情| 精品日韩99亚洲| 91丨porny丨蝌蚪视频| 国产美女久久久久| 亚洲精品乱码久久久久久久久| 91精品国产一区二区三区| 豆国产96在线|亚洲| 香蕉影视欧美成人| 久久久国产午夜精品| 精品视频免费在线| 国产成人精品免费网站| 亚洲在线观看免费| 久久精品视频免费| 欧美日韩黄视频| 成人一级片网址| 日韩黄色一级片| 亚洲视频在线一区二区| 欧美精品一区二区在线观看| 欧美怡红院视频| 国产suv一区二区三区88区| 日韩不卡一二三区| 亚洲欧美综合另类在线卡通| 日韩欧美一级二级三级| 91麻豆高清视频| 国产乱码精品一区二区三区忘忧草 | 国产九色sp调教91| 亚洲第一激情av| 国产精品美女久久久久久久久久久| 欧美成人性战久久| 欧美色倩网站大全免费| 99精品视频在线播放观看| 国产一区二区三区观看| 午夜视频一区二区| 亚洲女与黑人做爰| 国产精品久久久久久久浪潮网站| 日韩区在线观看| 欧美日韩在线播放一区| 91小宝寻花一区二区三区| 国产99久久精品| 国内精品伊人久久久久av影院| 午夜精品一区二区三区电影天堂 | 91丨porny丨国产入口| 国产91精品入口| 国产在线一区二区综合免费视频| 日韩和欧美的一区| 亚洲国产另类精品专区|