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

📄 chk1101.map.eqn

📁 序列发生器,产生一个8位序列号,序列码可自定义修改,还有一个序列检测器
💻 EQN
字号:
-- Copyright (C) 1991-2006 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.
--A1L13Q is r~reg0
A1L13Q = DFFEAS(A1L12, clk,  ,  ,  ,  ,  ,  ,  );


--F is F
F = DFFEAS(A1L9, clk,  ,  ,  ,  ,  ,  ,  );


--A1L11 is r~203
A1L11 = din[1] & (din[3] & !din[2]) # !din[1] & din[0] & (din[2]);


--A1L12 is r~204
A1L12 = en & A1L13Q # !en & (A1L11 & A1L13Q # !A1L11 & (F));


--A1L9 is F~44
A1L9 = en & F # !en & (A1L11);


--en is en
--operation mode is input

en = INPUT();


--din[0] is din[0]
--operation mode is input

din[0] = INPUT();


--din[3] is din[3]
--operation mode is input

din[3] = INPUT();


--din[1] is din[1]
--operation mode is input

din[1] = INPUT();


--din[2] is din[2]
--operation mode is input

din[2] = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


--r is r
--operation mode is output

r = OUTPUT(A1L13Q);


⌨️ 快捷键说明

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