question about spreading

Discussion in 'VHDL' started by lezah, Feb 8, 2004.

  1. lezah

    lezah Guest

    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
     
    lezah, Feb 8, 2004
    #1
    1. Advertising

  2. 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;
     
    valentin tihomirov, Feb 8, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matthias Kaeppler
    Replies:
    3
    Views:
    279
    Matthias Kaeppler
    Sep 26, 2005
  2. Replies:
    0
    Views:
    289
  3. Nougat Surprise

    It's spreading.

    Nougat Surprise, Jan 16, 2011, in forum: Java
    Replies:
    22
    Views:
    827
  4. Max Williams
    Replies:
    12
    Views:
    243
    Clifford Heath
    Sep 13, 2009
  5. Harry Kakueki
    Replies:
    2
    Views:
    106
    Gavin Sinclair
    Jul 29, 2010
Loading...

Share This Page