F
fl
Hi,
I want to implement a table, which has nonlinear input. For example, its input has 7 segmentations:
Segmentation........... Mapping ratio
1-511.................. 1 : 1
512-1023............... 1 : 2
1024-2047.............. 1 : 4
2048-4095.............. 1 : 8
4096-8191.............. 1 : 16
8192-16383............. 1 : 32
16384-32767............ 1 : 64
Thus, the first row has 511 entries while all others have 256 entries. There are values (26 bits in wordlength) corresponding to these entries.
I am new to VHDL. It looks like a lookup table, but the nonlinear entries make me feel difficult. Could you help me on this problem?
Thanks,
I want to implement a table, which has nonlinear input. For example, its input has 7 segmentations:
Segmentation........... Mapping ratio
1-511.................. 1 : 1
512-1023............... 1 : 2
1024-2047.............. 1 : 4
2048-4095.............. 1 : 8
4096-8191.............. 1 : 16
8192-16383............. 1 : 32
16384-32767............ 1 : 64
Thus, the first row has 511 entries while all others have 256 entries. There are values (26 bits in wordlength) corresponding to these entries.
I am new to VHDL. It looks like a lookup table, but the nonlinear entries make me feel difficult. Could you help me on this problem?
Thanks,