75 lines
No EOL
2 KiB
VHDL
75 lines
No EOL
2 KiB
VHDL
-------------------------------------------------------------------------------
|
|
-- Title : %%IP_DESCRIPTION%%
|
|
-- Project : %%PROJECT%%
|
|
-------------------------------------------------------------------------------
|
|
-- File : %%OP_FILENAME%%
|
|
-- Author : auto-generated
|
|
-- Company : Global Inkjet Systems
|
|
-- Created : %%DATE%%
|
|
-- Platform :
|
|
-- Standard : VHDL 2008
|
|
-------------------------------------------------------------------------------
|
|
-- Description:
|
|
-- %%LONG_DESCRIPTION%%
|
|
-------------------------------------------------------------------------------
|
|
-- Copyright (c) 2017, 2018 Global Inkjet Systems
|
|
-------------------------------------------------------------------------------
|
|
|
|
-------------------------------------------------------------------------------
|
|
----------------------- AUTO-GENERATED FILE. DO NOT EDIT ----------------------
|
|
-------------------------------------------------------------------------------
|
|
-- altera vhdl_input_version vhdl_2008
|
|
|
|
library ieee;
|
|
use ieee.std_logic_1164.all;
|
|
use ieee.numeric_std.all;
|
|
|
|
entity %%DECODE_BLOCK%% is
|
|
generic (
|
|
%%ADDR_DECODE_HI_BIT%%
|
|
%%ADDR_DECODE_LO_BIT%%
|
|
);
|
|
port (
|
|
|
|
-- auto-generated
|
|
|
|
-- Decoded read/write strobes and returned read data
|
|
%%STROBE_PORT_LIST%%
|
|
|
|
-- end auto-generated
|
|
|
|
-- Avalon CSR slave interface
|
|
avs_address : in std_logic_vector(ADDR_DECODE_HI_BIT downto ADDR_DECODE_LO_BIT);
|
|
avs_write : in std_logic;
|
|
avs_read : in std_logic;
|
|
avs_readdata : out std_logic_vector(31 downto 0)
|
|
|
|
);
|
|
end entity;
|
|
|
|
architecture rtl of %%DECODE_BLOCK%% is
|
|
|
|
begin
|
|
|
|
-- auto-generated
|
|
%%READDATA_BUS_LIST%%;
|
|
-- end auto-generated
|
|
|
|
process(all) is
|
|
begin
|
|
-- auto-generated
|
|
|
|
%%DEFAULT_STROBE_OUTPUTS%%
|
|
|
|
case avs_address is
|
|
|
|
%%DECODE_CASE_STATEMENTS%%
|
|
when others =>
|
|
null;
|
|
|
|
end case;
|
|
|
|
-- end auto-generated
|
|
end process;
|
|
|
|
end rtl; |