Altera_Forum
Honored Contributor
14 years agoAvalon_ mm_ master wrapper (vhdl)
Hello,
I have written a code for CDMA Encoding and CDMA Decoding using VHDL Language. Now i have to create as a custom IP using component editor.Here i want a help regarding the avalon signals. In my system , the output from NIOS-II processor will be given to CDMA_Encoding(it encodes 32-bit data from NIOS-II and convert it to 16-bit data) and then given to avalon interface. Similarly from avalon interface i will get 16-bit data,which is given to CDMA decoding( it again converts 16-bit data into 32-bit,as original output from NIOS-II) and then given to slave(like SDRAM or Flash Memory). NIOS-->CDMA_ENCODING-->AVALON-->CDMA_DECODING-->SLAVE. this is the flow of system. Kindly help me regarding creating custom IP to sync with avalon. i am not able to understand , which signals to be used after reading avalon specification manual. entity of my custom logic is given below. CDMA_ENCODING:entity CDMA_ENCODING is
port (rst_n : in std_logic;
clk : in std_logic;
PI: IN STD_LOGIC_VECTOR(0 TO 31);
output :buffer std_logic_vector (0 to 15));
end CDMA_ENCODING; CDMA_DECODING: entity CDMA_DECODING is
port (
rst_n : in std_logic;
clk : in std_logic;
PI: IN STD_LOGIC_VECTOR(0 TO 15);
output :buffer std_logic_vector (0 to 31));
end CDMA_DECODING; In order to interface with avalon Wrapper is necessary.. kindly give some hints regarding this as soon as possible. Thank you.