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

📄 5050pwm.vho

📁 FPGA 实现基于ISA接口的3路编码器计数
💻 VHO
📖 第 1 页 / 共 5 页
字号:
	oe_register_mode => "none",
	oe_sync_reset => "none",
	operation_mode => "input",
	output_async_reset => "none",
	output_power_up => "low",
	output_register_mode => "none",
	output_sync_reset => "none")
-- pragma translate_on
PORT MAP (
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => GND,
	padio => ww_addr(0),
	combout => \addr~combout\(0));

\inst1|58~148_I\ : cyclone_lcell
-- Equation(s):
-- \inst1|58~148\ = \addr~combout\(2) & \addr~combout\(1) & \addr~combout\(3) & \addr~combout\(0)

-- pragma translate_off
GENERIC MAP (
	lut_mask => "8000",
	operation_mode => "normal",
	output_mode => "comb_only",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	dataa => \addr~combout\(2),
	datab => \addr~combout\(1),
	datac => \addr~combout\(3),
	datad => \addr~combout\(0),
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \inst1|58~148\);

\inst|inst7|10|3~I\ : cyclone_lcell
-- Equation(s):
-- \inst|inst7|10|3\ = DFFEAS(DD(2), GLOBAL(\WR~combout\), VCC, , \inst1|58~148\, , , , )

-- pragma translate_off
GENERIC MAP (
	lut_mask => "FF00",
	operation_mode => "normal",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \WR~combout\,
	datad => DD(2),
	aclr => GND,
	ena => \inst1|58~148\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst7|10|3\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella0\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(0) = DFFEAS(!\inst|inst11|lpm_counter_component|auto_generated|safe_q\(0), GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(0))

-- pragma translate_off
GENERIC MAP (
	lut_mask => "33CC",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	datab => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(0),
	aclr => GND,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(0),
	cout => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella1\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(1) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(1) $ \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\, GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , 
-- , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUT\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(1))
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUTCOUT1_1\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(1))

-- pragma translate_off
GENERIC MAP (
	cin_used => "true",
	lut_mask => "3C3F",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	datab => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(1),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(1),
	cout0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUT\,
	cout1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUTCOUT1_1\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella2\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(2) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(2) $ (!(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & 
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUT\) # (\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUTCOUT1_1\)), 
-- GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUT\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(2) & (!\inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUT\))
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUTCOUT1_1\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(2) & (!\inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUTCOUT1_1\))

-- pragma translate_off
GENERIC MAP (
	cin0_used => "true",
	cin1_used => "true",
	cin_used => "true",
	lut_mask => "A50A",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	dataa => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(2),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\,
	cin0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUT\,
	cin1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella1~COUTCOUT1_1\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(2),
	cout0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUT\,
	cout1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUTCOUT1_1\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella3\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(3) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(3) $ ((!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & 
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUT\) # (\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUTCOUT1_1\)), 
-- GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUT\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUT\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(3))
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUTCOUT1_1\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUTCOUT1_1\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(3))

-- pragma translate_off
GENERIC MAP (
	cin0_used => "true",
	cin1_used => "true",
	cin_used => "true",
	lut_mask => "5A5F",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	dataa => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(3),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\,
	cin0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUT\,
	cin1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella2~COUTCOUT1_1\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(3),
	cout0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUT\,
	cout1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUTCOUT1_1\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella4\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(4) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(4) $ !(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & 
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUT\) # (\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUTCOUT1_1\), 
-- GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUT\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(4) & !\inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUT\)
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUTCOUT1_1\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(4) & !\inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUTCOUT1_1\)

-- pragma translate_off
GENERIC MAP (
	cin0_used => "true",
	cin1_used => "true",
	cin_used => "true",
	lut_mask => "C30C",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	datab => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(4),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\,
	cin0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUT\,
	cin1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella3~COUTCOUT1_1\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(4),
	cout0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUT\,
	cout1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUTCOUT1_1\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella5\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(5) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(5) $ ((!\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & 
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUT\) # (\inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\ & \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUTCOUT1_1\)), 
-- GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUTCOUT1_1\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(5))

-- pragma translate_off
GENERIC MAP (
	cin0_used => "true",
	cin1_used => "true",
	cin_used => "true",
	lut_mask => "5A5F",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	dataa => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(5),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella0~COUT\,
	cin0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUT\,
	cin1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella4~COUTCOUT1_1\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(5),
	cout => \inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella6\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(6) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(6) $ !\inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\, GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , 
-- , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUT\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(6) & !\inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\)
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUTCOUT1_1\ = CARRY(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(6) & !\inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\)

-- pragma translate_off
GENERIC MAP (
	cin_used => "true",
	lut_mask => "C30C",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	datab => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(6),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(6),
	cout0 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUT\,
	cout1 => \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUTCOUT1_1\);

\inst|inst11|lpm_counter_component|auto_generated|counter_cella7\ : cyclone_lcell
-- Equation(s):
-- \inst|inst11|lpm_counter_component|auto_generated|safe_q\(7) = DFFEAS(\inst|inst11|lpm_counter_component|auto_generated|safe_q\(7) $ ((!\inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\ & 
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUT\) # (\inst|inst11|lpm_counter_component|auto_generated|counter_cella5~COUT\ & \inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUTCOUT1_1\)), 
-- GLOBAL(\inst2|altpll_component|_clk0\), VCC, , , , , , )
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella7~COUT\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUT\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(7))
-- \inst|inst11|lpm_counter_component|auto_generated|counter_cella7~COUTCOUT1_1\ = CARRY(!\inst|inst11|lpm_counter_component|auto_generated|counter_cella6~COUTCOUT1_1\ # !\inst|inst11|lpm_counter_component|auto_generated|safe_q\(7))

-- pragma translate_off
GENERIC MAP (
	cin0_used => "true",
	cin1_used => "true",
	cin_used => "true",
	lut_mask => "5A5F",
	operation_mode => "arithmetic",
	output_mode => "reg_only",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	synch_mode => "off")
-- pragma translate_on
PORT MAP (
	clk => \inst2|altpll_component|_clk0\,
	dataa => \inst|inst11|lpm_counter_component|auto_generated|safe_q\(7),
	aclr => GND,
	cin => \inst|inst11|lpm_counter_component|auto_generated|count

⌨️ 快捷键说明

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