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

📄 step_motor.vho

📁 本程序设计一个基于FPGA的4相步进电机定位控制系统。由步进电机方向设定电路模块、步进电机步进移动与定位控制模块和编码输出模块构成。前两个模块完成电机旋转方向设定
💻 VHO
📖 第 1 页 / 共 3 页
字号:
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \angleDnCount[5]\,
	cout0 => \angleDnCount[5]~272\,
	cout1 => \angleDnCount[5]~272COUT1_297\);

\angleDnCount[6]~I\ : stratix_lcell
-- Equation(s):
-- \angleDnCount[6]\ = DFFEAS(\angleDnCount[6]\ $ (!\angleDnCount[4]~268\ & \angleDnCount[5]~272\) # (\angleDnCount[4]~268\ & \angleDnCount[5]~272COUT1_297\), GLOBAL(\clk~combout\), !GLOBAL(\reset~combout\), , , \angle[6]~combout\, , \angleDnCount[0]~292\, 
-- !\ini~combout\)
-- \angleDnCount[6]~276\ = CARRY(\angleDnCount[6]\ # !\angleDnCount[5]~272\)
-- \angleDnCount[6]~276COUT1_298\ = CARRY(\angleDnCount[6]\ # !\angleDnCount[5]~272COUT1_297\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "arithmetic",
	synch_mode => "on",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	lut_mask => "3CCF",
	cin_used => "true",
	cin0_used => "true",
	cin1_used => "true",
	output_mode => "reg_only")
-- pragma translate_on
PORT MAP (
	clk => \clk~combout\,
	datab => \angleDnCount[6]\,
	datac => \angle[6]~combout\,
	aclr => \reset~combout\,
	sclr => \angleDnCount[0]~292\,
	sload => \ALT_INV_ini~combout\,
	cin => \angleDnCount[4]~268\,
	cin0 => \angleDnCount[5]~272\,
	cin1 => \angleDnCount[5]~272COUT1_297\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \angleDnCount[6]\,
	cout0 => \angleDnCount[6]~276\,
	cout1 => \angleDnCount[6]~276COUT1_298\);

\angle[7]~I\ : stratix_io
-- pragma translate_off
GENERIC MAP (
	operation_mode => "input",
	ddio_mode => "none",
	input_register_mode => "none",
	output_register_mode => "none",
	oe_register_mode => "none",
	input_async_reset => "none",
	output_async_reset => "none",
	oe_async_reset => "none",
	input_sync_reset => "none",
	output_sync_reset => "none",
	oe_sync_reset => "none",
	input_power_up => "low",
	output_power_up => "low",
	oe_power_up => "low")
-- pragma translate_on
PORT MAP (
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => GND,
	padio => ww_angle(7),
	combout => \angle[7]~combout\);

\angleDnCount[7]~I\ : stratix_lcell
-- Equation(s):
-- \angleDnCount[7]\ = DFFEAS(\angleDnCount[7]\ $ (!(!\angleDnCount[4]~268\ & \angleDnCount[6]~276\) # (\angleDnCount[4]~268\ & \angleDnCount[6]~276COUT1_298\)), GLOBAL(\clk~combout\), !GLOBAL(\reset~combout\), , , \angle[7]~combout\, , 
-- \angleDnCount[0]~292\, !\ini~combout\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "on",
	register_cascade_mode => "off",
	sum_lutc_input => "cin",
	lut_mask => "A5A5",
	cin_used => "true",
	cin0_used => "true",
	cin1_used => "true",
	output_mode => "reg_only")
-- pragma translate_on
PORT MAP (
	clk => \clk~combout\,
	dataa => \angleDnCount[7]\,
	datac => \angle[7]~combout\,
	aclr => \reset~combout\,
	sclr => \angleDnCount[0]~292\,
	sload => \ALT_INV_ini~combout\,
	cin => \angleDnCount[4]~268\,
	cin0 => \angleDnCount[6]~276\,
	cin1 => \angleDnCount[6]~276COUT1_298\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	regout => \angleDnCount[7]\);

\rtl~66_I\ : stratix_lcell
-- Equation(s):
-- \rtl~66\ = !\angleDnCount[3]\ & !\angleDnCount[2]\ & !\angleDnCount[4]\ & !\angleDnCount[5]\

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "0001",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \angleDnCount[3]\,
	datab => \angleDnCount[2]\,
	datac => \angleDnCount[4]\,
	datad => \angleDnCount[5]\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \rtl~66\);

\rtl~67_I\ : stratix_lcell
-- Equation(s):
-- \rtl~67\ = !\angleDnCount[6]\ & !\angleDnCount[7]\ & \rtl~66\

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "0300",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	datab => \angleDnCount[6]\,
	datac => \angleDnCount[7]\,
	datad => \rtl~66\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \rtl~67\);

\angleDnCount[0]~291_I\ : stratix_lcell
-- Equation(s):
-- \angleDnCount[0]~291\ = \angleDnCount[0]\ # \manner[1]~combout\ & \manner[0]~combout\

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "FFC0",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	datab => \manner[1]~combout\,
	datac => \manner[0]~combout\,
	datad => \angleDnCount[0]\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \angleDnCount[0]~291\);

\angleDnCount[0]~292_I\ : stratix_lcell
-- Equation(s):
-- \angleDnCount[0]~292\ = \rtl~67\ & \ini~combout\ & (!\angleDnCount[0]~291\ # !\angleDnCount[1]\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "0888",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \rtl~67\,
	datab => \ini~combout\,
	datac => \angleDnCount[1]\,
	datad => \angleDnCount[0]~291\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \angleDnCount[0]~292\);

\rtl~0_I\ : stratix_lcell
-- Equation(s):
-- \rtl~0\ = !\angleDnCount[1]\ & !\angleDnCount[0]\ & \rtl~67\

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "0300",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	datab => \angleDnCount[1]\,
	datac => \angleDnCount[0]\,
	datad => \rtl~67\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \rtl~0\);

\baBA~173_I\ : stratix_lcell
-- Equation(s):
-- \baBA~173\ = \rtl~0\ # \count[2]\ & (!\count[1]\ # !\count[0]\) # !\count[2]\ & (\count[1]\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "FF7A",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \count[2]\,
	datab => \count[0]\,
	datac => \count[1]\,
	datad => \rtl~0\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \baBA~173\);

\baBA~174_I\ : stratix_lcell
-- Equation(s):
-- \baBA~174\ = !\count[2]\ & !\rtl~0\ & (\count[0]\ # \count[1]\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "0054",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \count[2]\,
	datab => \count[0]\,
	datac => \count[1]\,
	datad => \rtl~0\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \baBA~174\);

\baBA~175_I\ : stratix_lcell
-- Equation(s):
-- \baBA~175\ = !\rtl~0\ & (\count[2]\ & (!\count[1]\) # !\count[2]\ & \count[0]\ & \count[1]\)

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "004A",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \count[2]\,
	datab => \count[0]\,
	datac => \count[1]\,
	datad => \rtl~0\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \baBA~175\);

\baBA~176_I\ : stratix_lcell
-- Equation(s):
-- \baBA~176\ = \rtl~0\ # !\count[0]\ & !\count[1]\ # !\count[2]\

-- pragma translate_off
GENERIC MAP (
	operation_mode => "normal",
	synch_mode => "off",
	register_cascade_mode => "off",
	sum_lutc_input => "datac",
	lut_mask => "F3F7",
	output_mode => "comb_only")
-- pragma translate_on
PORT MAP (
	dataa => \count[0]\,
	datab => \count[2]\,
	datac => \rtl~0\,
	datad => \count[1]\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	combout => \baBA~176\);

\baBA[0]~I\ : stratix_io
-- pragma translate_off
GENERIC MAP (
	operation_mode => "output",
	ddio_mode => "none",
	input_register_mode => "none",
	output_register_mode => "none",
	oe_register_mode => "none",
	input_async_reset => "none",
	output_async_reset => "none",
	oe_async_reset => "none",
	input_sync_reset => "none",
	output_sync_reset => "none",
	oe_sync_reset => "none",
	input_power_up => "low",
	output_power_up => "low",
	oe_power_up => "low")
-- pragma translate_on
PORT MAP (
	datain => \ALT_INV_baBA~173\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => VCC,
	padio => ww_baBA(0));

\baBA[1]~I\ : stratix_io
-- pragma translate_off
GENERIC MAP (
	operation_mode => "output",
	ddio_mode => "none",
	input_register_mode => "none",
	output_register_mode => "none",
	oe_register_mode => "none",
	input_async_reset => "none",
	output_async_reset => "none",
	oe_async_reset => "none",
	input_sync_reset => "none",
	output_sync_reset => "none",
	oe_sync_reset => "none",
	input_power_up => "low",
	output_power_up => "low",
	oe_power_up => "low")
-- pragma translate_on
PORT MAP (
	datain => \baBA~174\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => VCC,
	padio => ww_baBA(1));

\baBA[2]~I\ : stratix_io
-- pragma translate_off
GENERIC MAP (
	operation_mode => "output",
	ddio_mode => "none",
	input_register_mode => "none",
	output_register_mode => "none",
	oe_register_mode => "none",
	input_async_reset => "none",
	output_async_reset => "none",
	oe_async_reset => "none",
	input_sync_reset => "none",
	output_sync_reset => "none",
	oe_sync_reset => "none",
	input_power_up => "low",
	output_power_up => "low",
	oe_power_up => "low")
-- pragma translate_on
PORT MAP (
	datain => \baBA~175\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => VCC,
	padio => ww_baBA(2));

\baBA[3]~I\ : stratix_io
-- pragma translate_off
GENERIC MAP (
	operation_mode => "output",
	ddio_mode => "none",
	input_register_mode => "none",
	output_register_mode => "none",
	oe_register_mode => "none",
	input_async_reset => "none",
	output_async_reset => "none",
	oe_async_reset => "none",
	input_sync_reset => "none",
	output_sync_reset => "none",
	oe_sync_reset => "none",
	input_power_up => "low",
	output_power_up => "low",
	oe_power_up => "low")
-- pragma translate_on
PORT MAP (
	datain => \ALT_INV_baBA~176\,
	devclrn => ww_devclrn,
	devpor => ww_devpor,
	devoe => ww_devoe,
	oe => VCC,
	padio => ww_baBA(3));
END structure;


⌨️ 快捷键说明

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