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

📄 cnt10.map.eqn

📁 用VHDL 语言描述频率计的设计
💻 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.
--SS[0] is SS[0]
--operation mode is normal

SS[0]_lut_out = !SS[0];
SS[0] = DFFEAS(SS[0]_lut_out, CLK, !RST, , EN, , , , );


--SS[1] is SS[1]
--operation mode is normal

SS[1]_lut_out = SS[1] & (!SS[0]) # !SS[1] & SS[0] & (SS[2] # !SS[3]);
SS[1] = DFFEAS(SS[1]_lut_out, CLK, !RST, , EN, , , , );


--SS[2] is SS[2]
--operation mode is normal

SS[2]_lut_out = SS[2] $ (SS[0] & SS[1] & EN);
SS[2] = DFFEAS(SS[2]_lut_out, CLK, !RST, , , , , , );


--SS[3] is SS[3]
--operation mode is normal

SS[3]_lut_out = SS[3] & (SS[1] $ SS[2] # !SS[0]) # !SS[3] & SS[1] & SS[2] & SS[0];
SS[3] = DFFEAS(SS[3]_lut_out, CLK, !RST, , EN, , , , );


--A1L9Q is OUTY~reg0
--operation mode is normal

A1L9Q_lut_out = SS[0] & SS[3] & !SS[1] & !SS[2];
A1L9Q = DFFEAS(A1L9Q_lut_out, CLK, !RST, , EN, , , , );


--CLK is CLK
--operation mode is input

CLK = INPUT();


--RST is RST
--operation mode is input

RST = INPUT();


--EN is EN
--operation mode is input

EN = INPUT();


--OUTX[0] is OUTX[0]
--operation mode is output

OUTX[0] = OUTPUT(SS[0]);


--OUTX[1] is OUTX[1]
--operation mode is output

OUTX[1] = OUTPUT(SS[1]);


--OUTX[2] is OUTX[2]
--operation mode is output

OUTX[2] = OUTPUT(SS[2]);


--OUTX[3] is OUTX[3]
--operation mode is output

OUTX[3] = OUTPUT(SS[3]);


--OUTY is OUTY
--operation mode is output

OUTY = OUTPUT(A1L9Q);


⌨️ 快捷键说明

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