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

📄 cnt10.map.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]
--operation mode is normal

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

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

A1L5Q = cqi[0];


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

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

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

A1L7Q = cqi[1];


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

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

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

A1L9Q = cqi[2];


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

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

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

A1L11Q = cqi[3];


--clk is clk
--operation mode is input

clk = INPUT();


--clr is clr
--operation mode is input

clr = INPUT();


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

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


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

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


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

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


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

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


⌨️ 快捷键说明

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