User Tools

Site Tools


6bits_look_up_tables

6bits Lookup Table

Overview

LUT

Saw

LUT_Saw[]={0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63};

Sine

LUT_Sine[]={1,1,2,2,3,5,6,8,10,12,15,17,20,23,26,29,32,35,38,41,44,47,49,52,54,56,58,59,61,62,62,63,63,63,62,62,61,59,58,56,54,52,49,47,44,41,38,35,32,29,26,23,20,17,15,12,10,8,6,5,3,2,2,1};

Triangle

LUT_Tri[]={0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62,63,61,59,57,55,53,51,49,47,45,43,41,39,37,35,33,31,29,27,25,23,21,19,17,15,13,11,9,7,5,3,1};

Half sine

LUT_Half_Sine[]={0,3,6,9,12,15,18,21,24,27,30,32,35,38,40,42,45,47,49,51,52,54,56,57,58,59,60,61,62,62,63,63,63,63,63,62,62,61,60,59,58,57,56,54,52,51,49,47,45,42,40,38,35,32,30,27,24,21,18,15,12,9,6,3};

Quarter Sine

LUT_Quarter_Sine[]={0,2,3,5,6,8,9,11,12,14,15,17,18,20,21,23,24,26,27,28,30,31,32,34,35,36,38,39,40,41,42,43,45,46,47,48,49,50,51,52,52,53,54,55,56,56,57,58,58,59,59,60,60,61,61,61,62,62,62,63,63,63,63,63};

Logarithm

LUT_Log[]={0,11,17,21,25,28,30,32,34,35,37,38,39,41,42,43,44,44,45,46,47,48,48,49,50,50,51,51,52,52,53,53,54,54,55,55,56,56,56,57,57,58,58,58,59,59,59,60,60,60,61,61,61,61,62,62,62,62,63,63,63,64,64,64};

Exponential

LUT_Exp[]={1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,4,4,4,4,5,5,5,6,6,7,7,7,8,9,9,10,10,11,12,13,13,14,15,16,17,19,20,21,23,24,26,27,29,31,33,36,38,41,43,46,49,53,56,60};

Cube

LUT_Cube[]={0,3,6,8,11,13,15,17,19,20,22,23,24,25,26,27,28,29,29,30,30,31,31,31,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,32,33,33,33,33,34,34,35,35,36,37,38,39,40,41,42,44,46,47,49,51,53,56,58,61};

Square

LUT_Square[]={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};

Low transition Square

LUT_Squatri[]={0,0,0,0,0,0,0,0,0,0,0,0,0,8,16,24,32,40,48,56,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,64,56,48,40,32,24,16,8,0,0,0,0,0,0,0,0,0,0,0,0};

6bits_look_up_tables.txt · Last modified: 2018/08/26 09:36 by 127.0.0.1