📄 iteration_e.vhd
字号:
-------------------------------------------------------------------------- -------- iteration_e.vhd -------- -------- This file is part of the turbo decoder IP core project -------- http://www.opencores.org/projects/turbocodes/ -------- -------- Author(s): -------- - David Brochart(dbrochart@opencores.org) -------- -------- All additional information is available in the README.txt -------- file. -------- ------------------------------------------------------------------------------ -------- Copyright (C) 2005 Authors -------- -------- This source file may be used and distributed without -------- restriction provided that this copyright statement is not -------- removed from the file and that any derivative work contains -------- the original copyright notice and the associated disclaimer. -------- -------- This source file is free software; you can redistribute it -------- and/or modify it under the terms of the GNU Lesser General -------- Public License as published by the Free Software Foundation; -------- either version 2.1 of the License, or (at your option) any -------- later version. -------- -------- This source is distributed in the hope that it will be -------- useful, but WITHOUT ANY WARRANTY; without even the implied -------- warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -------- PURPOSE. See the GNU Lesser General Public License for more -------- details. -------- -------- You should have received a copy of the GNU Lesser General -------- Public License along with this source; if not, download it -------- from http://www.opencores.org/lgpl.shtml -------- --------------------------------------------------------------------------library ieee;use ieee.std_logic_1164.all;use work.turbopack.all;entity iteration is -- decoding iteration top level (two SOVAs) generic ( delay : integer := 0 -- additional delay created by the previous iterations ); port ( clk : in std_logic; -- clock rst : in std_logic; -- negative reset flipflop : in std_logic; -- permutation control signal (on/off) a : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal b : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal y : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal w : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal yInt : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal wInt : in std_logic_vector(SIG_WIDTH - 1 downto 0); -- received decoder signal zin : in ARRAY4c; -- extrinsic information from the previous iteration zout : out ARRAY4c; -- extrinsic information to the next iteration aDec : out std_logic; -- decoded signal bDec : out std_logic; -- decoded signal aDel : out std_logic_vector(SIG_WIDTH - 1 downto 0); -- delayed received decoder signal bDel : out std_logic_vector(SIG_WIDTH - 1 downto 0); -- delayed received decoder signal yDel : out std_logic_vector(SIG_WIDTH - 1 downto 0); -- delayed received decoder signal wDel : out std_logic_vector(SIG_WIDTH - 1 downto 0); -- delayed received decoder signal yIntDel : out std_logic_vector(SIG_WIDTH - 1 downto 0); -- delayed received decoder signal wIntDel : out std_logic_vector(SIG_WIDTH - 1 downto 0) -- delayed received decoder signal );end iteration;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -