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

📄 udasyncounter.fit.eqn

📁 Up-down Asynchronous counter in Behavioral Model
💻 EQN
字号:
-- 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.
--Q[0] is Q[0] at LC_X8_Y10_N4
--operation mode is normal

Q[0]_lut_out = !Q[0];
Q[0] = DFFEAS(Q[0]_lut_out, GLOBAL(clk), !GLOBAL(reset), , , A1L10Q, !GLOBAL(ud), , );


--Q[1] is Q[1] at LC_X8_Y8_N7
--operation mode is normal

Q[1]_lut_out = !Q[1];
Q[1] = DFFEAS(Q[1]_lut_out, GLOBAL(Q[0]), !GLOBAL(reset), , , A1L7Q, !GLOBAL(ud), , );


--Q[2] is Q[2] at LC_X20_Y10_N2
--operation mode is normal

Q[2]_lut_out = !Q[2];
Q[2] = DFFEAS(Q[2]_lut_out, GLOBAL(Q[1]), !GLOBAL(reset), , , A1L8Q, !GLOBAL(ud), , );


--Q[3] is Q[3] at LC_X1_Y8_N4
--operation mode is normal

Q[3]_lut_out = !Q[3];
Q[3] = DFFEAS(Q[3]_lut_out, GLOBAL(Q[2]), !GLOBAL(reset), , , A1L9Q, !GLOBAL(ud), , );


--A1L10Q is Q~8 at LC_X8_Y10_N2
--operation mode is normal

A1L10Q_lut_out = !Q[0];
A1L10Q = DFFEAS(A1L10Q_lut_out, !GLOBAL(clk), VCC, , , , , , );


--A1L7Q is Q~0 at LC_X8_Y8_N2
--operation mode is normal

A1L7Q_lut_out = !Q[1];
A1L7Q = DFFEAS(A1L7Q_lut_out, !GLOBAL(Q[0]), VCC, , , , , , );


--A1L8Q is Q~1 at LC_X20_Y10_N4
--operation mode is normal

A1L8Q_lut_out = !Q[2];
A1L8Q = DFFEAS(A1L8Q_lut_out, !GLOBAL(Q[1]), VCC, , , , , , );


--A1L9Q is Q~2 at LC_X1_Y8_N2
--operation mode is normal

A1L9Q_lut_out = !Q[3];
A1L9Q = DFFEAS(A1L9Q_lut_out, !GLOBAL(Q[2]), VCC, , , , , , );


--clk is clk at PIN_29
--operation mode is input

clk = INPUT();


--reset is reset at PIN_28
--operation mode is input

reset = INPUT();


--ud is ud at PIN_153
--operation mode is input

ud = INPUT();


--Z[0] is Z[0] at PIN_23
--operation mode is output

Z[0] = OUTPUT(Q[0]);


--Z[1] is Z[1] at PIN_75
--operation mode is output

Z[1] = OUTPUT(Q[1]);


--Z[2] is Z[2] at PIN_39
--operation mode is output

Z[2] = OUTPUT(Q[2]);


--Z[3] is Z[3] at PIN_38
--operation mode is output

Z[3] = OUTPUT(Q[3]);




⌨️ 快捷键说明

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