question about spreading

L

lezah

Hi,
I want to ask how to do spreading in VHDL,
if i have A<=(1,-1,-1,1)
the channelization code is (1,-1,-1,1),
after spread: it should be B<=(1,-1,-1,1,-1,1,1,-1,-1,1,1,-1,1,-1,-1,1),
in VHDL, the time slot for every bit is 100ns,
so how to make A to be B?
or how to spread 1 bit to 4 bit?
thanks

Lezah
 
V

valentin tihomirov

Have you checked this?

SPREAD_A_to_B: for N in 0 to 3 loop
B(N*4 to N*4+3) <= A;
end loop;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top