Forum: FPGA, VHDL & Verilog factional sorter

Author: basma (Guest)
Posted on:

Rate this post
0 useful
not useful
hi all
if i have two input first for codes std_logic_vector ( 0 to 7)
and the second for its time which is in integer type ,such as
00000001 ------> 125 ms
00010010 ------> 100 ms
01000100 ------> 200 ms
01111000 ------> 147 ms
and i want to sort them as the following
00010010 ------> 100 ms
00000001 ------> 125 ms
01111000 ------> 147 ms
01000100 ------> 200 ms
so, i want to sort the second input in ascending order and the 
corresponding firt input data to it
any idea plz
sorry for bad english.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.