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

📄 counter.vo

📁 用verilog实现单片机计数器 用verilog实现单片机计数器
💻 VO
📖 第 1 页 / 共 5 页
字号:
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~148 ),
	.regout(),
	.cout(),
	.cout0(\inst12|Add0~149 ),
	.cout1(\inst12|Add0~149COUT1_151 ));
// synopsys translate_off
defparam \inst12|Add0~148_I .lut_mask = "33CC";
defparam \inst12|Add0~148_I .operation_mode = "arithmetic";
defparam \inst12|Add0~148_I .output_mode = "comb_only";
defparam \inst12|Add0~148_I .register_cascade_mode = "off";
defparam \inst12|Add0~148_I .sum_lutc_input = "datac";
defparam \inst12|Add0~148_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X25_Y11_N4
cyclone_lcell \inst1|state.s_run~I (
// Equation(s):
// \inst12|TF1[0]~64  = C1_state.s_run & \inst2|ENABLE1 [0] # !\rst~combout 

	.clk(\clock~combout ),
	.dataa(\rst~combout ),
	.datab(vcc),
	.datac(\inst2|ENABLE1 [0]),
	.datad(\inst2|ENABLE1 [0]),
	.aclr(!\rst~combout ),
	.aload(gnd),
	.sclr(gnd),
	.sload(vcc),
	.ena(vcc),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|TF1[0]~64 ),
	.regout(\inst1|state.s_run ),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst1|state.s_run~I .lut_mask = "F555";
defparam \inst1|state.s_run~I .operation_mode = "normal";
defparam \inst1|state.s_run~I .output_mode = "comb_only";
defparam \inst1|state.s_run~I .register_cascade_mode = "off";
defparam \inst1|state.s_run~I .sum_lutc_input = "qfbk";
defparam \inst1|state.s_run~I .synch_mode = "on";
// synopsys translate_on

// atom is at LC_X29_Y6_N9
cyclone_lcell \inst12|TL[0]~I (
// Equation(s):
// \inst12|TL [0] = DFFEAS(\inst12|TF1 [0] & (\inst2|TH [3]) # !\inst12|TF1 [0] & \inst12|Add0~148 , GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , !\rst~combout , )

	.clk(\clock~combout ),
	.dataa(vcc),
	.datab(\inst12|TF1 [0]),
	.datac(\inst12|Add0~148 ),
	.datad(\inst2|TH [3]),
	.aclr(gnd),
	.aload(gnd),
	.sclr(!\rst~combout ),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(),
	.regout(\inst12|TL [0]),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|TL[0]~I .lut_mask = "FC30";
defparam \inst12|TL[0]~I .operation_mode = "normal";
defparam \inst12|TL[0]~I .output_mode = "reg_only";
defparam \inst12|TL[0]~I .register_cascade_mode = "off";
defparam \inst12|TL[0]~I .sum_lutc_input = "datac";
defparam \inst12|TL[0]~I .synch_mode = "on";
// synopsys translate_on

// atom is at LC_X30_Y6_N1
cyclone_lcell \inst12|Add0~146_I (
// Equation(s):
// \inst12|Add0~146  = \inst12|TL [1] $ \inst12|Add0~149 
// \inst12|Add0~147  = CARRY(!\inst12|Add0~149  # !\inst12|TL [1])
// \inst12|Add0~147COUT1_152  = CARRY(!\inst12|Add0~149COUT1_151  # !\inst12|TL [1])

	.clk(gnd),
	.dataa(vcc),
	.datab(\inst12|TL [1]),
	.datac(vcc),
	.datad(vcc),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(vcc),
	.cin(gnd),
	.cin0(\inst12|Add0~149 ),
	.cin1(\inst12|Add0~149COUT1_151 ),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~146 ),
	.regout(),
	.cout(),
	.cout0(\inst12|Add0~147 ),
	.cout1(\inst12|Add0~147COUT1_152 ));
// synopsys translate_off
defparam \inst12|Add0~146_I .cin0_used = "true";
defparam \inst12|Add0~146_I .cin1_used = "true";
defparam \inst12|Add0~146_I .lut_mask = "3C3F";
defparam \inst12|Add0~146_I .operation_mode = "arithmetic";
defparam \inst12|Add0~146_I .output_mode = "comb_only";
defparam \inst12|Add0~146_I .register_cascade_mode = "off";
defparam \inst12|Add0~146_I .sum_lutc_input = "cin";
defparam \inst12|Add0~146_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X29_Y6_N0
cyclone_lcell \inst12|TL[1]~I (
// Equation(s):
// \inst12|TL [1] = DFFEAS(\inst12|TF1 [0] & (\inst2|TH [3]) # !\inst12|TF1 [0] & \inst12|Add0~146 , GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , !\rst~combout , )

	.clk(\clock~combout ),
	.dataa(\inst12|Add0~146 ),
	.datab(\inst12|TF1 [0]),
	.datac(vcc),
	.datad(\inst2|TH [3]),
	.aclr(gnd),
	.aload(gnd),
	.sclr(!\rst~combout ),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(),
	.regout(\inst12|TL [1]),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|TL[1]~I .lut_mask = "EE22";
defparam \inst12|TL[1]~I .operation_mode = "normal";
defparam \inst12|TL[1]~I .output_mode = "reg_only";
defparam \inst12|TL[1]~I .register_cascade_mode = "off";
defparam \inst12|TL[1]~I .sum_lutc_input = "datac";
defparam \inst12|TL[1]~I .synch_mode = "on";
// synopsys translate_on

// atom is at LC_X30_Y6_N2
cyclone_lcell \inst12|Add0~144_I (
// Equation(s):
// \inst12|Add0~144  = \inst12|TL [2] $ !\inst12|Add0~147 
// \inst12|Add0~145  = CARRY(\inst12|TL [2] & !\inst12|Add0~147 )
// \inst12|Add0~145COUT1_153  = CARRY(\inst12|TL [2] & !\inst12|Add0~147COUT1_152 )

	.clk(gnd),
	.dataa(vcc),
	.datab(\inst12|TL [2]),
	.datac(vcc),
	.datad(vcc),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(vcc),
	.cin(gnd),
	.cin0(\inst12|Add0~147 ),
	.cin1(\inst12|Add0~147COUT1_152 ),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~144 ),
	.regout(),
	.cout(),
	.cout0(\inst12|Add0~145 ),
	.cout1(\inst12|Add0~145COUT1_153 ));
// synopsys translate_off
defparam \inst12|Add0~144_I .cin0_used = "true";
defparam \inst12|Add0~144_I .cin1_used = "true";
defparam \inst12|Add0~144_I .lut_mask = "C30C";
defparam \inst12|Add0~144_I .operation_mode = "arithmetic";
defparam \inst12|Add0~144_I .output_mode = "comb_only";
defparam \inst12|Add0~144_I .register_cascade_mode = "off";
defparam \inst12|Add0~144_I .sum_lutc_input = "cin";
defparam \inst12|Add0~144_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X29_Y6_N4
cyclone_lcell \inst12|TL[2]~I (
// Equation(s):
// \inst12|TL [2] = DFFEAS(\rst~combout  & \inst12|Add0~144  & !\inst12|TF1 [0], GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , , )

	.clk(\clock~combout ),
	.dataa(vcc),
	.datab(\rst~combout ),
	.datac(\inst12|Add0~144 ),
	.datad(\inst12|TF1 [0]),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(),
	.regout(\inst12|TL [2]),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|TL[2]~I .lut_mask = "00C0";
defparam \inst12|TL[2]~I .operation_mode = "normal";
defparam \inst12|TL[2]~I .output_mode = "reg_only";
defparam \inst12|TL[2]~I .register_cascade_mode = "off";
defparam \inst12|TL[2]~I .sum_lutc_input = "datac";
defparam \inst12|TL[2]~I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X30_Y6_N3
cyclone_lcell \inst12|Add0~142_I (
// Equation(s):
// \inst12|Add0~142  = \inst12|TL [3] $ \inst12|Add0~145 
// \inst12|Add0~143  = CARRY(!\inst12|Add0~145  # !\inst12|TL [3])
// \inst12|Add0~143COUT1  = CARRY(!\inst12|Add0~145COUT1_153  # !\inst12|TL [3])

	.clk(gnd),
	.dataa(vcc),
	.datab(\inst12|TL [3]),
	.datac(vcc),
	.datad(vcc),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(vcc),
	.cin(gnd),
	.cin0(\inst12|Add0~145 ),
	.cin1(\inst12|Add0~145COUT1_153 ),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~142 ),
	.regout(),
	.cout(),
	.cout0(\inst12|Add0~143 ),
	.cout1(\inst12|Add0~143COUT1 ));
// synopsys translate_off
defparam \inst12|Add0~142_I .cin0_used = "true";
defparam \inst12|Add0~142_I .cin1_used = "true";
defparam \inst12|Add0~142_I .lut_mask = "3C3F";
defparam \inst12|Add0~142_I .operation_mode = "arithmetic";
defparam \inst12|Add0~142_I .output_mode = "comb_only";
defparam \inst12|Add0~142_I .register_cascade_mode = "off";
defparam \inst12|Add0~142_I .sum_lutc_input = "cin";
defparam \inst12|Add0~142_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X29_Y6_N2
cyclone_lcell \inst12|TL[3]~I (
// Equation(s):
// \inst12|TL [3] = DFFEAS(\inst12|TF1 [0] & (\inst2|TH [3]) # !\inst12|TF1 [0] & \inst12|Add0~142 , GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , !\rst~combout , )

	.clk(\clock~combout ),
	.dataa(vcc),
	.datab(\inst12|TF1 [0]),
	.datac(\inst12|Add0~142 ),
	.datad(\inst2|TH [3]),
	.aclr(gnd),
	.aload(gnd),
	.sclr(!\rst~combout ),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(),
	.regout(\inst12|TL [3]),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|TL[3]~I .lut_mask = "FC30";
defparam \inst12|TL[3]~I .operation_mode = "normal";
defparam \inst12|TL[3]~I .output_mode = "reg_only";
defparam \inst12|TL[3]~I .register_cascade_mode = "off";
defparam \inst12|TL[3]~I .sum_lutc_input = "datac";
defparam \inst12|TL[3]~I .synch_mode = "on";
// synopsys translate_on

// atom is at LC_X30_Y6_N4
cyclone_lcell \inst12|Add0~140_I (
// Equation(s):
// \inst12|Add0~140  = \inst12|TL [4] $ !\inst12|Add0~143 
// \inst12|Add0~141  = 

	.clk(gnd),
	.dataa(vcc),
	.datab(\inst12|TL [4]),
	.datac(vcc),
	.datad(vcc),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(vcc),
	.cin(gnd),
	.cin0(\inst12|Add0~143 ),
	.cin1(\inst12|Add0~143COUT1 ),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~140 ),
	.regout(),
	.cout(\inst12|Add0~141 ),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|Add0~140_I .cin0_used = "true";
defparam \inst12|Add0~140_I .cin1_used = "true";
defparam \inst12|Add0~140_I .lut_mask = "C30C";
defparam \inst12|Add0~140_I .operation_mode = "arithmetic";
defparam \inst12|Add0~140_I .output_mode = "comb_only";
defparam \inst12|Add0~140_I .register_cascade_mode = "off";
defparam \inst12|Add0~140_I .sum_lutc_input = "cin";
defparam \inst12|Add0~140_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X29_Y6_N5
cyclone_lcell \inst12|TL[4]~I (
// Equation(s):
// \inst12|TL [4] = DFFEAS(!\inst12|TF1 [0] & \rst~combout  & \inst12|Add0~140 , GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , , )

	.clk(\clock~combout ),
	.dataa(vcc),
	.datab(\inst12|TF1 [0]),
	.datac(\rst~combout ),
	.datad(\inst12|Add0~140 ),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(),
	.regout(\inst12|TL [4]),
	.cout(),
	.cout0(),
	.cout1());
// synopsys translate_off
defparam \inst12|TL[4]~I .lut_mask = "3000";
defparam \inst12|TL[4]~I .operation_mode = "normal";
defparam \inst12|TL[4]~I .output_mode = "reg_only";
defparam \inst12|TL[4]~I .register_cascade_mode = "off";
defparam \inst12|TL[4]~I .sum_lutc_input = "datac";
defparam \inst12|TL[4]~I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X30_Y6_N5
cyclone_lcell \inst12|Add0~138_I (
// Equation(s):
// \inst12|Add0~138  = \inst12|TL [5] $ ((!\inst12|Add0~141  & GND) # (\inst12|Add0~141  & VCC))
// \inst12|Add0~139  = CARRY(!\inst12|Add0~141  # !\inst12|TL [5])
// \inst12|Add0~139COUT1_154  = CARRY(!\inst12|Add0~141  # !\inst12|TL [5])

	.clk(gnd),
	.dataa(\inst12|TL [5]),
	.datab(vcc),
	.datac(vcc),
	.datad(vcc),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(vcc),
	.cin(\inst12|Add0~141 ),
	.cin0(gnd),
	.cin1(vcc),
	.inverta(gnd),
	.regcascin(gnd),
	.devclrn(devclrn),
	.devpor(devpor),
	.combout(\inst12|Add0~138 ),
	.regout(),
	.cout(),
	.cout0(\inst12|Add0~139 ),
	.cout1(\inst12|Add0~139COUT1_154 ));
// synopsys translate_off
defparam \inst12|Add0~138_I .cin_used = "true";
defparam \inst12|Add0~138_I .lut_mask = "5A5F";
defparam \inst12|Add0~138_I .operation_mode = "arithmetic";
defparam \inst12|Add0~138_I .output_mode = "comb_only";
defparam \inst12|Add0~138_I .register_cascade_mode = "off";
defparam \inst12|Add0~138_I .sum_lutc_input = "cin";
defparam \inst12|Add0~138_I .synch_mode = "off";
// synopsys translate_on

// atom is at LC_X29_Y6_N8
cyclone_lcell \inst12|TL[5]~I (
// Equation(s):
// \inst12|TL [5] = DFFEAS(\rst~combout  & \inst12|Add0~138  & !\inst12|TF1 [0], GLOBAL(\clock~combout ), VCC, , \inst12|TF1[0]~64 , , , , )

	.clk(\clock~combout ),
	.dataa(vcc),
	.datab(\rst~combout ),
	.datac(\inst12|Add0~138 ),
	.datad(\inst12|TF1 [0]),
	.aclr(gnd),
	.aload(gnd),
	.sclr(gnd),
	.sload(gnd),
	.ena(\inst12|TF1[0]~64 ),
	.cin(gnd),
	.cin0(gnd),
	.cin1

⌨️ 快捷键说明

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