File header
Each VHDL source file created in DESY should have a standard header inserted.
Template
--------------------------------------------------------------------------------
-- ____ _____________ __ --
-- / __ \/ ____/ ___/\ \/ / _ _ _ --
-- / / / / __/ \__ \ \ / / \ / \ / \ --
-- / /_/ / /___ ___/ / / / = ( M | S | K )= --
-- /_____/_____//____/ /_/ \_/ \_/ \_/ --
-- --
--------------------------------------------------------------------------------
--! @copyright Copyright [YEAR] DESY
--! [LICENSE]
--------------------------------------------------------------------------------
--! @date [DATE]
--! @author [AUTHOR NAME] <[AUTHOR EMAIL]>
--! @author [AUTHOR NAME] <[AUTHOR EMAIL]>
--------------------------------------------------------------------------------
--! @brief [SHORT]
--!
--! [DESCRIPTION]
--------------------------------------------------------------------------------
Fields
In file header dedicated tags are used to identify header fields.
@copyright |
Copyright tag with the year and company name.
|
@date |
Date interval. When the file was created and when the last time was significantly modified. Can be only creation date.
|
@author |
Autor of the file. Main author should be on the top. Any other author/contributor should be added below. Other authors can be added with another @author tag or line below. Author field ends at @brief.
|
@brief |
Information about the content of the file.
|
Example
-------------------------------------------------------------------------------
-- ____ _____________ __ --
-- / __ \/ ____/ ___/\ \/ / _ _ _ --
-- / / / / __/ \__ \ \ / / \ / \ / \ --
-- / /_/ / /___ ___/ / / / = ( M | S | K )= --
-- /_____/_____//____/ /_/ \_/ \_/ \_/ --
-- --
-------------------------------------------------------------------------------
--! @copyright Copyright 2021 DESY
--! SPDX-License-Identifier: CERN-OHL-W-2.0
-------------------------------------------------------------------------------
--! @date 2021-02-14
--! @author John Smith <john.smith @desy.de>
-------------------------------------------------------------------------------
--! @brief
--! Simple 2 order FIR filter on 2xDSP48
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- ____ _____________ __ --
-- / __ \/ ____/ ___/\ \/ / _ _ _ --
-- / / / / __/ \__ \ \ / / \ / \ / \ --
-- / /_/ / /___ ___/ / / / = ( M | S | K )= --
-- /_____/_____//____/ /_/ \_/ \_/ \_/ --
-- --
-------------------------------------------------------------------------------
--! @copyright Copyright 2021 DESY
--! SPDX-License-Identifier: CERN-OHL-W-2.0
-------------------------------------------------------------------------------
--! @date 2021-02-14/2021-09-22
--! @author
--! John Smith <john.smith @desy.de>
--! Jo Smith <jo.smith @desy.de>
-------------------------------------------------------------------------------
--! @brief
--! Simple 2 order FIR filter on 2xDSP48
--!
--! Filter is pipelined with 4 clock cycled delay.
--! Filter uses coefficients in fix point format 1.1.16.
--! +----------------+
--! -------o |
--! | FIR +---->
--! -------o |
--! +----------------+
--!-------------------------------------------------------------------------------