Line 1... |
Line 1... |
// +----------------------------------------------------------------------------
|
/* --------------------------------------------------------------------------------
|
// Universidade Federal da Bahia
|
This file is part of FPGA Median Filter.
|
//------------------------------------------------------------------------------
|
|
// PROJECT: FPGA Median Filter
|
FPGA Median Filter is free software: you can redistribute it and/or modify
|
//------------------------------------------------------------------------------
|
it under the terms of the GNU General Public License as published by
|
// FILE NAME : pixel_network.v
|
the Free Software Foundation, either version 3 of the License, or
|
// AUTHOR : João Carlos Bittencourt
|
(at your option) any later version.
|
// AUTHOR'S E-MAIL : joaocarlos@ieee.org
|
|
// -----------------------------------------------------------------------------
|
FPGA Median Filter is distributed in the hope that it will be useful,
|
// RELEASE HISTORY
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
// VERSION DATE AUTHOR DESCRIPTION
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
// 1.0 2013-08-13 joao.nunes initial version
|
GNU General Public License for more details.
|
// -----------------------------------------------------------------------------
|
|
// KEYWORDS: comparator, low, high, median
|
You should have received a copy of the GNU General Public License
|
// -----------------------------------------------------------------------------
|
along with FPGA Median Filter. If not, see <http://www.gnu.org/licenses/>.
|
// PURPOSE: Obtain the Median of a 3x3 mask.
|
-------------------------------------------------------------------------------- */
|
// -----------------------------------------------------------------------------
|
|
|
/* +----------------------------------------------------------------------------
|
|
Universidade Federal da Bahia
|
|
------------------------------------------------------------------------------
|
|
PROJECT: FPGA Median Filter
|
|
------------------------------------------------------------------------------
|
|
FILE NAME : pixel_network.v
|
|
AUTHOR : João Carlos Bittencourt
|
|
AUTHOR'S E-MAIL : joaocarlos@ieee.org
|
|
-----------------------------------------------------------------------------
|
|
RELEASE HISTORY
|
|
VERSION DATE AUTHOR DESCRIPTION
|
|
1.0 2013-08-13 joao.nunes initial version
|
|
-----------------------------------------------------------------------------
|
|
KEYWORDS: comparator, low, high, median
|
|
-----------------------------------------------------------------------------
|
|
PURPOSE: Obtain the Median of a 3x3 mask.
|
|
----------------------------------------------------------------------------- */
|
module common_network
|
module common_network
|
#(
|
#(
|
parameter DATA_WIDTH = 8
|
parameter DATA_WIDTH = 8
|
)(
|
)(
|
input [DATA_WIDTH-1:0] x2_y1,
|
input [DATA_WIDTH-1:0] x2_y1,
|