GAL编译工具(Atmel提供)

源代码在线查看: expander.pld

软件大小: 1979 K
上传用户: zzh20043668
关键词: Atmel GAL 编译工具
下载地址: 免注册下载 普通下载 VIP

相关代码

				Name            Expander;
				Partno          ;
				Revision        01;
				Date            8/11/95;
				Designer        PLD Expert;
				Company         Atmel Corp.;
				Location        None;
				Assembly        None;
				Device          F1500;
				
				/* Example assigning expander terms */
				
				$INCLUDE fit1500.m
				
				EXP(X0);    /* Declare Expander terms */
				EXP(X1);    /* Declare Expander terms */
				EXP(X2);    /* Declare Expander terms */
				
				pin [24..27] = [I3..0];    /* inputs */
				
				pin [33..34] = [out1..2];  /* outputs */
				
				/* expander nodes */
				pinnode = [X0..2];     
				
				/* equations  */
				
				/* Implement SOP using expander terms by DeMorgan's inversion,
				   X2 = X0 # X1. */
				
				X0 = (!I1 & I0);
				X1 = (!I3 & I2 & !I0);
				X2 = (X0 & X1);
				
				out1  =   X2 # !I3 & !I1;
				out2  =   X2;
				
							

相关资源