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

📄 dffpipe_id9.tdf

📁 用VERILOG写的FIFO程序
💻 TDF
字号:
--dffpipe DELAY=3 WIDTH=8 clock clrn d q ALTERA_INTERNAL_OPTIONS=AUTO_SHIFT_REGISTER_RECOGNITION=OFF
--VERSION_BEGIN 6.0 cbx_mgl 2006:05:17:10:06:16:SJ cbx_stratixii 2006:03:03:09:35:36:SJ cbx_util_mgl 2006:01:09:10:46:36:SJ  VERSION_END


--  Copyright (C) 1991-2006 Altera Corporation
--  Your use of Altera Corporation's design tools, logic functions 
--  and other software and tools, and its AMPP partner logic 
--  functions, and any output files any of the foregoing 
--  (including device programming or simulation files), and any 
--  associated documentation or information are expressly subject 
--  to the terms and conditions of the Altera Program License 
--  Subscription Agreement, Altera MegaCore Function License 
--  Agreement, or other applicable license agreement, including, 
--  without limitation, that your use is for the sole purpose of 
--  programming logic devices manufactured by Altera and sold by 
--  Altera or its authorized distributors.  Please refer to the 
--  applicable agreement for further details.



--synthesis_resources = lut 24 
OPTIONS ALTERA_INTERNAL_OPTION = "AUTO_SHIFT_REGISTER_RECOGNITION=OFF";

SUBDESIGN dffpipe_id9
( 
	clock	:	input;
	clrn	:	input;
	d[7..0]	:	input;
	q[7..0]	:	output;
) 
VARIABLE 
	dffe11a[7..0] : dffe;
	dffe12a[7..0] : dffe;
	dffe13a[7..0] : dffe;
	ena	: NODE;
	prn	: NODE;
	sclr	: NODE;

BEGIN 
	dffe11a[].CLK = clock;
	dffe11a[].CLRN = clrn;
	dffe11a[].D = (d[] & (! sclr));
	dffe11a[].ENA = ena;
	dffe11a[].PRN = prn;
	dffe12a[].CLK = clock;
	dffe12a[].CLRN = clrn;
	dffe12a[].D = (dffe11a[].Q & (! sclr));
	dffe12a[].ENA = ena;
	dffe12a[].PRN = prn;
	dffe13a[].CLK = clock;
	dffe13a[].CLRN = clrn;
	dffe13a[].D = (dffe12a[].Q & (! sclr));
	dffe13a[].ENA = ena;
	dffe13a[].PRN = prn;
	ena = VCC;
	prn = VCC;
	q[] = dffe13a[].Q;
	sclr = GND;
END;
--VALID FILE

⌨️ 快捷键说明

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