⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xor2.vhd

📁 The objective of this projectis to design, model and simulate an autocorrelation generator circuit
💻 VHD
字号:
--XOR2 MODELUSE work.ALL;entity XOR2 is    generic(constant TPLH:TIME:=4 ns;            constant TPHL:TIME:=6 ns);	    port ( I1,I2: in BIT; O: out BIT);end XOR2;architecture BEH of XOR2 isbeginP1: process(I1)variable O_TEM:BIT;variable O_TEM_M:BIT; 	BEGIN	O_TEM_M := I1 XOR I2;	if ( O_TEM='0' AND O_TEM_M='1') then	   O <= I1 XOR I2 after TPLH;	   elsif (O_TEM='1' AND O_TEM_M='0') then	        O <= I1 XOR I2 after TPHL; 	        else O <= I1 XOR I2;	 end if;	 O_TEM:= I2 XOR I2;end process P1;end BEH;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -