220 lines
5.7 KiB
VHDL
220 lines
5.7 KiB
VHDL
-- Copyright (C) 2020 Intel Corporation. All rights reserved.
|
|
-- Your use of Intel Corporation's design tools, logic functions
|
|
-- and other software and tools, and any 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 Intel Program License
|
|
-- Subscription Agreement, the Intel Quartus Prime License Agreement,
|
|
-- the Intel FPGA IP License Agreement, or other applicable license
|
|
-- agreement, including, without limitation, that your use is for
|
|
-- the sole purpose of programming logic devices manufactured by
|
|
-- Intel and sold by Intel or its authorized distributors. Please
|
|
-- refer to the applicable agreement for further details, at
|
|
-- https://fpgasoftware.intel.com/eula.
|
|
|
|
-- VENDOR "Altera"
|
|
-- PROGRAM "Quartus Prime"
|
|
-- VERSION "Version 20.1.1 Build 720 11/11/2020 SJ Lite Edition"
|
|
|
|
-- DATE "12/02/2022 13:03:34"
|
|
|
|
--
|
|
-- Device: Altera EP4CE6E22C6 Package TQFP144
|
|
--
|
|
|
|
--
|
|
-- This VHDL file should be used for ModelSim-Altera (VHDL) only
|
|
--
|
|
|
|
LIBRARY CYCLONEIVE;
|
|
LIBRARY IEEE;
|
|
USE CYCLONEIVE.CYCLONEIVE_COMPONENTS.ALL;
|
|
USE IEEE.STD_LOGIC_1164.ALL;
|
|
|
|
ENTITY hard_block IS
|
|
PORT (
|
|
devoe : IN std_logic;
|
|
devclrn : IN std_logic;
|
|
devpor : IN std_logic
|
|
);
|
|
END hard_block;
|
|
|
|
-- Design Ports Information
|
|
-- ~ALTERA_ASDO_DATA1~ => Location: PIN_6, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- ~ALTERA_FLASH_nCE_nCSO~ => Location: PIN_8, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- ~ALTERA_DCLK~ => Location: PIN_12, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- ~ALTERA_DATA0~ => Location: PIN_13, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- ~ALTERA_nCEO~ => Location: PIN_101, I/O Standard: 2.5 V, Current Strength: 8mA
|
|
|
|
|
|
ARCHITECTURE structure OF hard_block IS
|
|
SIGNAL gnd : std_logic := '0';
|
|
SIGNAL vcc : std_logic := '1';
|
|
SIGNAL unknown : std_logic := 'X';
|
|
SIGNAL ww_devoe : std_logic;
|
|
SIGNAL ww_devclrn : std_logic;
|
|
SIGNAL ww_devpor : std_logic;
|
|
SIGNAL \~ALTERA_ASDO_DATA1~~padout\ : std_logic;
|
|
SIGNAL \~ALTERA_FLASH_nCE_nCSO~~padout\ : std_logic;
|
|
SIGNAL \~ALTERA_DATA0~~padout\ : std_logic;
|
|
SIGNAL \~ALTERA_ASDO_DATA1~~ibuf_o\ : std_logic;
|
|
SIGNAL \~ALTERA_FLASH_nCE_nCSO~~ibuf_o\ : std_logic;
|
|
SIGNAL \~ALTERA_DATA0~~ibuf_o\ : std_logic;
|
|
|
|
BEGIN
|
|
|
|
ww_devoe <= devoe;
|
|
ww_devclrn <= devclrn;
|
|
ww_devpor <= devpor;
|
|
END structure;
|
|
|
|
|
|
LIBRARY CYCLONEIVE;
|
|
LIBRARY IEEE;
|
|
USE CYCLONEIVE.CYCLONEIVE_COMPONENTS.ALL;
|
|
USE IEEE.STD_LOGIC_1164.ALL;
|
|
|
|
ENTITY Teste3 IS
|
|
PORT (
|
|
F : OUT std_logic;
|
|
D : IN std_logic;
|
|
A : IN std_logic;
|
|
B : IN std_logic;
|
|
C : IN std_logic
|
|
);
|
|
END Teste3;
|
|
|
|
-- Design Ports Information
|
|
-- F => Location: PIN_34, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- C => Location: PIN_32, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- B => Location: PIN_43, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- D => Location: PIN_33, I/O Standard: 2.5 V, Current Strength: Default
|
|
-- A => Location: PIN_31, I/O Standard: 2.5 V, Current Strength: Default
|
|
|
|
|
|
ARCHITECTURE structure OF Teste3 IS
|
|
SIGNAL gnd : std_logic := '0';
|
|
SIGNAL vcc : std_logic := '1';
|
|
SIGNAL unknown : std_logic := 'X';
|
|
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_F : std_logic;
|
|
SIGNAL ww_D : std_logic;
|
|
SIGNAL ww_A : std_logic;
|
|
SIGNAL ww_B : std_logic;
|
|
SIGNAL ww_C : std_logic;
|
|
SIGNAL \F~output_o\ : std_logic;
|
|
SIGNAL \C~input_o\ : std_logic;
|
|
SIGNAL \D~input_o\ : std_logic;
|
|
SIGNAL \A~input_o\ : std_logic;
|
|
SIGNAL \B~input_o\ : std_logic;
|
|
SIGNAL \inst|inst3~0_combout\ : std_logic;
|
|
SIGNAL \inst|ALT_INV_inst3~0_combout\ : std_logic;
|
|
|
|
COMPONENT hard_block
|
|
PORT (
|
|
devoe : IN std_logic;
|
|
devclrn : IN std_logic;
|
|
devpor : IN std_logic);
|
|
END COMPONENT;
|
|
|
|
BEGIN
|
|
|
|
F <= ww_F;
|
|
ww_D <= D;
|
|
ww_A <= A;
|
|
ww_B <= B;
|
|
ww_C <= C;
|
|
ww_devoe <= devoe;
|
|
ww_devclrn <= devclrn;
|
|
ww_devpor <= devpor;
|
|
\inst|ALT_INV_inst3~0_combout\ <= NOT \inst|inst3~0_combout\;
|
|
auto_generated_inst : hard_block
|
|
PORT MAP (
|
|
devoe => ww_devoe,
|
|
devclrn => ww_devclrn,
|
|
devpor => ww_devpor);
|
|
|
|
-- Location: IOOBUF_X0_Y5_N16
|
|
\F~output\ : cycloneive_io_obuf
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
bus_hold => "false",
|
|
open_drain_output => "false")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
i => \inst|ALT_INV_inst3~0_combout\,
|
|
devoe => ww_devoe,
|
|
o => \F~output_o\);
|
|
|
|
-- Location: IOIBUF_X0_Y6_N15
|
|
\C~input\ : cycloneive_io_ibuf
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
bus_hold => "false",
|
|
simulate_z_as => "z")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
i => ww_C,
|
|
o => \C~input_o\);
|
|
|
|
-- Location: IOIBUF_X0_Y6_N22
|
|
\D~input\ : cycloneive_io_ibuf
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
bus_hold => "false",
|
|
simulate_z_as => "z")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
i => ww_D,
|
|
o => \D~input_o\);
|
|
|
|
-- Location: IOIBUF_X0_Y7_N1
|
|
\A~input\ : cycloneive_io_ibuf
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
bus_hold => "false",
|
|
simulate_z_as => "z")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
i => ww_A,
|
|
o => \A~input_o\);
|
|
|
|
-- Location: IOIBUF_X5_Y0_N22
|
|
\B~input\ : cycloneive_io_ibuf
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
bus_hold => "false",
|
|
simulate_z_as => "z")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
i => ww_B,
|
|
o => \B~input_o\);
|
|
|
|
-- Location: LCCOMB_X1_Y6_N0
|
|
\inst|inst3~0\ : cycloneive_lcell_comb
|
|
-- Equation(s):
|
|
-- \inst|inst3~0_combout\ = (\B~input_o\ & (\C~input_o\)) # (!\B~input_o\ & ((\D~input_o\ $ (\A~input_o\))))
|
|
|
|
-- pragma translate_off
|
|
GENERIC MAP (
|
|
lut_mask => "1010101000111100",
|
|
sum_lutc_input => "datac")
|
|
-- pragma translate_on
|
|
PORT MAP (
|
|
dataa => \C~input_o\,
|
|
datab => \D~input_o\,
|
|
datac => \A~input_o\,
|
|
datad => \B~input_o\,
|
|
combout => \inst|inst3~0_combout\);
|
|
|
|
ww_F <= \F~output_o\;
|
|
END structure;
|
|
|
|
|