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

📄 cnt10.fit.eqn

📁 8位十进制乘法器
💻 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.
--cqi[0] is cqi[0] at LC1_D13
--operation mode is normal

cqi[0]_lut_out = !cqi[0];
cqi[0] = DFFEA(cqi[0]_lut_out, GLOBAL(clk), !GLOBAL(clr), , , , );

--A1L5Q is cqi[0]~101 at LC1_D13
--operation mode is normal

A1L5Q = cqi[0];


--cqi[1] is cqi[1] at LC6_D13
--operation mode is normal

cqi[1]_lut_out = cqi[1] & (!cqi[0]) # !cqi[1] & cqi[0] & (cqi[2] # !cqi[3]);
cqi[1] = DFFEA(cqi[1]_lut_out, GLOBAL(clk), !GLOBAL(clr), , , , );

--A1L7Q is cqi[1]~102 at LC6_D13
--operation mode is normal

A1L7Q = cqi[1];


--cqi[2] is cqi[2] at LC8_D13
--operation mode is normal

cqi[2]_lut_out = cqi[2] $ (cqi[1] & cqi[0]);
cqi[2] = DFFEA(cqi[2]_lut_out, GLOBAL(clk), !GLOBAL(clr), , , , );

--A1L9Q is cqi[2]~103 at LC8_D13
--operation mode is normal

A1L9Q = cqi[2];


--cqi[3] is cqi[3] at LC5_D13
--operation mode is normal

cqi[3]_lut_out = cqi[3] & (cqi[1] $ cqi[2] # !cqi[0]) # !cqi[3] & cqi[1] & cqi[2] & cqi[0];
cqi[3] = DFFEA(cqi[3]_lut_out, GLOBAL(clk), !GLOBAL(clr), , , , );

--A1L11Q is cqi[3]~104 at LC5_D13
--operation mode is normal

A1L11Q = cqi[3];


--clk is clk at PIN_55
--operation mode is input

clk = INPUT();


--clr is clr at PIN_126
--operation mode is input

clr = INPUT();


--q[0] is q[0] at PIN_92
--operation mode is output

q[0] = OUTPUT(cqi[0]);


--q[1] is q[1] at PIN_89
--operation mode is output

q[1] = OUTPUT(cqi[1]);


--q[2] is q[2] at PIN_88
--operation mode is output

q[2] = OUTPUT(cqi[2]);


--q[3] is q[3] at PIN_90
--operation mode is output

q[3] = OUTPUT(cqi[3]);


⌨️ 快捷键说明

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