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

📄 manchesterdeencoder.fit.eqn

📁 基于FPGA/CPLD
💻 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.
--clkx2_r is clkx2_r at LC_X2_Y13_N2
--operation mode is normal

clkx2_r_lut_out = !cnt[2];
clkx2_r = DFFEAS(clkx2_r_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , , , , , );


--cnt[2] is cnt[2] at LC_X3_Y13_N8
--operation mode is normal

cnt[2]_lut_out = !cnt[2];
cnt[2] = DFFEAS(cnt[2]_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , A1L21, , , , );


--cnt[1] is cnt[1] at LC_X4_Y13_N2
--operation mode is normal

cnt[1]_lut_out = cnt[1] $ (cnt[0] # !sub & add);
cnt[1] = DFFEAS(cnt[1]_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , A1L2, , , , );


--cnt[0] is cnt[0] at LC_X4_Y13_N4
--operation mode is normal

cnt[0]_lut_out = !cnt[0];
cnt[0] = DFFEAS(cnt[0]_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , A1L9, , , , );


--add is add at LC_X3_Y13_N2
--operation mode is normal

add_lut_out = !clkx2_t & (data_rise);
add = DFFEAS(add_lut_out, !GLOBAL(clkx16), !GLOBAL(reset), , , , , , );


--sub is sub at LC_X3_Y13_N5
--operation mode is normal

sub_lut_out = clkx2_t & (data_rise);
sub = DFFEAS(sub_lut_out, !GLOBAL(clkx16), !GLOBAL(reset), , , , , , );


--A1L21 is cnt[2]~199 at LC_X3_Y13_N4
--operation mode is normal

A1L21 = cnt[1] & (sub & add & cnt[0] # !sub & (add # cnt[0]));


--A1L2 is clk_div~1 at LC_X3_Y13_N6
--operation mode is normal

A1L2 = add # !sub;


--A1L9 is cnt[0]~201 at LC_X3_Y13_N9
--operation mode is normal

A1L9 = add $ !sub;


--data_rise is data_rise at LC_X2_Y13_N6
--operation mode is normal

data_rise_lut_out = din & !data_temp;
data_rise = DFFEAS(data_rise_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , , , , , );


--clkx2_t is clkx2_t at LC_X2_Y13_N4
--operation mode is normal

clkx2_t_lut_out = GND;
clkx2_t = DFFEAS(clkx2_t_lut_out, din, !GLOBAL(reset), , , clkx2_r, , , VCC);


--data_temp is data_temp at LC_X2_Y13_N5
--operation mode is normal

data_temp_lut_out = GND;
data_temp = DFFEAS(data_temp_lut_out, GLOBAL(clkx16), !GLOBAL(reset), , , din, , , VCC);


--clkx16 is clkx16 at PIN_10
--operation mode is input

clkx16 = INPUT();


--reset is reset at PIN_66
--operation mode is input

reset = INPUT();


--din is din at PIN_100
--operation mode is input

din = INPUT();


--clkx2 is clkx2 at PIN_99
--operation mode is output

clkx2 = OUTPUT(clkx2_r);




⌨️ 快捷键说明

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