📄 ppm.vho
字号:
-- Copyright (C) 1991-2007 Altera Corporation
-- Your use of Altera Corporation's design tools, logic functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files from any of the foregoing
-- (including device programming or simulation files), and any
-- associated documentation or information are expressly subject
-- to the terms and conditions of the Altera Program License
-- Subscription Agreement, Altera MegaCore Function License
-- Agreement, or other applicable license agreement, including,
-- without limitation, that your use is for the sole purpose of
-- programming logic devices manufactured by Altera and sold by
-- Altera or its authorized distributors. Please refer to the
-- applicable agreement for further details.
-- VENDOR "Altera"
-- PROGRAM "Quartus II"
-- VERSION "Version 7.2 Build 175 11/20/2007 Service Pack 1 SJ Full Version"
-- DATE "06/01/2008 12:34:30"
--
-- Device: Altera EP2C5Q208C8 Package PQFP208
--
--
-- This VHDL file should be used for ModelSim (VHDL) only
--
LIBRARY IEEE, cycloneii;
USE IEEE.std_logic_1164.all;
USE cycloneii.cycloneii_components.all;
ENTITY PPM IS
PORT (
PPM_out : OUT std_logic;
CLK : IN std_logic;
Data_in : IN std_logic
);
END PPM;
ARCHITECTURE structure OF PPM IS
SIGNAL gnd : std_logic := '0';
SIGNAL vcc : std_logic := '1';
SIGNAL devoe : std_logic := '1';
SIGNAL devclrn : std_logic := '1';
SIGNAL devpor : std_logic := '1';
SIGNAL ww_devoe : std_logic;
SIGNAL ww_devclrn : std_logic;
SIGNAL ww_devpor : std_logic;
SIGNAL ww_PPM_out : std_logic;
SIGNAL ww_CLK : std_logic;
SIGNAL ww_Data_in : std_logic;
SIGNAL \CLK~clkctrl_INCLK_bus\ : std_logic_vector(3 DOWNTO 0);
SIGNAL \CLK~combout\ : std_logic;
SIGNAL \CLK~clkctrl_outclk\ : std_logic;
SIGNAL \inst|cnt[0]~32_combout\ : std_logic;
SIGNAL \inst|cnt[1]~30_combout\ : std_logic;
SIGNAL \inst3|pulse~16_combout\ : std_logic;
SIGNAL \inst3|tmp~regout\ : std_logic;
SIGNAL \Data_in~combout\ : std_logic;
SIGNAL \inst3|pulse~15_combout\ : std_logic;
SIGNAL \inst|cnt\ : std_logic_vector(4 DOWNTO 0);
SIGNAL \inst3|ALT_INV_pulse~15_combout\ : std_logic;
BEGIN
PPM_out <= ww_PPM_out;
ww_CLK <= CLK;
ww_Data_in <= Data_in;
ww_devoe <= devoe;
ww_devclrn <= devclrn;
ww_devpor <= devpor;
\CLK~clkctrl_INCLK_bus\ <= (gnd & gnd & gnd & \CLK~combout\);
\inst3|ALT_INV_pulse~15_combout\ <= NOT \inst3|pulse~15_combout\;
\CLK~I\ : cycloneii_io
-- pragma translate_off
GENERIC MAP (
input_async_reset => "none",
input_power_up => "low",
input_register_mode => "none",
input_sync_reset => "none",
oe_async_reset => "none",
oe_power_up => "low",
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_CLK,
combout => \CLK~combout\);
\CLK~clkctrl\ : cycloneii_clkctrl
-- pragma translate_off
GENERIC MAP (
clock_type => "global clock",
ena_register_mode => "falling edge")
-- pragma translate_on
PORT MAP (
inclk => \CLK~clkctrl_INCLK_bus\,
devclrn => ww_devclrn,
devpor => ww_devpor,
outclk => \CLK~clkctrl_outclk\);
\inst|cnt[0]~32\ : cycloneii_lcell_comb
-- Equation(s):
-- \inst|cnt[0]~32_combout\ = !\inst|cnt\(0)
-- pragma translate_off
GENERIC MAP (
lut_mask => "0000111100001111",
sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
datac => \inst|cnt\(0),
combout => \inst|cnt[0]~32_combout\);
\inst|cnt[0]\ : cycloneii_lcell_ff
PORT MAP (
clk => \CLK~clkctrl_outclk\,
datain => \inst|cnt[0]~32_combout\,
devclrn => ww_devclrn,
devpor => ww_devpor,
regout => \inst|cnt\(0));
\inst|cnt[1]~30\ : cycloneii_lcell_comb
-- Equation(s):
-- \inst|cnt[1]~30_combout\ = \inst|cnt\(1) $ \inst|cnt\(0)
-- pragma translate_off
GENERIC MAP (
lut_mask => "0000111111110000",
sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
datac => \inst|cnt\(1),
datad => \inst|cnt\(0),
combout => \inst|cnt[1]~30_combout\);
\inst|cnt[1]\ : cycloneii_lcell_ff
PORT MAP (
clk => \CLK~clkctrl_outclk\,
datain => \inst|cnt[1]~30_combout\,
devclrn => ww_devclrn,
devpor => ww_devpor,
regout => \inst|cnt\(1));
\inst3|pulse~16\ : cycloneii_lcell_comb
-- Equation(s):
-- \inst3|pulse~16_combout\ = !\inst|cnt\(0) & (\Data_in~combout\ $ !\inst|cnt\(1))
-- pragma translate_off
GENERIC MAP (
lut_mask => "0010001000010001",
sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
dataa => \Data_in~combout\,
datab => \inst|cnt\(0),
datad => \inst|cnt\(1),
combout => \inst3|pulse~16_combout\);
\inst3|tmp\ : cycloneii_lcell_ff
PORT MAP (
clk => \CLK~clkctrl_outclk\,
datain => \inst3|pulse~16_combout\,
devclrn => ww_devclrn,
devpor => ww_devpor,
regout => \inst3|tmp~regout\);
\Data_in~I\ : cycloneii_io
-- pragma translate_off
GENERIC MAP (
input_async_reset => "none",
input_power_up => "low",
input_register_mode => "none",
input_sync_reset => "none",
oe_async_reset => "none",
oe_power_up => "low",
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_Data_in,
combout => \Data_in~combout\);
\inst3|pulse~15\ : cycloneii_lcell_comb
-- Equation(s):
-- \inst3|pulse~15_combout\ = \inst|cnt\(0) # \inst3|tmp~regout\ # \inst|cnt\(1) $ \Data_in~combout\
-- pragma translate_off
GENERIC MAP (
lut_mask => "1111101111111110",
sum_lutc_input => "datac")
-- pragma translate_on
PORT MAP (
dataa => \inst|cnt\(0),
datab => \inst|cnt\(1),
datac => \inst3|tmp~regout\,
datad => \Data_in~combout\,
combout => \inst3|pulse~15_combout\);
\PPM_out~I\ : cycloneii_io
-- pragma translate_off
GENERIC MAP (
input_async_reset => "none",
input_power_up => "low",
input_register_mode => "none",
input_sync_reset => "none",
oe_async_reset => "none",
oe_power_up => "low",
oe_register_mode => "none",
oe_sync_reset => "none",
operation_mode => "output",
output_async_reset => "none",
output_power_up => "low",
output_register_mode => "none",
output_sync_reset => "none")
-- pragma translate_on
PORT MAP (
datain => \inst3|ALT_INV_pulse~15_combout\,
devclrn => ww_devclrn,
devpor => ww_devpor,
devoe => ww_devoe,
oe => VCC,
padio => ww_PPM_out);
END structure;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -