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

📄 adc.map.eqn

📁 通过VERILOG HDL语言使用CPLD连接PS2键盘.
💻 EQN
📖 第 1 页 / 共 3 页
字号:
A1L96_p0_out = A1L96 & A1L401 & A1L201 & A1L301 & !A1L501;
A1L96_p1_out = A1L97 & !A1L47;
A1L96_p2_out = !A1L97 & A1L96;
A1L96_p3_out = A1L96 & !A1L47;
A1L96_p4_out = A1L97 & A1L401 & A1L201 & A1L301 & !A1L501;
A1L96_or_out = A1L96_p0_out # A1L96_p1_out # A1L96_p2_out # A1L96_p3_out # A1L96_p4_out;
A1L96 = A1L96_or_out;


--A1L31 is LessThan~636
A1L31_p1_out = count[3] & count[1] & count[6] & count[5] & count[4];
A1L31_p2_out = count[3] & count[6] & count[5] & count[4] & count[2];
A1L31 = A1L31_p1_out # A1L31_p2_out;


--A1L41 is LessThan~639
A1L41_p1_out = !count[5] & shuchuu[5];
A1L41 = A1L41_p1_out;


--A1L74 is count~645
A1L74_p0_out = count[10] & !nop & count[7];
A1L74_p1_out = !nop & A1L21 & count[7] & A1L3 & A1L4;
A1L74_p2_out = count[9] & !nop & count[7];
A1L74_p3_out = count[8] & !nop & count[7];
A1L74_p4_out = count[11] & !nop & count[7];
A1L74 = A1L74_p0_out # A1L74_p1_out # A1L74_p2_out # A1L74_p3_out # A1L74_p4_out;


--A1L84 is count~651
A1L84_p0_out = nop & count[0];
A1L84_p1_out = !count[8] & !count[9] & !count[10] & !count[11] & !A1L5 & !count[6] & shuchuu[6] & count[0];
A1L84_p2_out = !nop & !count[8] & !count[9] & !count[10] & !count[11] & !count[2] & !count[1] & !count[7] & shuchuu[7];
A1L84_p3_out = !count[3] & !nop & !count[8] & !count[9] & !count[10] & !count[11] & !count[7] & shuchuu[7];
A1L84_p4_out = !count[8] & !count[9] & !count[10] & !count[11] & !count[7] & shuchuu[7] & count[0];
A1L84 = A1L84_p0_out # A1L84_p1_out # A1L84_p2_out # A1L84_p3_out # A1L84_p4_out;


--A1L94 is count~657
A1L94_p1_out = count[0] & !count[3] & !count[8] & !count[9] & !count[10] & !count[11] & !nop & !count[7] & shuchuu[7];
A1L94_p2_out = count[0] & !count[3] & !count[8] & !count[9] & !count[10] & !count[11] & !nop & !A1L5 & !count[6] & shuchuu[6];
A1L94 = A1L94_p1_out # A1L94_p2_out;


--A1L05 is count~660
A1L05_p1_out = !count[3] & !nop & count[0] & count[1] & !count[8] & !count[9] & !count[10] & !count[11] & !count[7] & shuchuu[7];
A1L05_p2_out = !count[3] & !nop & count[0] & count[1] & !count[8] & !count[9] & !count[10] & !count[11] & !A1L5 & !count[6] & shuchuu[6];
A1L05 = A1L05_p1_out # A1L05_p2_out;


--G51L7 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[1]~34
G51L7_p1_out = count[3] & count[2] & count[4] & !count[5];
G51L7 = G51L7_p1_out;


--A1L15 is count~663
A1L15_p0_out = count[10] & !nop & count[5];
A1L15_p1_out = !nop & A1L21 & count[5] & A1L3 & A1L4;
A1L15_p2_out = count[9] & !nop & count[5];
A1L15_p3_out = count[8] & !nop & count[5];
A1L15_p4_out = count[11] & !nop & count[5];
A1L15 = A1L15_p0_out # A1L15_p1_out # A1L15_p2_out # A1L15_p3_out # A1L15_p4_out;


--A1L25 is count~669
A1L25_p0_out = count[10] & !nop & count[6];
A1L25_p1_out = !nop & A1L21 & count[6] & A1L3 & A1L4;
A1L25_p2_out = count[9] & !nop & count[6];
A1L25_p3_out = count[8] & !nop & count[6];
A1L25_p4_out = count[11] & !nop & count[6];
A1L25 = A1L25_p0_out # A1L25_p1_out # A1L25_p2_out # A1L25_p3_out # A1L25_p4_out;


--G12L2 is lpm_add_sub:add_rtl_4|addcore:adder|a_csnbuffer:result_node|sout_node[0]~36
G12L2_p1_out = count[3] & count[4] & count[6] & count[5] & count[2] & !count[0];
G12L2_p2_out = count[3] & count[4] & count[6] & count[5] & !count[2] & count[1];
G12L2_p3_out = count[3] & count[4] & count[6] & count[5] & count[0] & !count[1];
G12L2 = G12L2_p1_out # G12L2_p2_out # G12L2_p3_out;


--A1L35 is count~675
A1L35_p1_out = !nop & count[3] & count[10];
A1L35 = A1L35_p1_out;


--A1L45 is count~677
A1L45_p0_out = !nop & count[3] & count[11];
A1L45_p1_out = !count[2] & !count[0] & !count[1] & !nop & count[3];
A1L45_p2_out = !nop & count[3] & count[9];
A1L45_p3_out = !nop & count[3] & count[8];
A1L45_p4_out = count[2] & count[0] & count[1] & !nop & !count[3] & !count[8] & !count[9] & !count[10] & !count[11] & !count[7] & shuchuu[7];
A1L45 = A1L35 # A1L45_p0_out # A1L45_p1_out # A1L45_p2_out # A1L45_p3_out # A1L45_p4_out;


--A1L55 is count~683
A1L55_p0_out = count[10] & !nop & count[4];
A1L55_p1_out = !nop & A1L21 & count[4] & A1L3 & A1L4;
A1L55_p2_out = count[9] & !nop & count[4];
A1L55_p3_out = count[8] & !nop & count[4];
A1L55_p4_out = count[11] & !nop & count[4];
A1L55 = A1L55_p0_out # A1L55_p1_out # A1L55_p2_out # A1L55_p3_out # A1L55_p4_out;


--~VCC~0 is ~VCC~0
~VCC~0_or_out = GND;
~VCC~0 = !(~VCC~0_or_out);


--A1L1 is Decoder~75sexp
A1L1 = EXP(counter[11] & counter[10]);


--A1L3 is LessThan~614sexp
A1L3 = EXP(!count[7] & shuchuu[7]);


--A1L4 is LessThan~616sexp
A1L4 = EXP(!count[6] & shuchuu[6]);


--G51L1 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[0]~33sexp1
G51L1 = EXP(count[2] & count[4] & count[3]);


--G51L2 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[0]~33sexp2
G51L2 = EXP(count[0] & count[4] & count[3]);


--G51L3 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[0]~33sexp3
G51L3 = EXP(!count[2] & !count[0] & !count[1] & !count[4]);


--G51L4 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[0]~33sexp4
G51L4 = EXP(!count[4] & !count[3]);


--G51L5 is lpm_add_sub:add_rtl_3|addcore:adder|a_csnbuffer:result_node|sout_node[0]~33sexp5
G51L5 = EXP(count[1] & count[4] & count[3]);


--A1L18 is reduce_or~409sexp2
A1L18 = EXP(!A1L301 & A1L401);


--A1L28 is reduce_or~409sexp3
A1L28 = EXP(!A1L201 & A1L301);


--A1L38 is reduce_or~409sexp4
A1L38 = EXP(A1L301 & !A1L401);


--A1L27 is lddat_reg[5]~275
A1L27_p1_out = A1L17 & A1L201 & !A1L301 & !A1L401 & !A1L501;
A1L27_p2_out = A1L17 & A1L201 & A1L301 & !A1L501;
A1L27 = A1L27_p1_out # A1L27_p2_out;


--clk is clk
--operation mode is input

clk = INPUT();


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

shuchu[0] = INPUT();


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

shuchu[1] = INPUT();


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

shuchu[2] = INPUT();


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

shuchu[3] = INPUT();


--shuchu[4] is shuchu[4]
--operation mode is input

shuchu[4] = INPUT();


--shuchu[5] is shuchu[5]
--operation mode is input

shuchu[5] = INPUT();


--shuchu[6] is shuchu[6]
--operation mode is input

shuchu[6] = INPUT();


--shuchu[7] is shuchu[7]
--operation mode is input

shuchu[7] = INPUT();


--biaozhi is biaozhi
--operation mode is input

biaozhi = INPUT();


--lddat[7] is lddat[7]
--operation mode is output

lddat[7] = OUTPUT(~VCC~0);


--cs is cs
--operation mode is output

cs = OUTPUT(A1L801Q);


--wr is wr
--operation mode is output

wr = OUTPUT(A1L601);


--rd is rd
--operation mode is output

rd = OUTPUT(A1L701);


--weixuan[0] is weixuan[0]
--operation mode is output

weixuan[0] = OUTPUT(A1L411);


--weixuan[1] is weixuan[1]
--operation mode is output

weixuan[1] = OUTPUT(A1L511);


--weixuan[2] is weixuan[2]
--operation mode is output

weixuan[2] = OUTPUT(A1L611);


--lddat[4] is lddat[4]
--operation mode is output

lddat[4] = OUTPUT(A1L07);


--lddat[2] is lddat[2]
--operation mode is output

lddat[2] = OUTPUT(A1L86);


--lddat[0] is lddat[0]
--operation mode is output

lddat[0] = OUTPUT(A1L66);


--lddat[1] is lddat[1]
--operation mode is output

lddat[1] = OUTPUT(A1L76);


--lddat[6] is lddat[6]
--operation mode is output

lddat[6] = OUTPUT(A1L37);


--lddat[5] is lddat[5]
--operation mode is output

lddat[5] = OUTPUT(A1L17);


--lddat[3] is lddat[3]
--operation mode is output

lddat[3] = OUTPUT(A1L96);


⌨️ 快捷键说明

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