Use perl script to convert sine table to hex then use $readmemh() function
Here is the perl script
#!/usr/bin/perl -w
open( FILE, "< $ARGV[0]" ) or die "Can't open $ARGV[0] : $!";
while( <FILE> ) {
chomp();
printf("%03X\n", $_ & 0xFFF);
}
save this as to_hex.pl and use following command
./to_hex.pl sin.txt > sin.mem
use $readmemh("sin.mem",rom);