GAL编译工具(Atmel提供)

源代码在线查看: reglatch.pld

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

相关代码

				Name            Reglatch;
				Partno          ;
				Revision        01;
				Date            8/11/95;
				Designer        PLD Expert;
				Company         Atmel Corp.;
				Location        None;
				Assembly        None;
				Device          F1500;
				
				/* Example showing register and latch usage */
				
				pin 4 = a;
				pin 5 = b;           /* Data Inputs */
				pin 2 = g;           /* Latch Enable */
				pin 1 = Reset;       /* Reset pin */
				pin 43 = Clk;        /* Global clock pin */
				pin 33 = ClkEn;      /* Clock Enable */
				
				Property Atmel {preassign keep};
				
				/* Outputs */
				pin 41 = OutReg; 
				pin = Lat;    
				
				/* equations */
				
				/* Use NodeLatch to latch input data */
				  
				Lat.l    = a & b;  /* Latch data */
				Lat.le   = g;      /* Latch Enable */
				 
				OutReg.d   = Lat;
				OutReg.ck  = Clk;     /* Global Clock pin */
				OutReg.ce  = ClkEn;   /* Clock enable */
				OutReg.ar  = !Reset;  /* Use Global Reset pin */
				
							

相关资源