I faced issue with code VHDL for encoder and decoder OPPM i get it input but no output appear aim already working on " ISE Project Navigator" and Quartus II 9.0 Web Edition" , when run code no error appear .. can find the encoder OPPM code i need help to solved the issue

----------------------

--OFFSET PPM encoder--

----------------------

library IEEE;

use IEEE.std_logic_1164.all;

use IEEE.STD_LOGIC_UNSIGNED.all;

ENTITY OPPM_Encoder IS

port( sin : IN STD_LOGIC;

clk_3bit : IN STD_LOGIC;

clk_4bit : IN STD_LOGIC;

reset : IN STD_LOGIC;

dout : OUT STD_LOGIC

);

end OPPM_Encoder;

architecture behaviour of OPPM_Encoder IS

SIGNAL control1 : STD_LOGIC_VECTOR(2 downto 0); --:= "100";-- changing this value 1 position changes the op as not synced 24 bit output since taking 6 blocks of 3 instead of 5.

SIGNAL sipo : STD_LOGIC_VECTOR(14 downto 0) :=

"000000000000000";

SIGNAL piso : STD_LOGIC_VECTOR(3 downto 0);

SIGNAL reg1 : STD_LOGIC_VECTOR(2 downto 0) := "000";

-- SIGNAL D2 : STD_LOGIC_VECTOR(2 downto 0) := "000";

SIGNAL load_reg : STD_LOGIC;

SIGNAL initflag1 : STD_LOGIC := '1'; -- used to initialise/sync input stream- once detected reset to 0 under synced operation

BEGIN

coder_input: PROCESS -- loads the input data using the 3 bit clock

BEGIN

WAIT UNTIL (clk_3bit'EVENT AND clk_3bit = '1');

control1

More Ahmed Salman's questions See All
Similar questions and discussions