blue_wings_
Newbie level 4
- Joined
- Apr 9, 2013
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,328
Hii all;
i am pretty new vhdl user and i am trying to solve a problem,which is difficult for me nowadays . I have two std_logic_vectors.First one has 5 bits,which must have (11111).Second one has 2040 bits,which is arbitral and i must divide up 2040 bits to 24 outputs that means each output must have 85 bits .First i must determine by using a small vector(5bits) the place of successive 5 bits(11111) in a std_logic_vector,which has 2040 bits.After determing if there are 11111 in a 2040bits vector ,the output should be '1' which is responsible 85 bits where there is 11111 .
to summarize
for example i have 24 outputs each control 85 bits of std_logic-vector(2040bits)
if there is a 11111 in first 85 bits then output1 should be '1'
if there is a 11111 in 86 to 170 bits then output2 should be '1'
if there is a 11111 in 172 to 255 bits then output3 should be '1' so on...
(11111) is the minimum value .it can be bigger to make an output logic '1' Does someone have any idea about it...
Thanks
i am pretty new vhdl user and i am trying to solve a problem,which is difficult for me nowadays . I have two std_logic_vectors.First one has 5 bits,which must have (11111).Second one has 2040 bits,which is arbitral and i must divide up 2040 bits to 24 outputs that means each output must have 85 bits .First i must determine by using a small vector(5bits) the place of successive 5 bits(11111) in a std_logic_vector,which has 2040 bits.After determing if there are 11111 in a 2040bits vector ,the output should be '1' which is responsible 85 bits where there is 11111 .
to summarize
for example i have 24 outputs each control 85 bits of std_logic-vector(2040bits)
if there is a 11111 in first 85 bits then output1 should be '1'
if there is a 11111 in 86 to 170 bits then output2 should be '1'
if there is a 11111 in 172 to 255 bits then output3 should be '1' so on...
(11111) is the minimum value .it can be bigger to make an output logic '1' Does someone have any idea about it...
Thanks