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

📄 manchesterdeencoder.map.eqn

📁 曼彻斯特编码
💻 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
--operation mode is normal

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


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

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


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

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


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

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


--add is add
--operation mode is normal

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


--sub is sub
--operation mode is normal

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


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

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


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

A1L2 = add # !sub;


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

A1L9 = add $ !sub;


--data_rise is data_rise
--operation mode is normal

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


--clkx2_t is clkx2_t
--operation mode is normal

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


--data_temp is data_temp
--operation mode is normal

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


--clkx16 is clkx16
--operation mode is input

clkx16 = INPUT();


--reset is reset
--operation mode is input

reset = INPUT();


--din is din
--operation mode is input

din = INPUT();


--clkx2 is clkx2
--operation mode is output

clkx2 = OUTPUT(clkx2_r);


⌨️ 快捷键说明

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