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

📄 crc.fit.eqn

📁 编码实验Your use of Altera Corporation s design tools, logic functions and other software and tools, a
💻 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.
--A1L2 is d_temp~70 at LC_X14_Y20_N8
--operation mode is normal

A1L2 = choice & (data_check[5]) # !choice & (data_in[2]);


--A1L43 is reg_t~341 at LC_X14_Y20_N0
--operation mode is normal

A1L43 = A1L2 $ (choice & (data_check[6]) # !choice & data_in[3]);


--A1L3 is d_temp~71 at LC_X14_Y20_N5
--operation mode is normal

A1L3 = choice & data_check[3] # !choice & (data_in[0]);


--A1L53 is reg_t~342 at LC_X14_Y20_N6
--operation mode is normal

A1L53 = A1L43 $ A1L3 $ (data_check[0] & choice);


--data_CRC[0]$latch is data_CRC[0]$latch at LC_X13_Y18_N4
--operation mode is normal

data_CRC[0]$latch = GLOBAL(choice) & (data_CRC[0]$latch) # !GLOBAL(choice) & A1L53;


--A1L4 is d_temp~72 at LC_X14_Y20_N7
--operation mode is normal

A1L4 = choice & data_check[1];


--A1L5 is d_temp~73 at LC_X14_Y20_N1
--operation mode is normal

A1L5 = choice & (data_check[4]) # !choice & (data_in[1]);


--A1L63 is reg_t~343 at LC_X14_Y20_N2
--operation mode is normal

A1L63 = A1L4 $ A1L3 $ A1L2 $ A1L5;


--data_CRC[1]$latch is data_CRC[1]$latch at LC_X14_Y18_N2
--operation mode is normal

data_CRC[1]$latch = GLOBAL(choice) & (data_CRC[1]$latch) # !GLOBAL(choice) & A1L63;


--A1L73 is reg_t~344 at LC_X14_Y20_N3
--operation mode is normal

A1L73 = A1L43 $ A1L5 $ (data_check[2] & choice);


--data_CRC[2]$latch is data_CRC[2]$latch at LC_X14_Y20_N9
--operation mode is normal

data_CRC[2]$latch = GLOBAL(choice) & (data_CRC[2]$latch) # !GLOBAL(choice) & A1L73;


--data_CRC[3]$latch is data_CRC[3]$latch at LC_X10_Y20_N2
--operation mode is normal

data_CRC[3]$latch = GLOBAL(choice) & (data_CRC[3]$latch) # !GLOBAL(choice) & data_in[0];


--data_CRC[4]$latch is data_CRC[4]$latch at LC_X9_Y20_N2
--operation mode is normal

data_CRC[4]$latch = GLOBAL(choice) & (data_CRC[4]$latch) # !GLOBAL(choice) & data_in[1];


--data_CRC[5]$latch is data_CRC[5]$latch at LC_X8_Y20_N2
--operation mode is normal

data_CRC[5]$latch = GLOBAL(choice) & (data_CRC[5]$latch) # !GLOBAL(choice) & data_in[2];


--data_CRC[6]$latch is data_CRC[6]$latch at LC_X7_Y19_N2
--operation mode is normal

data_CRC[6]$latch = GLOBAL(choice) & (data_CRC[6]$latch) # !GLOBAL(choice) & data_in[3];


--s[0]$latch is s[0]$latch at LC_X13_Y18_N2
--operation mode is normal

s[0]$latch = GLOBAL(choice) & A1L53 # !GLOBAL(choice) & (s[0]$latch);


--s[1]$latch is s[1]$latch at LC_X14_Y18_N4
--operation mode is normal

s[1]$latch = GLOBAL(choice) & A1L63 # !GLOBAL(choice) & (s[1]$latch);


--s[2]$latch is s[2]$latch at LC_X14_Y20_N4
--operation mode is normal

s[2]$latch = GLOBAL(choice) & A1L73 # !GLOBAL(choice) & (s[2]$latch);


--choice is choice at PIN_12
--operation mode is input

choice = INPUT();


--data_check[0] is data_check[0] at PIN_200
--operation mode is input

data_check[0] = INPUT();


--data_in[3] is data_in[3] at PIN_226
--operation mode is input

data_in[3] = INPUT();


--data_check[6] is data_check[6] at PIN_216
--operation mode is input

data_check[6] = INPUT();


--data_check[5] is data_check[5] at PIN_215
--operation mode is input

data_check[5] = INPUT();


--data_in[2] is data_in[2] at PIN_225
--operation mode is input

data_in[2] = INPUT();


--data_check[3] is data_check[3] at PIN_203
--operation mode is input

data_check[3] = INPUT();


--data_in[0] is data_in[0] at PIN_223
--operation mode is input

data_in[0] = INPUT();


--data_check[1] is data_check[1] at PIN_201
--operation mode is input

data_check[1] = INPUT();


--data_check[4] is data_check[4] at PIN_214
--operation mode is input

data_check[4] = INPUT();


--data_in[1] is data_in[1] at PIN_224
--operation mode is input

data_in[1] = INPUT();


--data_check[2] is data_check[2] at PIN_202
--operation mode is input

data_check[2] = INPUT();


--data_CRC[0] is data_CRC[0] at PIN_41
--operation mode is output

data_CRC[0] = OUTPUT(data_CRC[0]$latch);


--data_CRC[1] is data_CRC[1] at PIN_42
--operation mode is output

data_CRC[1] = OUTPUT(data_CRC[1]$latch);


--data_CRC[2] is data_CRC[2] at PIN_43
--operation mode is output

data_CRC[2] = OUTPUT(data_CRC[2]$latch);


--data_CRC[3] is data_CRC[3] at PIN_44
--operation mode is output

data_CRC[3] = OUTPUT(data_CRC[3]$latch);


--data_CRC[4] is data_CRC[4] at PIN_45
--operation mode is output

data_CRC[4] = OUTPUT(data_CRC[4]$latch);


--data_CRC[5] is data_CRC[5] at PIN_46
--operation mode is output

data_CRC[5] = OUTPUT(data_CRC[5]$latch);


--data_CRC[6] is data_CRC[6] at PIN_47
--operation mode is output

data_CRC[6] = OUTPUT(data_CRC[6]$latch);


--s[0] is s[0] at PIN_173
--operation mode is output

s[0] = OUTPUT(s[0]$latch);


--s[1] is s[1] at PIN_174
--operation mode is output

s[1] = OUTPUT(s[1]$latch);


--s[2] is s[2] at PIN_175
--operation mode is output

s[2] = OUTPUT(s[2]$latch);




⌨️ 快捷键说明

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