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

📄 clk_divide_3.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.
--temp1 is temp1
--operation mode is normal

temp1_lut_out = temp1 $ (!rst & (counter1[1]));
temp1 = DFFEAS(temp1_lut_out, clkin, VCC, , , , , , );


--temp2 is temp2
--operation mode is normal

temp2_lut_out = temp2 $ (!rst & (counter2[1]));
temp2 = DFFEAS(temp2_lut_out, !clkin, VCC, , , , , , );


--A1L3 is clkout~0
--operation mode is normal

A1L3 = temp1 & temp2;


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

counter1[1]_lut_out = counter1[1] $ (!rst & (counter1[0]));
counter1[1] = DFFEAS(counter1[1]_lut_out, clkin, VCC, , , , , , );


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

counter2[1]_lut_out = counter2[1] $ (!rst & (counter2[0]));
counter2[1] = DFFEAS(counter2[1]_lut_out, !clkin, VCC, , , , , , );


--counter1[0] is counter1[0]
--operation mode is normal

counter1[0]_lut_out = !counter1[0];
counter1[0] = DFFEAS(counter1[0]_lut_out, clkin, VCC, , !rst, , , , );


--counter2[0] is counter2[0]
--operation mode is normal

counter2[0]_lut_out = !counter2[0];
counter2[0] = DFFEAS(counter2[0]_lut_out, !clkin, VCC, , !rst, , , , );


--rst is rst
--operation mode is input

rst = INPUT();


--clkin is clkin
--operation mode is input

clkin = INPUT();


--clkout is clkout
--operation mode is output

clkout = OUTPUT(A1L3);


--t1 is t1
--operation mode is output

t1 = OUTPUT(temp1);


--t2 is t2
--operation mode is output

t2 = OUTPUT(temp2);


⌨️ 快捷键说明

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