📄 dffpipe_0v8.tdf
字号:
--dffpipe DELAY=2 WIDTH=2 clock d q ALTERA_INTERNAL_OPTIONS=AUTO_SHIFT_REGISTER_RECOGNITION=OFF
--VERSION_BEGIN 5.1 cbx_mgl 2005:10:09:07:39:04:SJ cbx_stratixii 2005:07:27:05:50:56:SJ cbx_util_mgl 2005:09:13:05:23:22:SJ VERSION_END
-- Copyright (C) 1991-2005 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 = reg 4
OPTIONS ALTERA_INTERNAL_OPTION = "AUTO_SHIFT_REGISTER_RECOGNITION=OFF";
SUBDESIGN dffpipe_0v8
(
clock : input;
d[1..0] : input;
q[1..0] : output;
)
VARIABLE
dffe14a[1..0] : dffe;
dffe15a[1..0] : dffe;
clrn : NODE;
ena : NODE;
prn : NODE;
sclr : NODE;
BEGIN
dffe14a[].CLK = clock;
dffe14a[].CLRN = clrn;
dffe14a[].D = (d[] & (! sclr));
dffe14a[].ENA = ena;
dffe14a[].PRN = prn;
dffe15a[].CLK = clock;
dffe15a[].CLRN = clrn;
dffe15a[].D = (dffe14a[].Q & (! sclr));
dffe15a[].ENA = ena;
dffe15a[].PRN = prn;
clrn = VCC;
ena = VCC;
prn = VCC;
q[] = dffe15a[].Q;
sclr = GND;
END;
--VALID FILE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -