Im added my NCO in the design,but I have troubles with connection.My NCO has several inputs such as (clk,clken,reset_n,phi_inc_i and output ports such as fsino and out_valid),where reset_n-Active-low asynchronous reset,phi_inc_i - Input phase increment,fsin_o - Output sine value,out_valid -Data valid signal. Asserted by the MegaCore function when there is valid data to output.
Here I show part of code which I added to bladerf-hosted.vhd
Code: Select all
U_cord_gen : entity work.cord_gen
port map (
clk => tx_clock,
reset_n => tx_reset,
clken => '1'
) ;
clk => tx_clock,
reset_n => tx_reset,
clken => '1'
phi_inc_i i can put some constant phase,
fsin_o => ??
(tx_clock and tx_reset form lms6002d,clken i think it should be always in '1',but i have a question,how I should connect fsin_o,which port in lms6002d,because from my poin of view I should to connect with tx_lms_data.
Could you please give me some hints in this case,how I should connect my NCO?