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

📄 keyboard.map.eqn

📁 首先将下载板插到主板上面. 1。源文件保存在src目录
💻 EQN
📖 第 1 页 / 共 2 页
字号:
--E1_q_a[0] is keyboarddeco:inst|altsyncram:reduce_or_rtl_0|altsyncram_h5k:auto_generated|q_a[0]
--RAM Block Operation Mode: ROM
--Port A Depth: 256, Port A Width: 1
--Port A Logical Depth: 256, Port A Logical Width: 5
--Port A Input: Registered, Port A Output: Un-registered
E1_q_a[0]_PORT_A_address = BUS(row[3], row[2], row[1], row[0], B1L62, B1L42, B1_col[1], B1_col[0]);
E1_q_a[0]_PORT_A_address_reg = DFFE(E1_q_a[0]_PORT_A_address, E1_q_a[0]_clock_0, , , E1_q_a[0]_clock_enable_0);
E1_q_a[0]_clock_0 = !B1_Mega_cnt[4];
E1_q_a[0]_clock_enable_0 = B1L65;
E1_q_a[0]_PORT_A_data_out = MEMORY(, , E1_q_a[0]_PORT_A_address_reg, , , , , , E1_q_a[0]_clock_0, , E1_q_a[0]_clock_enable_0, , , );
E1_q_a[0] = E1_q_a[0]_PORT_A_data_out[0];


--B1_code[3] is keyboarddeco:inst|code[3]
--operation mode is normal

B1_code[3] = E1_q_a[1] & E1_q_a[0] # !E1_q_a[1] & (B1_code[3]);


--B1_clk2 is keyboarddeco:inst|clk2
--operation mode is normal

B1_clk2_lut_out = !B1_clk2;
B1_clk2 = DFFEAS(B1_clk2_lut_out, B1_Mega_cnt[4], VCC, , , , , , );


--B1_count[2] is keyboarddeco:inst|count[2]
--operation mode is arithmetic

B1_count[2]_carry_eqn = B1L13;
B1_count[2]_lut_out = B1_count[2] $ (!B1_count[2]_carry_eqn);
B1_count[2] = DFFEAS(B1_count[2]_lut_out, B1_clk4, rst, , B1L53, , , B1L84, );

--B1L33 is keyboarddeco:inst|count[2]~79
--operation mode is arithmetic

B1L33 = CARRY(B1_count[2] & (!B1L13));


--B1_count[3] is keyboarddeco:inst|count[3]
--operation mode is normal

B1_count[3]_carry_eqn = B1L33;
B1_count[3]_lut_out = B1_count[3] $ (B1_count[3]_carry_eqn);
B1_count[3] = DFFEAS(B1_count[3]_lut_out, B1_clk4, rst, , B1L53, , , B1L84, );


--B1L1 is keyboarddeco:inst|LessThan~33
--operation mode is normal

B1L1 = B1_count[2] # B1_count[3];


--B1L31 is keyboarddeco:inst|S_row~124
--operation mode is normal

B1L31 = B1L84 & (B1_state[5] # !B1_state[0]) # !B1L84 & (B1L1);


--B1_Mega_cnt[4] is keyboarddeco:inst|Mega_cnt[4]
--operation mode is normal

B1_Mega_cnt[4]_carry_eqn = B1L01;
B1_Mega_cnt[4]_lut_out = B1_Mega_cnt[4] $ (!B1_Mega_cnt[4]_carry_eqn);
B1_Mega_cnt[4] = DFFEAS(B1_Mega_cnt[4]_lut_out, clk, rst, , , , , , );


--B1L65 is keyboarddeco:inst|valid~116
--operation mode is normal

B1L65 = !B1L84 & (B1L34 # B1L62);


--B1L53 is keyboarddeco:inst|count[3]~86
--operation mode is normal

B1L53 = B1_state[5] # !B1L84 # !B1_state[0];


--B1_count[1] is keyboarddeco:inst|count[1]
--operation mode is arithmetic

B1_count[1]_carry_eqn = B1L92;
B1_count[1]_lut_out = B1_count[1] $ (B1_count[1]_carry_eqn);
B1_count[1] = DFFEAS(B1_count[1]_lut_out, B1_clk4, rst, , B1L53, , , B1L84, );

--B1L13 is keyboarddeco:inst|count[1]~88
--operation mode is arithmetic

B1L13 = CARRY(!B1L92 # !B1_count[1]);


--B1_Mega_cnt[3] is keyboarddeco:inst|Mega_cnt[3]
--operation mode is arithmetic

B1_Mega_cnt[3]_carry_eqn = B1L8;
B1_Mega_cnt[3]_lut_out = B1_Mega_cnt[3] $ (B1_Mega_cnt[3]_carry_eqn);
B1_Mega_cnt[3] = DFFEAS(B1_Mega_cnt[3]_lut_out, clk, rst, , , , , , );

--B1L01 is keyboarddeco:inst|Mega_cnt[3]~180
--operation mode is arithmetic

B1L01 = CARRY(!B1L8 # !B1_Mega_cnt[3]);


--B1_count[0] is keyboarddeco:inst|count[0]
--operation mode is arithmetic

B1_count[0]_lut_out = B1L1 $ !B1_count[0];
B1_count[0] = DFFEAS(B1_count[0]_lut_out, B1_clk4, rst, , B1L53, , , B1L84, );

--B1L92 is keyboarddeco:inst|count[0]~92
--operation mode is arithmetic

B1L92 = CARRY(!B1L1 & B1_count[0]);


--B1_Mega_cnt[2] is keyboarddeco:inst|Mega_cnt[2]
--operation mode is arithmetic

B1_Mega_cnt[2]_carry_eqn = B1L6;
B1_Mega_cnt[2]_lut_out = B1_Mega_cnt[2] $ (!B1_Mega_cnt[2]_carry_eqn);
B1_Mega_cnt[2] = DFFEAS(B1_Mega_cnt[2]_lut_out, clk, rst, , , , , , );

--B1L8 is keyboarddeco:inst|Mega_cnt[2]~184
--operation mode is arithmetic

B1L8 = CARRY(B1_Mega_cnt[2] & (!B1L6));


--B1_Mega_cnt[1] is keyboarddeco:inst|Mega_cnt[1]
--operation mode is arithmetic

B1_Mega_cnt[1]_carry_eqn = B1L4;
B1_Mega_cnt[1]_lut_out = B1_Mega_cnt[1] $ (B1_Mega_cnt[1]_carry_eqn);
B1_Mega_cnt[1] = DFFEAS(B1_Mega_cnt[1]_lut_out, clk, rst, , , , , , );

--B1L6 is keyboarddeco:inst|Mega_cnt[1]~188
--operation mode is arithmetic

B1L6 = CARRY(!B1L4 # !B1_Mega_cnt[1]);


--B1_Mega_cnt[0] is keyboarddeco:inst|Mega_cnt[0]
--operation mode is arithmetic

B1_Mega_cnt[0]_lut_out = !B1_Mega_cnt[0];
B1_Mega_cnt[0] = DFFEAS(B1_Mega_cnt[0]_lut_out, clk, rst, , , , , , );

--B1L4 is keyboarddeco:inst|Mega_cnt[0]~192
--operation mode is arithmetic

B1L4 = CARRY(B1_Mega_cnt[0]);


--B1L52 is keyboarddeco:inst|col[3]~105
--operation mode is normal

B1L52 = B1_state[2] & (B1_state[1] # B1_state[3]) # !B1_state[2] & (B1_state[1] $ !B1_state[3]);


--B1L62 is keyboarddeco:inst|col[3]~111
--operation mode is normal

B1L62 = !B1L52 & !B1_state[4] & !B1_state[5] & B1_state[0];


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

row[0] = INPUT();


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

row[2] = INPUT();


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

row[1] = INPUT();


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

row[3] = INPUT();


--rst is rst
--operation mode is input

rst = INPUT();


--clk is clk
--operation mode is input

clk = INPUT();


--sgsel0 is sgsel0
--operation mode is output

sgsel0 = OUTPUT(VCC);


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

col[3] = OUTPUT(B1L62);


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

col[2] = OUTPUT(B1L42);


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

col[1] = OUTPUT(B1_col[1]);


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

col[0] = OUTPUT(B1_col[0]);


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

seg[6] = OUTPUT(C1L1);


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

seg[5] = OUTPUT(!C1L2);


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

seg[4] = OUTPUT(!C1L3);


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

seg[3] = OUTPUT(!C1L4);


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

seg[2] = OUTPUT(!C1L5);


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

seg[1] = OUTPUT(!C1L6);


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

seg[0] = OUTPUT(!C1L7);


⌨️ 快捷键说明

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