div_rom.v 42.4 KB
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082
module div_rom(clk, oe, a, out);

input clk, oe;
input [9:0] a;
output [15:0] out;

`define tacc 8

reg [15:0] out;
reg[15:0] mem[0:1023];

reg [9:0] addr_latched;

reg debug;
integer i;

initial 
begin 
  #1;
  if (debug) 
   for (i=0; i<1024; i=i+1)
     $display("%h  %h",i, mem[i]);
end

/*XXX frank fixed this race condition

always @(clk or a or addr_latched)
  begin
     #1;
     if (!clk) addr_latched <= a;
     if (clk) out = #(`tacc) mem[addr_latched];
  end
*/
always @(clk or a)
begin
	if(clk)
		addr_latched = a;
	out = #(`tacc) mem[addr_latched];
end

initial
begin
 /***************************
  * Table for Reciprocal 
  ***************************/
  mem[10'h000]=16'hffff; //Val=0.999985 
  mem[10'h001]=16'hff00; //Val=0.998047 
  mem[10'h002]=16'hfe01; //Val=0.996094 
  mem[10'h003]=16'hfd04; //Val=0.994171 
  mem[10'h004]=16'hfc07; //Val=0.992233 
  mem[10'h005]=16'hfb0c; //Val=0.990326 
  mem[10'h006]=16'hfa11; //Val=0.988403 
  mem[10'h007]=16'hf918; //Val=0.986511 
  mem[10'h008]=16'hf81f; //Val=0.984604 
  mem[10'h009]=16'hf727; //Val=0.982712 
  mem[10'h00a]=16'hf631; //Val=0.980835 
  mem[10'h00b]=16'hf53b; //Val=0.978958 
  mem[10'h00c]=16'hf446; //Val=0.977097 
  mem[10'h00d]=16'hf352; //Val=0.975235 
  mem[10'h00e]=16'hf25f; //Val=0.973373 
  mem[10'h00f]=16'hf16d; //Val=0.971527 
  mem[10'h010]=16'hf07c; //Val=0.969696 
  mem[10'h011]=16'hef8b; //Val=0.967850 
  mem[10'h012]=16'hee9c; //Val=0.966034 
  mem[10'h013]=16'hedae; //Val=0.964218 
  mem[10'h014]=16'hecc0; //Val=0.962402 
  mem[10'h015]=16'hebd3; //Val=0.960587 
  mem[10'h016]=16'heae8; //Val=0.958801 
  mem[10'h017]=16'he9fd; //Val=0.957001 
  mem[10'h018]=16'he913; //Val=0.955215 
  mem[10'h019]=16'he829; //Val=0.953430 
  mem[10'h01a]=16'he741; //Val=0.951660 
  mem[10'h01b]=16'he65a; //Val=0.949905 
  mem[10'h01c]=16'he573; //Val=0.948135 
  mem[10'h01d]=16'he48d; //Val=0.946381 
  mem[10'h01e]=16'he3a9; //Val=0.944641 
  mem[10'h01f]=16'he2c5; //Val=0.942902 
  mem[10'h020]=16'he1e1; //Val=0.941162 
  mem[10'h021]=16'he0ff; //Val=0.939438 
  mem[10'h022]=16'he01e; //Val=0.937729 
  mem[10'h023]=16'hdf3d; //Val=0.936005 
  mem[10'h024]=16'hde5d; //Val=0.934296 
  mem[10'h025]=16'hdd7e; //Val=0.932602 
  mem[10'h026]=16'hdca0; //Val=0.930908 
  mem[10'h027]=16'hdbc2; //Val=0.929214 
  mem[10'h028]=16'hdae6; //Val=0.927536 
  mem[10'h029]=16'hda0a; //Val=0.925858 
  mem[10'h02a]=16'hd92f; //Val=0.924179 
  mem[10'h02b]=16'hd854; //Val=0.922516 
  mem[10'h02c]=16'hd77b; //Val=0.920853 
  mem[10'h02d]=16'hd6a2; //Val=0.919205 
  mem[10'h02e]=16'hd5ca; //Val=0.917557 
  mem[10'h02f]=16'hd4f3; //Val=0.915909 
  mem[10'h030]=16'hd41d; //Val=0.914276 
  mem[10'h031]=16'hd347; //Val=0.912643 
  mem[10'h032]=16'hd272; //Val=0.911026 
  mem[10'h033]=16'hd19e; //Val=0.909409 
  mem[10'h034]=16'hd0cb; //Val=0.907791 
  mem[10'h035]=16'hcff8; //Val=0.906189 
  mem[10'h036]=16'hcf26; //Val=0.904587 
  mem[10'h037]=16'hce55; //Val=0.902985 
  mem[10'h038]=16'hcd85; //Val=0.901398 
  mem[10'h039]=16'hccb5; //Val=0.899811 
  mem[10'h03a]=16'hcbe6; //Val=0.898239 
  mem[10'h03b]=16'hcb18; //Val=0.896667 
  mem[10'h03c]=16'hca4b; //Val=0.895096 
  mem[10'h03d]=16'hc97e; //Val=0.893539 
  mem[10'h03e]=16'hc8b2; //Val=0.891983 
  mem[10'h03f]=16'hc7e7; //Val=0.890427 
  mem[10'h040]=16'hc71c; //Val=0.888885 
  mem[10'h041]=16'hc652; //Val=0.887344 
  mem[10'h042]=16'hc589; //Val=0.885803 
  mem[10'h043]=16'hc4c0; //Val=0.884277 
  mem[10'h044]=16'hc3f8; //Val=0.882751 
  mem[10'h045]=16'hc331; //Val=0.881226 
  mem[10'h046]=16'hc26b; //Val=0.879715 
  mem[10'h047]=16'hc1a5; //Val=0.878204 
  mem[10'h048]=16'hc0e0; //Val=0.876709 
  mem[10'h049]=16'hc01c; //Val=0.875214 
  mem[10'h04a]=16'hbf58; //Val=0.873718 
  mem[10'h04b]=16'hbe95; //Val=0.872223 
  mem[10'h04c]=16'hbdd2; //Val=0.870743 
  mem[10'h04d]=16'hbd10; //Val=0.869263 
  mem[10'h04e]=16'hbc4f; //Val=0.867783 
  mem[10'h04f]=16'hbb8f; //Val=0.866318 
  mem[10'h050]=16'hbacf; //Val=0.864853 
  mem[10'h051]=16'hba10; //Val=0.863403 
  mem[10'h052]=16'hb951; //Val=0.861938 
  mem[10'h053]=16'hb894; //Val=0.860504 
  mem[10'h054]=16'hb7d6; //Val=0.859055 
  mem[10'h055]=16'hb71a; //Val=0.857620 
  mem[10'h056]=16'hb65e; //Val=0.856186 
  mem[10'h057]=16'hb5a2; //Val=0.854752 
  mem[10'h058]=16'hb4e8; //Val=0.853333 
  mem[10'h059]=16'hb42e; //Val=0.851913 
  mem[10'h05a]=16'hb374; //Val=0.850494 
  mem[10'h05b]=16'hb2bb; //Val=0.849075 
  mem[10'h05c]=16'hb203; //Val=0.847672 
  mem[10'h05d]=16'hb14b; //Val=0.846268 
  mem[10'h05e]=16'hb094; //Val=0.844879 
  mem[10'h05f]=16'hafde; //Val=0.843491 
  mem[10'h060]=16'haf28; //Val=0.842102 
  mem[10'h061]=16'hae73; //Val=0.840714 
  mem[10'h062]=16'hadbe; //Val=0.839340 
  mem[10'h063]=16'had0a; //Val=0.837967 
  mem[10'h064]=16'hac57; //Val=0.836594 
  mem[10'h065]=16'haba4; //Val=0.835236 
  mem[10'h066]=16'haaf1; //Val=0.833862 
  mem[10'h067]=16'haa40; //Val=0.832520 
  mem[10'h068]=16'ha98e; //Val=0.831161 
  mem[10'h069]=16'ha8de; //Val=0.829819 
  mem[10'h06a]=16'ha82e; //Val=0.828476 
  mem[10'h06b]=16'ha77e; //Val=0.827133 
  mem[10'h06c]=16'ha6d0; //Val=0.825806 
  mem[10'h06d]=16'ha621; //Val=0.824463 
  mem[10'h06e]=16'ha574; //Val=0.823151 
  mem[10'h06f]=16'ha4c6; //Val=0.821823 
  mem[10'h070]=16'ha41a; //Val=0.820511 
  mem[10'h071]=16'ha36e; //Val=0.819199 
  mem[10'h072]=16'ha2c2; //Val=0.817886 
  mem[10'h073]=16'ha217; //Val=0.816574 
  mem[10'h074]=16'ha16d; //Val=0.815277 
  mem[10'h075]=16'ha0c3; //Val=0.813980 
  mem[10'h076]=16'ha01a; //Val=0.812698 
  mem[10'h077]=16'h9f71; //Val=0.811401 
  mem[10'h078]=16'h9ec8; //Val=0.810120 
  mem[10'h079]=16'h9e21; //Val=0.808838 
  mem[10'h07a]=16'h9d79; //Val=0.807556 
  mem[10'h07b]=16'h9cd3; //Val=0.806290 
  mem[10'h07c]=16'h9c2d; //Val=0.805023 
  mem[10'h07d]=16'h9b87; //Val=0.803757 
  mem[10'h07e]=16'h9ae2; //Val=0.802505 
  mem[10'h07f]=16'h9a3d; //Val=0.801239 
  mem[10'h080]=16'h9999; //Val=0.799988 
  mem[10'h081]=16'h98f6; //Val=0.798752 
  mem[10'h082]=16'h9852; //Val=0.797501 
  mem[10'h083]=16'h97b0; //Val=0.796265 
  mem[10'h084]=16'h970e; //Val=0.795029 
  mem[10'h085]=16'h966c; //Val=0.793793 
  mem[10'h086]=16'h95cb; //Val=0.792557 
  mem[10'h087]=16'h952b; //Val=0.791336 
  mem[10'h088]=16'h948b; //Val=0.790115 
  mem[10'h089]=16'h93eb; //Val=0.788895 
  mem[10'h08a]=16'h934c; //Val=0.787689 
  mem[10'h08b]=16'h92ad; //Val=0.786469 
  mem[10'h08c]=16'h920f; //Val=0.785263 
  mem[10'h08d]=16'h9172; //Val=0.784073 
  mem[10'h08e]=16'h90d4; //Val=0.782867 
  mem[10'h08f]=16'h9038; //Val=0.781677 
  mem[10'h090]=16'h8f9c; //Val=0.780487 
  mem[10'h091]=16'h8f00; //Val=0.779297 
  mem[10'h092]=16'h8e65; //Val=0.778107 
  mem[10'h093]=16'h8dca; //Val=0.776932 
  mem[10'h094]=16'h8d30; //Val=0.775757 
  mem[10'h095]=16'h8c96; //Val=0.774582 
  mem[10'h096]=16'h8bfc; //Val=0.773407 
  mem[10'h097]=16'h8b64; //Val=0.772247 
  mem[10'h098]=16'h8acb; //Val=0.771072 
  mem[10'h099]=16'h8a33; //Val=0.769913 
  mem[10'h09a]=16'h899c; //Val=0.768768 
  mem[10'h09b]=16'h8904; //Val=0.767609 
  mem[10'h09c]=16'h886e; //Val=0.766464 
  mem[10'h09d]=16'h87d8; //Val=0.765320 
  mem[10'h09e]=16'h8742; //Val=0.764175 
  mem[10'h09f]=16'h86ad; //Val=0.763031 
  mem[10'h0a0]=16'h8618; //Val=0.761902 
  mem[10'h0a1]=16'h8583; //Val=0.760757 
  mem[10'h0a2]=16'h84f0; //Val=0.759644 
  mem[10'h0a3]=16'h845c; //Val=0.758514 
  mem[10'h0a4]=16'h83c9; //Val=0.757385 
  mem[10'h0a5]=16'h8336; //Val=0.756271 
  mem[10'h0a6]=16'h82a4; //Val=0.755157 
  mem[10'h0a7]=16'h8212; //Val=0.754044 
  mem[10'h0a8]=16'h8181; //Val=0.752930 
  mem[10'h0a9]=16'h80f0; //Val=0.751831 
  mem[10'h0aa]=16'h8060; //Val=0.750732 
  mem[10'h0ab]=16'h7fd0; //Val=0.749634 
  mem[10'h0ac]=16'h7f40; //Val=0.748535 
  mem[10'h0ad]=16'h7eb1; //Val=0.747437 
  mem[10'h0ae]=16'h7e22; //Val=0.746353 
  mem[10'h0af]=16'h7d93; //Val=0.745255 
  mem[10'h0b0]=16'h7d05; //Val=0.744171 
  mem[10'h0b1]=16'h7c78; //Val=0.743103 
  mem[10'h0b2]=16'h7beb; //Val=0.742020 
  mem[10'h0b3]=16'h7b5e; //Val=0.740952 
  mem[10'h0b4]=16'h7ad2; //Val=0.739883 
  mem[10'h0b5]=16'h7a46; //Val=0.738815 
  mem[10'h0b6]=16'h79ba; //Val=0.737747 
  mem[10'h0b7]=16'h792f; //Val=0.736679 
  mem[10'h0b8]=16'h78a4; //Val=0.735626 
  mem[10'h0b9]=16'h781a; //Val=0.734573 
  mem[10'h0ba]=16'h7790; //Val=0.733521 
  mem[10'h0bb]=16'h7706; //Val=0.732468 
  mem[10'h0bc]=16'h767d; //Val=0.731415 
  mem[10'h0bd]=16'h75f5; //Val=0.730377 
  mem[10'h0be]=16'h756c; //Val=0.729340 
  mem[10'h0bf]=16'h74e4; //Val=0.728302 
  mem[10'h0c0]=16'h745d; //Val=0.727264 
  mem[10'h0c1]=16'h73d5; //Val=0.726227 
  mem[10'h0c2]=16'h734f; //Val=0.725204 
  mem[10'h0c3]=16'h72c8; //Val=0.724182 
  mem[10'h0c4]=16'h7242; //Val=0.723160 
  mem[10'h0c5]=16'h71bc; //Val=0.722137 
  mem[10'h0c6]=16'h7137; //Val=0.721115 
  mem[10'h0c7]=16'h70b2; //Val=0.720108 
  mem[10'h0c8]=16'h702e; //Val=0.719101 
  mem[10'h0c9]=16'h6fa9; //Val=0.718079 
  mem[10'h0ca]=16'h6f26; //Val=0.717087 
  mem[10'h0cb]=16'h6ea2; //Val=0.716080 
  mem[10'h0cc]=16'h6e1f; //Val=0.715073 
  mem[10'h0cd]=16'h6d9c; //Val=0.714081 
  mem[10'h0ce]=16'h6d1a; //Val=0.713089 
  mem[10'h0cf]=16'h6c98; //Val=0.712097 
  mem[10'h0d0]=16'h6c16; //Val=0.711105 
  mem[10'h0d1]=16'h6b95; //Val=0.710114 
  mem[10'h0d2]=16'h6b14; //Val=0.709137 
  mem[10'h0d3]=16'h6a94; //Val=0.708160 
  mem[10'h0d4]=16'h6a13; //Val=0.707169 
  mem[10'h0d5]=16'h6993; //Val=0.706192 
  mem[10'h0d6]=16'h6914; //Val=0.705231 
  mem[10'h0d7]=16'h6895; //Val=0.704254 
  mem[10'h0d8]=16'h6816; //Val=0.703293 
  mem[10'h0d9]=16'h6798; //Val=0.702332 
  mem[10'h0da]=16'h6719; //Val=0.701355 
  mem[10'h0db]=16'h669c; //Val=0.700409 
  mem[10'h0dc]=16'h661e; //Val=0.699448 
  mem[10'h0dd]=16'h65a1; //Val=0.698486 
  mem[10'h0de]=16'h6524; //Val=0.697540 
  mem[10'h0df]=16'h64a8; //Val=0.696594 
  mem[10'h0e0]=16'h642c; //Val=0.695648 
  mem[10'h0e1]=16'h63b0; //Val=0.694702 
  mem[10'h0e2]=16'h6335; //Val=0.693756 
  mem[10'h0e3]=16'h62ba; //Val=0.692825 
  mem[10'h0e4]=16'h623f; //Val=0.691879 
  mem[10'h0e5]=16'h61c5; //Val=0.690948 
  mem[10'h0e6]=16'h614b; //Val=0.690018 
  mem[10'h0e7]=16'h60d1; //Val=0.689087 
  mem[10'h0e8]=16'h6058; //Val=0.688171 
  mem[10'h0e9]=16'h5fdf; //Val=0.687241 
  mem[10'h0ea]=16'h5f66; //Val=0.686325 
  mem[10'h0eb]=16'h5eed; //Val=0.685394 
  mem[10'h0ec]=16'h5e75; //Val=0.684479 
  mem[10'h0ed]=16'h5dfd; //Val=0.683563 
  mem[10'h0ee]=16'h5d86; //Val=0.682663 
  mem[10'h0ef]=16'h5d0f; //Val=0.681747 
  mem[10'h0f0]=16'h5c98; //Val=0.680847 
  mem[10'h0f1]=16'h5c22; //Val=0.679947 
  mem[10'h0f2]=16'h5bab; //Val=0.679031 
  mem[10'h0f3]=16'h5b35; //Val=0.678131 
  mem[10'h0f4]=16'h5ac0; //Val=0.677246 
  mem[10'h0f5]=16'h5a4b; //Val=0.676346 
  mem[10'h0f6]=16'h59d6; //Val=0.675461 
  mem[10'h0f7]=16'h5961; //Val=0.674561 
  mem[10'h0f8]=16'h58ed; //Val=0.673676 
  mem[10'h0f9]=16'h5879; //Val=0.672791 
  mem[10'h0fa]=16'h5805; //Val=0.671906 
  mem[10'h0fb]=16'h5791; //Val=0.671021 
  mem[10'h0fc]=16'h571e; //Val=0.670151 
  mem[10'h0fd]=16'h56ac; //Val=0.669281 
  mem[10'h0fe]=16'h5639; //Val=0.668396 
  mem[10'h0ff]=16'h55c7; //Val=0.667526 
  mem[10'h100]=16'h5555; //Val=0.666656 
  mem[10'h101]=16'h54e3; //Val=0.665787 
  mem[10'h102]=16'h5472; //Val=0.664932 
  mem[10'h103]=16'h5401; //Val=0.664062 
  mem[10'h104]=16'h5390; //Val=0.663208 
  mem[10'h105]=16'h5320; //Val=0.662354 
  mem[10'h106]=16'h52af; //Val=0.661484 
  mem[10'h107]=16'h5240; //Val=0.660645 
  mem[10'h108]=16'h51d0; //Val=0.659790 
  mem[10'h109]=16'h5161; //Val=0.658936 
  mem[10'h10a]=16'h50f2; //Val=0.658096 
  mem[10'h10b]=16'h5083; //Val=0.657242 
  mem[10'h10c]=16'h5015; //Val=0.656403 
  mem[10'h10d]=16'h4fa6; //Val=0.655563 
  mem[10'h10e]=16'h4f38; //Val=0.654724 
  mem[10'h10f]=16'h4ecb; //Val=0.653885 
  mem[10'h110]=16'h4e5e; //Val=0.653061 
  mem[10'h111]=16'h4df1; //Val=0.652222 
  mem[10'h112]=16'h4d84; //Val=0.651398 
  mem[10'h113]=16'h4d17; //Val=0.650558 
  mem[10'h114]=16'h4cab; //Val=0.649734 
  mem[10'h115]=16'h4c3f; //Val=0.648911 
  mem[10'h116]=16'h4bd3; //Val=0.648087 
  mem[10'h117]=16'h4b68; //Val=0.647278 
  mem[10'h118]=16'h4afd; //Val=0.646454 
  mem[10'h119]=16'h4a92; //Val=0.645645 
  mem[10'h11a]=16'h4a27; //Val=0.644821 
  mem[10'h11b]=16'h49bd; //Val=0.644012 
  mem[10'h11c]=16'h4953; //Val=0.643204 
  mem[10'h11d]=16'h48e9; //Val=0.642395 
  mem[10'h11e]=16'h4880; //Val=0.641602 
  mem[10'h11f]=16'h4817; //Val=0.640793 
  mem[10'h120]=16'h47ae; //Val=0.639999 
  mem[10'h121]=16'h4745; //Val=0.639191 
  mem[10'h122]=16'h46dc; //Val=0.638397 
  mem[10'h123]=16'h4674; //Val=0.637604 
  mem[10'h124]=16'h460c; //Val=0.636810 
  mem[10'h125]=16'h45a5; //Val=0.636017 
  mem[10'h126]=16'h453d; //Val=0.635223 
  mem[10'h127]=16'h44d6; //Val=0.634445 
  mem[10'h128]=16'h446f; //Val=0.633652 
  mem[10'h129]=16'h4408; //Val=0.632874 
  mem[10'h12a]=16'h43a2; //Val=0.632095 
  mem[10'h12b]=16'h433c; //Val=0.631317 
  mem[10'h12c]=16'h42d6; //Val=0.630539 
  mem[10'h12d]=16'h4270; //Val=0.629761 
  mem[10'h12e]=16'h420b; //Val=0.628983 
  mem[10'h12f]=16'h41a6; //Val=0.628220 
  mem[10'h130]=16'h4141; //Val=0.627441 
  mem[10'h131]=16'h40dc; //Val=0.626678 
  mem[10'h132]=16'h4078; //Val=0.625916 
  mem[10'h133]=16'h4014; //Val=0.625153 
  mem[10'h134]=16'h3fb0; //Val=0.624390 
  mem[10'h135]=16'h3f4c; //Val=0.623627 
  mem[10'h136]=16'h3ee8; //Val=0.622864 
  mem[10'h137]=16'h3e85; //Val=0.622101 
  mem[10'h138]=16'h3e22; //Val=0.621353 
  mem[10'h139]=16'h3dc0; //Val=0.620605 
  mem[10'h13a]=16'h3d5d; //Val=0.619843 
  mem[10'h13b]=16'h3cfb; //Val=0.619095 
  mem[10'h13c]=16'h3c99; //Val=0.618347 
  mem[10'h13d]=16'h3c37; //Val=0.617599 
  mem[10'h13e]=16'h3bd6; //Val=0.616867 
  mem[10'h13f]=16'h3b74; //Val=0.616119 
  mem[10'h140]=16'h3b13; //Val=0.615372 
  mem[10'h141]=16'h3ab2; //Val=0.614639 
  mem[10'h142]=16'h3a52; //Val=0.613907 
  mem[10'h143]=16'h39f1; //Val=0.613159 
  mem[10'h144]=16'h3991; //Val=0.612427 
  mem[10'h145]=16'h3931; //Val=0.611694 
  mem[10'h146]=16'h38d2; //Val=0.610977 
  mem[10'h147]=16'h3872; //Val=0.610245 
  mem[10'h148]=16'h3813; //Val=0.609512 
  mem[10'h149]=16'h37b4; //Val=0.608795 
  mem[10'h14a]=16'h3755; //Val=0.608063 
  mem[10'h14b]=16'h36f7; //Val=0.607346 
  mem[10'h14c]=16'h3698; //Val=0.606628 
  mem[10'h14d]=16'h363a; //Val=0.605911 
  mem[10'h14e]=16'h35dc; //Val=0.605194 
  mem[10'h14f]=16'h357f; //Val=0.604477 
  mem[10'h150]=16'h3521; //Val=0.603760 
  mem[10'h151]=16'h34c4; //Val=0.603058 
  mem[10'h152]=16'h3467; //Val=0.602341 
  mem[10'h153]=16'h340a; //Val=0.601639 
  mem[10'h154]=16'h33ae; //Val=0.600937 
  mem[10'h155]=16'h3351; //Val=0.600220 
  mem[10'h156]=16'h32f5; //Val=0.599518 
  mem[10'h157]=16'h3299; //Val=0.598816 
  mem[10'h158]=16'h323e; //Val=0.598129 
  mem[10'h159]=16'h31e2; //Val=0.597427 
  mem[10'h15a]=16'h3187; //Val=0.596725 
  mem[10'h15b]=16'h312c; //Val=0.596039 
  mem[10'h15c]=16'h30d1; //Val=0.595337 
  mem[10'h15d]=16'h3076; //Val=0.594650 
  mem[10'h15e]=16'h301c; //Val=0.593964 
  mem[10'h15f]=16'h2fc2; //Val=0.593277 
  mem[10'h160]=16'h2f68; //Val=0.592590 
  mem[10'h161]=16'h2f0e; //Val=0.591904 
  mem[10'h162]=16'h2eb4; //Val=0.591217 
  mem[10'h163]=16'h2e5b; //Val=0.590530 
  mem[10'h164]=16'h2e02; //Val=0.589859 
  mem[10'h165]=16'h2da9; //Val=0.589172 
  mem[10'h166]=16'h2d50; //Val=0.588501 
  mem[10'h167]=16'h2cf8; //Val=0.587830 
  mem[10'h168]=16'h2c9f; //Val=0.587143 
  mem[10'h169]=16'h2c47; //Val=0.586472 
  mem[10'h16a]=16'h2bef; //Val=0.585800 
  mem[10'h16b]=16'h2b97; //Val=0.585129 
  mem[10'h16c]=16'h2b40; //Val=0.584473 
  mem[10'h16d]=16'h2ae8; //Val=0.583801 
  mem[10'h16e]=16'h2a91; //Val=0.583130 
  mem[10'h16f]=16'h2a3a; //Val=0.582474 
  mem[10'h170]=16'h29e4; //Val=0.581818 
  mem[10'h171]=16'h298d; //Val=0.581146 
  mem[10'h172]=16'h2937; //Val=0.580490 
  mem[10'h173]=16'h28e0; //Val=0.579834 
  mem[10'h174]=16'h288b; //Val=0.579178 
  mem[10'h175]=16'h2835; //Val=0.578522 
  mem[10'h176]=16'h27df; //Val=0.577866 
  mem[10'h177]=16'h278a; //Val=0.577225 
  mem[10'h178]=16'h2735; //Val=0.576569 
  mem[10'h179]=16'h26e0; //Val=0.575928 
  mem[10'h17a]=16'h268b; //Val=0.575272 
  mem[10'h17b]=16'h2636; //Val=0.574631 
  mem[10'h17c]=16'h25e2; //Val=0.573990 
  mem[10'h17d]=16'h258d; //Val=0.573334 
  mem[10'h17e]=16'h2539; //Val=0.572693 
  mem[10'h17f]=16'h24e5; //Val=0.572052 
  mem[10'h180]=16'h2492; //Val=0.571426 
  mem[10'h181]=16'h243e; //Val=0.570786 
  mem[10'h182]=16'h23eb; //Val=0.570145 
  mem[10'h183]=16'h2398; //Val=0.569519 
  mem[10'h184]=16'h2345; //Val=0.568878 
  mem[10'h185]=16'h22f2; //Val=0.568253 
  mem[10'h186]=16'h22a0; //Val=0.567627 
  mem[10'h187]=16'h224d; //Val=0.566986 
  mem[10'h188]=16'h21fb; //Val=0.566360 
  mem[10'h189]=16'h21a9; //Val=0.565735 
  mem[10'h18a]=16'h2157; //Val=0.565109 
  mem[10'h18b]=16'h2105; //Val=0.564484 
  mem[10'h18c]=16'h20b4; //Val=0.563873 
  mem[10'h18d]=16'h2063; //Val=0.563248 
  mem[10'h18e]=16'h2012; //Val=0.562637 
  mem[10'h18f]=16'h1fc1; //Val=0.562012 
  mem[10'h190]=16'h1f70; //Val=0.561401 
  mem[10'h191]=16'h1f1f; //Val=0.560776 
  mem[10'h192]=16'h1ecf; //Val=0.560165 
  mem[10'h193]=16'h1e7f; //Val=0.559555 
  mem[10'h194]=16'h1e2e; //Val=0.558945 
  mem[10'h195]=16'h1ddf; //Val=0.558334 
  mem[10'h196]=16'h1d8f; //Val=0.557724 
  mem[10'h197]=16'h1d3f; //Val=0.557114 
  mem[10'h198]=16'h1cf0; //Val=0.556519 
  mem[10'h199]=16'h1ca1; //Val=0.555908 
  mem[10'h19a]=16'h1c52; //Val=0.555313 
  mem[10'h19b]=16'h1c03; //Val=0.554703 
  mem[10'h19c]=16'h1bb4; //Val=0.554108 
  mem[10'h19d]=16'h1b66; //Val=0.553513 
  mem[10'h19e]=16'h1b17; //Val=0.552902 
  mem[10'h19f]=16'h1ac9; //Val=0.552307 
  mem[10'h1a0]=16'h1a7b; //Val=0.551712 
  mem[10'h1a1]=16'h1a2d; //Val=0.551117 
  mem[10'h1a2]=16'h19e0; //Val=0.550537 
  mem[10'h1a3]=16'h1992; //Val=0.549942 
  mem[10'h1a4]=16'h1945; //Val=0.549347 
  mem[10'h1a5]=16'h18f8; //Val=0.548767 
  mem[10'h1a6]=16'h18ab; //Val=0.548172 
  mem[10'h1a7]=16'h185e; //Val=0.547592 
  mem[10'h1a8]=16'h1811; //Val=0.546997 
  mem[10'h1a9]=16'h17c4; //Val=0.546417 
  mem[10'h1aa]=16'h1778; //Val=0.545837 
  mem[10'h1ab]=16'h172c; //Val=0.545258 
  mem[10'h1ac]=16'h16e0; //Val=0.544678 
  mem[10'h1ad]=16'h1694; //Val=0.544098 
  mem[10'h1ae]=16'h1648; //Val=0.543518 
  mem[10'h1af]=16'h15fd; //Val=0.542938 
  mem[10'h1b0]=16'h15b1; //Val=0.542358 
  mem[10'h1b1]=16'h1566; //Val=0.541794 
  mem[10'h1b2]=16'h151b; //Val=0.541214 
  mem[10'h1b3]=16'h14d0; //Val=0.540649 
  mem[10'h1b4]=16'h1485; //Val=0.540070 
  mem[10'h1b5]=16'h143b; //Val=0.539505 
  mem[10'h1b6]=16'h13f0; //Val=0.538940 
  mem[10'h1b7]=16'h13a6; //Val=0.538376 
  mem[10'h1b8]=16'h135c; //Val=0.537811 
  mem[10'h1b9]=16'h1312; //Val=0.537247 
  mem[10'h1ba]=16'h12c8; //Val=0.536682 
  mem[10'h1bb]=16'h127f; //Val=0.536118 
  mem[10'h1bc]=16'h1235; //Val=0.535553 
  mem[10'h1bd]=16'h11ec; //Val=0.535004 
  mem[10'h1be]=16'h11a3; //Val=0.534439 
  mem[10'h1bf]=16'h1159; //Val=0.533875 
  mem[10'h1c0]=16'h1111; //Val=0.533325 
  mem[10'h1c1]=16'h10c8; //Val=0.532776 
  mem[10'h1c2]=16'h107f; //Val=0.532211 
  mem[10'h1c3]=16'h1037; //Val=0.531662 
  mem[10'h1c4]=16'h0fef; //Val=0.531113 
  mem[10'h1c5]=16'h0fa6; //Val=0.530563 
  mem[10'h1c6]=16'h0f5e; //Val=0.530014 
  mem[10'h1c7]=16'h0f17; //Val=0.529465 
  mem[10'h1c8]=16'h0ecf; //Val=0.528915 
  mem[10'h1c9]=16'h0e87; //Val=0.528366 
  mem[10'h1ca]=16'h0e40; //Val=0.527832 
  mem[10'h1cb]=16'h0df9; //Val=0.527283 
  mem[10'h1cc]=16'h0db2; //Val=0.526749 
  mem[10'h1cd]=16'h0d6b; //Val=0.526199 
  mem[10'h1ce]=16'h0d24; //Val=0.525665 
  mem[10'h1cf]=16'h0cdd; //Val=0.525116 
  mem[10'h1d0]=16'h0c97; //Val=0.524582 
  mem[10'h1d1]=16'h0c50; //Val=0.524048 
  mem[10'h1d2]=16'h0c0a; //Val=0.523514 
  mem[10'h1d3]=16'h0bc4; //Val=0.522980 
  mem[10'h1d4]=16'h0b7e; //Val=0.522446 
  mem[10'h1d5]=16'h0b38; //Val=0.521912 
  mem[10'h1d6]=16'h0af2; //Val=0.521378 
  mem[10'h1d7]=16'h0aad; //Val=0.520844 
  mem[10'h1d8]=16'h0a68; //Val=0.520325 
  mem[10'h1d9]=16'h0a22; //Val=0.519791 
  mem[10'h1da]=16'h09dd; //Val=0.519257 
  mem[10'h1db]=16'h0998; //Val=0.518738 
  mem[10'h1dc]=16'h0953; //Val=0.518204 
  mem[10'h1dd]=16'h090f; //Val=0.517685 
  mem[10'h1de]=16'h08ca; //Val=0.517166 
  mem[10'h1df]=16'h0886; //Val=0.516647 
  mem[10'h1e0]=16'h0842; //Val=0.516129 
  mem[10'h1e1]=16'h07fd; //Val=0.515594 
  mem[10'h1e2]=16'h07b9; //Val=0.515076 
  mem[10'h1e3]=16'h0776; //Val=0.514572 
  mem[10'h1e4]=16'h0732; //Val=0.514053 
  mem[10'h1e5]=16'h06ee; //Val=0.513535 
  mem[10'h1e6]=16'h06ab; //Val=0.513016 
  mem[10'h1e7]=16'h0668; //Val=0.512512 
  mem[10'h1e8]=16'h0624; //Val=0.511993 
  mem[10'h1e9]=16'h05e1; //Val=0.511475 
  mem[10'h1ea]=16'h059e; //Val=0.510971 
  mem[10'h1eb]=16'h055c; //Val=0.510468 
  mem[10'h1ec]=16'h0519; //Val=0.509949 
  mem[10'h1ed]=16'h04d6; //Val=0.509445 
  mem[10'h1ee]=16'h0494; //Val=0.508942 
  mem[10'h1ef]=16'h0452; //Val=0.508438 
  mem[10'h1f0]=16'h0410; //Val=0.507935 
  mem[10'h1f1]=16'h03ce; //Val=0.507431 
  mem[10'h1f2]=16'h038c; //Val=0.506927 
  mem[10'h1f3]=16'h034a; //Val=0.506424 
  mem[10'h1f4]=16'h0309; //Val=0.505920 
  mem[10'h1f5]=16'h02c7; //Val=0.505417 
  mem[10'h1f6]=16'h0286; //Val=0.504929 
  mem[10'h1f7]=16'h0245; //Val=0.504425 
  mem[10'h1f8]=16'h0204; //Val=0.503937 
  mem[10'h1f9]=16'h01c3; //Val=0.503433 
  mem[10'h1fa]=16'h0182; //Val=0.502945 
  mem[10'h1fb]=16'h0141; //Val=0.502441 
  mem[10'h1fc]=16'h0101; //Val=0.501953 
  mem[10'h1fd]=16'h00c0; //Val=0.501465 
  mem[10'h1fe]=16'h0080; //Val=0.500977 
  mem[10'h1ff]=16'h0040; //Val=0.500488 


 /***************************
  * Table for 1/sqrt (Odd) 1:(2-e) 
  ***************************/
   mem[10'h201]=16'hffff; //Val=0.999985 
   mem[10'h203]=16'hff00; //Val=0.998047 
   mem[10'h205]=16'hfe02; //Val=0.996109 
   mem[10'h207]=16'hfd06; //Val=0.994186 
   mem[10'h209]=16'hfc0b; //Val=0.992264 
   mem[10'h20b]=16'hfb12; //Val=0.990372 
   mem[10'h20d]=16'hfa1a; //Val=0.988480 
   mem[10'h20f]=16'hf923; //Val=0.986588 
   mem[10'h211]=16'hf82e; //Val=0.984726 
   mem[10'h213]=16'hf73b; //Val=0.982864 
   mem[10'h215]=16'hf648; //Val=0.981018 
   mem[10'h217]=16'hf557; //Val=0.979172 
   mem[10'h219]=16'hf467; //Val=0.977341 
   mem[10'h21b]=16'hf379; //Val=0.975525 
   mem[10'h21d]=16'hf28c; //Val=0.973724 
   mem[10'h21f]=16'hf1a0; //Val=0.971924 
   mem[10'h221]=16'hf0b6; //Val=0.970139 
   mem[10'h223]=16'hefcd; //Val=0.968353 
   mem[10'h225]=16'heee5; //Val=0.966583 
   mem[10'h227]=16'hedff; //Val=0.964828 
   mem[10'h229]=16'hed19; //Val=0.963074 
   mem[10'h22b]=16'hec35; //Val=0.961334 
   mem[10'h22d]=16'heb52; //Val=0.959610 
   mem[10'h22f]=16'hea71; //Val=0.957886 
   mem[10'h231]=16'he990; //Val=0.956177 
   mem[10'h233]=16'he8b1; //Val=0.954468 
   mem[10'h235]=16'he7d3; //Val=0.952774 
   mem[10'h237]=16'he6f6; //Val=0.951096 
   mem[10'h239]=16'he61b; //Val=0.949417 
   mem[10'h23b]=16'he540; //Val=0.947754 
   mem[10'h23d]=16'he467; //Val=0.946091 
   mem[10'h23f]=16'he38e; //Val=0.944443 
   mem[10'h241]=16'he2b7; //Val=0.942795 
   mem[10'h243]=16'he1e1; //Val=0.941162 
   mem[10'h245]=16'he10d; //Val=0.939545 
   mem[10'h247]=16'he039; //Val=0.937927 
   mem[10'h249]=16'hdf66; //Val=0.936325 
   mem[10'h24b]=16'hde94; //Val=0.934723 
   mem[10'h24d]=16'hddc4; //Val=0.933136 
   mem[10'h24f]=16'hdcf4; //Val=0.931549 
   mem[10'h251]=16'hdc26; //Val=0.929977 
   mem[10'h253]=16'hdb59; //Val=0.928406 
   mem[10'h255]=16'hda8c; //Val=0.926849 
   mem[10'h257]=16'hd9c1; //Val=0.925293 
   mem[10'h259]=16'hd8f7; //Val=0.923752 
   mem[10'h25b]=16'hd82d; //Val=0.922211 
   mem[10'h25d]=16'hd765; //Val=0.920685 
   mem[10'h25f]=16'hd69e; //Val=0.919174 
   mem[10'h261]=16'hd5d7; //Val=0.917648 
   mem[10'h263]=16'hd512; //Val=0.916153 
   mem[10'h265]=16'hd44e; //Val=0.914658 
   mem[10'h267]=16'hd38a; //Val=0.913162 
   mem[10'h269]=16'hd2c8; //Val=0.911682 
   mem[10'h26b]=16'hd206; //Val=0.910202 
   mem[10'h26d]=16'hd146; //Val=0.908737 
   mem[10'h26f]=16'hd086; //Val=0.907272 
   mem[10'h271]=16'hcfc7; //Val=0.905807 
   mem[10'h273]=16'hcf0a; //Val=0.904373 
   mem[10'h275]=16'hce4d; //Val=0.902924 
   mem[10'h277]=16'hcd91; //Val=0.901489 
   mem[10'h279]=16'hccd6; //Val=0.900070 
   mem[10'h27b]=16'hcc1b; //Val=0.898636 
   mem[10'h27d]=16'hcb62; //Val=0.897232 
   mem[10'h27f]=16'hcaa9; //Val=0.895813 
   mem[10'h281]=16'hc9f2; //Val=0.894424 
   mem[10'h283]=16'hc93b; //Val=0.893021 
   mem[10'h285]=16'hc885; //Val=0.891632 
   mem[10'h287]=16'hc7d0; //Val=0.890259 
   mem[10'h289]=16'hc71c; //Val=0.888885 
   mem[10'h28b]=16'hc669; //Val=0.887512 
   mem[10'h28d]=16'hc5b6; //Val=0.886154 
   mem[10'h28f]=16'hc504; //Val=0.884796 
   mem[10'h291]=16'hc453; //Val=0.883438 
   mem[10'h293]=16'hc3a3; //Val=0.882095 
   mem[10'h295]=16'hc2f4; //Val=0.880768 
   mem[10'h297]=16'hc245; //Val=0.879425 
   mem[10'h299]=16'hc198; //Val=0.878113 
   mem[10'h29b]=16'hc0eb; //Val=0.876785 
   mem[10'h29d]=16'hc03f; //Val=0.875473 
   mem[10'h29f]=16'hbf93; //Val=0.874161 
   mem[10'h2a1]=16'hbee9; //Val=0.872864 
   mem[10'h2a3]=16'hbe3f; //Val=0.871567 
   mem[10'h2a5]=16'hbd96; //Val=0.870285 
   mem[10'h2a7]=16'hbced; //Val=0.868988 
   mem[10'h2a9]=16'hbc46; //Val=0.867722 
   mem[10'h2ab]=16'hbb9f; //Val=0.866440 
   mem[10'h2ad]=16'hbaf8; //Val=0.865173 
   mem[10'h2af]=16'hba53; //Val=0.863907 
   mem[10'h2b1]=16'hb9ae; //Val=0.862656 
   mem[10'h2b3]=16'hb90a; //Val=0.861404 
   mem[10'h2b5]=16'hb867; //Val=0.860153 
   mem[10'h2b7]=16'hb7c5; //Val=0.858917 
   mem[10'h2b9]=16'hb723; //Val=0.857681 
   mem[10'h2bb]=16'hb681; //Val=0.856445 
   mem[10'h2bd]=16'hb5e1; //Val=0.855225 
   mem[10'h2bf]=16'hb541; //Val=0.854004 
   mem[10'h2c1]=16'hb4a2; //Val=0.852798 
   mem[10'h2c3]=16'hb404; //Val=0.851593 
   mem[10'h2c5]=16'hb366; //Val=0.850388 
   mem[10'h2c7]=16'hb2c9; //Val=0.849182 
   mem[10'h2c9]=16'hb22c; //Val=0.847992 
   mem[10'h2cb]=16'hb191; //Val=0.846802 
   mem[10'h2cd]=16'hb0f5; //Val=0.845612 
   mem[10'h2cf]=16'hb05b; //Val=0.844437 
   mem[10'h2d1]=16'hafc1; //Val=0.843262 
   mem[10'h2d3]=16'haf28; //Val=0.842102 
   mem[10'h2d5]=16'hae8f; //Val=0.840927 
   mem[10'h2d7]=16'hadf7; //Val=0.839767 
   mem[10'h2d9]=16'had60; //Val=0.838623 
   mem[10'h2db]=16'hacc9; //Val=0.837463 
   mem[10'h2dd]=16'hac33; //Val=0.836319 
   mem[10'h2df]=16'hab9e; //Val=0.835190 
   mem[10'h2e1]=16'hab09; //Val=0.834045 
   mem[10'h2e3]=16'haa75; //Val=0.832916 
   mem[10'h2e5]=16'ha9e1; //Val=0.831787 
   mem[10'h2e7]=16'ha94e; //Val=0.830673 
   mem[10'h2e9]=16'ha8bc; //Val=0.829559 
   mem[10'h2eb]=16'ha82a; //Val=0.828445 
   mem[10'h2ed]=16'ha799; //Val=0.827332 
   mem[10'h2ef]=16'ha708; //Val=0.826233 
   mem[10'h2f1]=16'ha678; //Val=0.825134 
   mem[10'h2f3]=16'ha5e8; //Val=0.824036 
   mem[10'h2f5]=16'ha559; //Val=0.822937 
   mem[10'h2f7]=16'ha4cb; //Val=0.821854 
   mem[10'h2f9]=16'ha43d; //Val=0.820770 
   mem[10'h2fb]=16'ha3b0; //Val=0.819702 
   mem[10'h2fd]=16'ha323; //Val=0.818619 
   mem[10'h2ff]=16'ha297; //Val=0.817551 
   mem[10'h301]=16'ha20b; //Val=0.816483 
   mem[10'h303]=16'ha180; //Val=0.815430 
   mem[10'h305]=16'ha0f6; //Val=0.814377 
   mem[10'h307]=16'ha06c; //Val=0.813324 
   mem[10'h309]=16'h9fe2; //Val=0.812271 
   mem[10'h30b]=16'h9f59; //Val=0.811218 
   mem[10'h30d]=16'h9ed1; //Val=0.810181 
   mem[10'h30f]=16'h9e49; //Val=0.809143 
   mem[10'h311]=16'h9dc2; //Val=0.808121 
   mem[10'h313]=16'h9d3b; //Val=0.807083 
   mem[10'h315]=16'h9cb4; //Val=0.806061 
   mem[10'h317]=16'h9c2f; //Val=0.805038 
   mem[10'h319]=16'h9ba9; //Val=0.804016 
   mem[10'h31b]=16'h9b25; //Val=0.803009 
   mem[10'h31d]=16'h9aa0; //Val=0.802002 
   mem[10'h31f]=16'h9a1c; //Val=0.800995 
   mem[10'h321]=16'h9999; //Val=0.799988 
   mem[10'h323]=16'h9916; //Val=0.798996 
   mem[10'h325]=16'h9894; //Val=0.798004 
   mem[10'h327]=16'h9812; //Val=0.797012 
   mem[10'h329]=16'h9791; //Val=0.796021 
   mem[10'h32b]=16'h9710; //Val=0.795044 
   mem[10'h32d]=16'h968f; //Val=0.794052 
   mem[10'h32f]=16'h960f; //Val=0.793076 
   mem[10'h331]=16'h9590; //Val=0.792114 
   mem[10'h333]=16'h9511; //Val=0.791138 
   mem[10'h335]=16'h9492; //Val=0.790176 
   mem[10'h337]=16'h9414; //Val=0.789215 
   mem[10'h339]=16'h9397; //Val=0.788254 
   mem[10'h33b]=16'h931a; //Val=0.787308 
   mem[10'h33d]=16'h929d; //Val=0.786346 
   mem[10'h33f]=16'h9221; //Val=0.785400 
   mem[10'h341]=16'h91a5; //Val=0.784454 
   mem[10'h343]=16'h9129; //Val=0.783508 
   mem[10'h345]=16'h90af; //Val=0.782578 
   mem[10'h347]=16'h9034; //Val=0.781647 
   mem[10'h349]=16'h8fba; //Val=0.780716 
   mem[10'h34b]=16'h8f40; //Val=0.779785 
   mem[10'h34d]=16'h8ec7; //Val=0.778854 
   mem[10'h34f]=16'h8e4f; //Val=0.777939 
   mem[10'h351]=16'h8dd6; //Val=0.777023 
   mem[10'h353]=16'h8d5e; //Val=0.776108 
   mem[10'h355]=16'h8ce7; //Val=0.775192 
   mem[10'h357]=16'h8c70; //Val=0.774292 
   mem[10'h359]=16'h8bf9; //Val=0.773376 
   mem[10'h35b]=16'h8b83; //Val=0.772476 
   mem[10'h35d]=16'h8b0d; //Val=0.771576 
   mem[10'h35f]=16'h8a98; //Val=0.770691 
   mem[10'h361]=16'h8a23; //Val=0.769791 
   mem[10'h363]=16'h89ae; //Val=0.768906 
   mem[10'h365]=16'h893a; //Val=0.768021 
   mem[10'h367]=16'h88c6; //Val=0.767136 
   mem[10'h369]=16'h8853; //Val=0.766251 
   mem[10'h36b]=16'h87e0; //Val=0.765381 
   mem[10'h36d]=16'h876d; //Val=0.764496 
   mem[10'h36f]=16'h86fb; //Val=0.763626 
   mem[10'h371]=16'h8689; //Val=0.762756 
   mem[10'h373]=16'h8618; //Val=0.761902 
   mem[10'h375]=16'h85a7; //Val=0.761032 
   mem[10'h377]=16'h8536; //Val=0.760178 
   mem[10'h379]=16'h84c6; //Val=0.759323 
   mem[10'h37b]=16'h8456; //Val=0.758469 
   mem[10'h37d]=16'h83e7; //Val=0.757614 
   mem[10'h37f]=16'h8377; //Val=0.756760 
   mem[10'h381]=16'h8309; //Val=0.755920 
   mem[10'h383]=16'h829a; //Val=0.755081 
   mem[10'h385]=16'h822c; //Val=0.754242 
   mem[10'h387]=16'h81bf; //Val=0.753403 
   mem[10'h389]=16'h8151; //Val=0.752563 
   mem[10'h38b]=16'h80e4; //Val=0.751740 
   mem[10'h38d]=16'h8078; //Val=0.750916 
   mem[10'h38f]=16'h800c; //Val=0.750092 
   mem[10'h391]=16'h7fa0; //Val=0.749268 
   mem[10'h393]=16'h7f34; //Val=0.748444 
   mem[10'h395]=16'h7ec9; //Val=0.747620 
   mem[10'h397]=16'h7e5e; //Val=0.746811 
   mem[10'h399]=16'h7df4; //Val=0.746002 
   mem[10'h39b]=16'h7d8a; //Val=0.745193 
   mem[10'h39d]=16'h7d20; //Val=0.744385 
   mem[10'h39f]=16'h7cb6; //Val=0.743576 
   mem[10'h3a1]=16'h7c4d; //Val=0.742767 
   mem[10'h3a3]=16'h7be5; //Val=0.741974 
   mem[10'h3a5]=16'h7b7c; //Val=0.741180 
   mem[10'h3a7]=16'h7b14; //Val=0.740387 
   mem[10'h3a9]=16'h7aac; //Val=0.739594 
   mem[10'h3ab]=16'h7a45; //Val=0.738800 
   mem[10'h3ad]=16'h79de; //Val=0.738022 
   mem[10'h3af]=16'h7977; //Val=0.737228 
   mem[10'h3b1]=16'h7911; //Val=0.736450 
   mem[10'h3b3]=16'h78ab; //Val=0.735672 
   mem[10'h3b5]=16'h7845; //Val=0.734894 
   mem[10'h3b7]=16'h77df; //Val=0.734116 
   mem[10'h3b9]=16'h777a; //Val=0.733353 
   mem[10'h3bb]=16'h7715; //Val=0.732574 
   mem[10'h3bd]=16'h76b1; //Val=0.731812 
   mem[10'h3bf]=16'h764d; //Val=0.731049 
   mem[10'h3c1]=16'h75e9; //Val=0.730286 
   mem[10'h3c3]=16'h7585; //Val=0.729523 
   mem[10'h3c5]=16'h7522; //Val=0.728775 
   mem[10'h3c7]=16'h74bf; //Val=0.728012 
   mem[10'h3c9]=16'h745d; //Val=0.727264 
   mem[10'h3cb]=16'h73fa; //Val=0.726517 
   mem[10'h3cd]=16'h7398; //Val=0.725769 
   mem[10'h3cf]=16'h7337; //Val=0.725021 
   mem[10'h3d1]=16'h72d5; //Val=0.724274 
   mem[10'h3d3]=16'h7274; //Val=0.723541 
   mem[10'h3d5]=16'h7213; //Val=0.722794 
   mem[10'h3d7]=16'h71b3; //Val=0.722061 
   mem[10'h3d9]=16'h7152; //Val=0.721329 
   mem[10'h3db]=16'h70f2; //Val=0.720596 
   mem[10'h3dd]=16'h7093; //Val=0.719864 
   mem[10'h3df]=16'h7033; //Val=0.719131 
   mem[10'h3e1]=16'h6fd4; //Val=0.718414 
   mem[10'h3e3]=16'h6f76; //Val=0.717697 
   mem[10'h3e5]=16'h6f17; //Val=0.716965 
   mem[10'h3e7]=16'h6eb9; //Val=0.716248 
   mem[10'h3e9]=16'h6e5b; //Val=0.715530 
   mem[10'h3eb]=16'h6dfd; //Val=0.714813 
   mem[10'h3ed]=16'h6da0; //Val=0.714111 
   mem[10'h3ef]=16'h6d43; //Val=0.713394 
   mem[10'h3f1]=16'h6ce6; //Val=0.712692 
   mem[10'h3f3]=16'h6c8a; //Val=0.711990 
   mem[10'h3f5]=16'h6c2d; //Val=0.711273 
   mem[10'h3f7]=16'h6bd1; //Val=0.710571 
   mem[10'h3f9]=16'h6b76; //Val=0.709885 
   mem[10'h3fb]=16'h6b1a; //Val=0.709183 
   mem[10'h3fd]=16'h6abf; //Val=0.708481 
   mem[10'h3ff]=16'h6a64; //Val=0.707794 


 /***************************
  * Table for 1/sqrt (Evn) 2:(4-e) 
  ***************************/
   mem[10'h200]=16'h6a09; //Val=0.707092 
   mem[10'h202]=16'h6955; //Val=0.705719 
   mem[10'h204]=16'h68a1; //Val=0.704346 
   mem[10'h206]=16'h67ef; //Val=0.702988 
   mem[10'h208]=16'h673e; //Val=0.701645 
   mem[10'h20a]=16'h668d; //Val=0.700287 
   mem[10'h20c]=16'h65de; //Val=0.698959 
   mem[10'h20e]=16'h6530; //Val=0.697632 
   mem[10'h210]=16'h6482; //Val=0.696304 
   mem[10'h212]=16'h63d6; //Val=0.694992 
   mem[10'h214]=16'h632b; //Val=0.693680 
   mem[10'h216]=16'h6280; //Val=0.692383 
   mem[10'h218]=16'h61d7; //Val=0.691086 
   mem[10'h21a]=16'h612e; //Val=0.689804 
   mem[10'h21c]=16'h6087; //Val=0.688522 
   mem[10'h21e]=16'h5fe0; //Val=0.687256 
   mem[10'h220]=16'h5f3a; //Val=0.685989 
   mem[10'h222]=16'h5e95; //Val=0.684723 
   mem[10'h224]=16'h5df1; //Val=0.683472 
   mem[10'h226]=16'h5d4e; //Val=0.682236 
   mem[10'h228]=16'h5cac; //Val=0.681000 
   mem[10'h22a]=16'h5c0b; //Val=0.679764 
   mem[10'h22c]=16'h5b6b; //Val=0.678543 
   mem[10'h22e]=16'h5acb; //Val=0.677322 
   mem[10'h230]=16'h5a2c; //Val=0.676117 
   mem[10'h232]=16'h598f; //Val=0.674911 
   mem[10'h234]=16'h58f2; //Val=0.673721 
   mem[10'h236]=16'h5855; //Val=0.672516 
   mem[10'h238]=16'h57ba; //Val=0.671341 
   mem[10'h23a]=16'h5720; //Val=0.670166 
   mem[10'h23c]=16'h5686; //Val=0.668991 
   mem[10'h23e]=16'h55ed; //Val=0.667816 
   mem[10'h240]=16'h5555; //Val=0.666656 
   mem[10'h242]=16'h54be; //Val=0.665512 
   mem[10'h244]=16'h5427; //Val=0.664352 
   mem[10'h246]=16'h5391; //Val=0.663208 
   mem[10'h248]=16'h52fc; //Val=0.662079 
   mem[10'h24a]=16'h5268; //Val=0.660950 
   mem[10'h24c]=16'h51d5; //Val=0.659821 
   mem[10'h24e]=16'h5142; //Val=0.658707 
   mem[10'h250]=16'h50b0; //Val=0.657593 
   mem[10'h252]=16'h501f; //Val=0.656479 
   mem[10'h254]=16'h4f8e; //Val=0.655380 
   mem[10'h256]=16'h4efe; //Val=0.654282 
   mem[10'h258]=16'h4e6f; //Val=0.653183 
   mem[10'h25a]=16'h4de1; //Val=0.652100 
   mem[10'h25c]=16'h4d53; //Val=0.651016 
   mem[10'h25e]=16'h4cc6; //Val=0.649948 
   mem[10'h260]=16'h4c3a; //Val=0.648880 
   mem[10'h262]=16'h4baf; //Val=0.647812 
   mem[10'h264]=16'h4b24; //Val=0.646759 
   mem[10'h266]=16'h4a9a; //Val=0.645706 
   mem[10'h268]=16'h4a10; //Val=0.644653 
   mem[10'h26a]=16'h4987; //Val=0.643600 
   mem[10'h26c]=16'h48ff; //Val=0.642563 
   mem[10'h26e]=16'h4878; //Val=0.641541 
   mem[10'h270]=16'h47f1; //Val=0.640503 
   mem[10'h272]=16'h476b; //Val=0.639481 
   mem[10'h274]=16'h46e5; //Val=0.638458 
   mem[10'h276]=16'h4660; //Val=0.637451 
   mem[10'h278]=16'h45dc; //Val=0.636444 
   mem[10'h27a]=16'h4558; //Val=0.635437 
   mem[10'h27c]=16'h44d5; //Val=0.634430 
   mem[10'h27e]=16'h4453; //Val=0.633438 
   mem[10'h280]=16'h43d1; //Val=0.632446 
   mem[10'h282]=16'h434f; //Val=0.631454 
   mem[10'h284]=16'h42cf; //Val=0.630478 
   mem[10'h286]=16'h424f; //Val=0.629501 
   mem[10'h288]=16'h41cf; //Val=0.628525 
   mem[10'h28a]=16'h4151; //Val=0.627563 
   mem[10'h28c]=16'h40d2; //Val=0.626602 
   mem[10'h28e]=16'h4055; //Val=0.625641 
   mem[10'h290]=16'h3fd8; //Val=0.624695 
   mem[10'h292]=16'h3f5b; //Val=0.623734 
   mem[10'h294]=16'h3edf; //Val=0.622787 
   mem[10'h296]=16'h3e64; //Val=0.621857 
   mem[10'h298]=16'h3de9; //Val=0.620911 
   mem[10'h29a]=16'h3d6e; //Val=0.619980 
   mem[10'h29c]=16'h3cf5; //Val=0.619049 
   mem[10'h29e]=16'h3c7c; //Val=0.618134 
   mem[10'h2a0]=16'h3c03; //Val=0.617203 
   mem[10'h2a2]=16'h3b8b; //Val=0.616287 
   mem[10'h2a4]=16'h3b13; //Val=0.615372 
   mem[10'h2a6]=16'h3a9c; //Val=0.614471 
   mem[10'h2a8]=16'h3a26; //Val=0.613571 
   mem[10'h2aa]=16'h39b0; //Val=0.612671 
   mem[10'h2ac]=16'h393a; //Val=0.611771 
   mem[10'h2ae]=16'h38c5; //Val=0.610870 
   mem[10'h2b0]=16'h3851; //Val=0.609985 
   mem[10'h2b2]=16'h37dd; //Val=0.609100 
   mem[10'h2b4]=16'h3769; //Val=0.608215 
   mem[10'h2b6]=16'h36f6; //Val=0.607346 
   mem[10'h2b8]=16'h3684; //Val=0.606476 
   mem[10'h2ba]=16'h3612; //Val=0.605606 
   mem[10'h2bc]=16'h35a0; //Val=0.604736 
   mem[10'h2be]=16'h352f; //Val=0.603867 
   mem[10'h2c0]=16'h34bf; //Val=0.603012 
   mem[10'h2c2]=16'h344f; //Val=0.602158 
   mem[10'h2c4]=16'h33df; //Val=0.601303 
   mem[10'h2c6]=16'h3370; //Val=0.600464 
   mem[10'h2c8]=16'h3302; //Val=0.599625 
   mem[10'h2ca]=16'h3293; //Val=0.598770 
   mem[10'h2cc]=16'h3226; //Val=0.597946 
   mem[10'h2ce]=16'h31b9; //Val=0.597107 
   mem[10'h2d0]=16'h314c; //Val=0.596283 
   mem[10'h2d2]=16'h30df; //Val=0.595444 
   mem[10'h2d4]=16'h3074; //Val=0.594635 
   mem[10'h2d6]=16'h3008; //Val=0.593811 
   mem[10'h2d8]=16'h2f9d; //Val=0.592987 
   mem[10'h2da]=16'h2f33; //Val=0.592178 
   mem[10'h2dc]=16'h2ec8; //Val=0.591370 
   mem[10'h2de]=16'h2e5f; //Val=0.590561 
   mem[10'h2e0]=16'h2df6; //Val=0.589767 
   mem[10'h2e2]=16'h2d8d; //Val=0.588959 
   mem[10'h2e4]=16'h2d24; //Val=0.588165 
   mem[10'h2e6]=16'h2cbc; //Val=0.587372 
   mem[10'h2e8]=16'h2c55; //Val=0.586578 
   mem[10'h2ea]=16'h2bee; //Val=0.585800 
   mem[10'h2ec]=16'h2b87; //Val=0.585007 
   mem[10'h2ee]=16'h2b21; //Val=0.584229 
   mem[10'h2f0]=16'h2abb; //Val=0.583450 
   mem[10'h2f2]=16'h2a55; //Val=0.582672 
   mem[10'h2f4]=16'h29f0; //Val=0.581909 
   mem[10'h2f6]=16'h298b; //Val=0.581131 
   mem[10'h2f8]=16'h2927; //Val=0.580368 
   mem[10'h2fa]=16'h28c3; //Val=0.579605 
   mem[10'h2fc]=16'h2860; //Val=0.578857 
   mem[10'h2fe]=16'h27fd; //Val=0.578094 
   mem[10'h300]=16'h279a; //Val=0.577347 
   mem[10'h302]=16'h2738; //Val=0.576599 
   mem[10'h304]=16'h26d6; //Val=0.575851 
   mem[10'h306]=16'h2674; //Val=0.575104 
   mem[10'h308]=16'h2613; //Val=0.574356 
   mem[10'h30a]=16'h25b2; //Val=0.573624 
   mem[10'h30c]=16'h2552; //Val=0.572891 
   mem[10'h30e]=16'h24f2; //Val=0.572159 
   mem[10'h310]=16'h2492; //Val=0.571426 
   mem[10'h312]=16'h2432; //Val=0.570694 
   mem[10'h314]=16'h23d3; //Val=0.569962 
   mem[10'h316]=16'h2375; //Val=0.569244 
   mem[10'h318]=16'h2317; //Val=0.568527 
   mem[10'h31a]=16'h22b9; //Val=0.567810 
   mem[10'h31c]=16'h225b; //Val=0.567093 
   mem[10'h31e]=16'h21fe; //Val=0.566391 
   mem[10'h320]=16'h21a1; //Val=0.565674 
   mem[10'h322]=16'h2145; //Val=0.564972 
   mem[10'h324]=16'h20e8; //Val=0.564270 
   mem[10'h326]=16'h208d; //Val=0.563568 
   mem[10'h328]=16'h2031; //Val=0.562866 
   mem[10'h32a]=16'h1fd6; //Val=0.562180 
   mem[10'h32c]=16'h1f7b; //Val=0.561478 
   mem[10'h32e]=16'h1f21; //Val=0.560791 
   mem[10'h330]=16'h1ec7; //Val=0.560104 
   mem[10'h332]=16'h1e6d; //Val=0.559418 
   mem[10'h334]=16'h1e13; //Val=0.558731 
   mem[10'h336]=16'h1dba; //Val=0.558060 
   mem[10'h338]=16'h1d61; //Val=0.557373 
   mem[10'h33a]=16'h1d09; //Val=0.556702 
   mem[10'h33c]=16'h1cb1; //Val=0.556030 
   mem[10'h33e]=16'h1c59; //Val=0.555359 
   mem[10'h340]=16'h1c01; //Val=0.554688 
   mem[10'h342]=16'h1baa; //Val=0.554031 
   mem[10'h344]=16'h1b53; //Val=0.553360 
   mem[10'h346]=16'h1afc; //Val=0.552704 
   mem[10'h348]=16'h1aa6; //Val=0.552048 
   mem[10'h34a]=16'h1a50; //Val=0.551392 
   mem[10'h34c]=16'h19fa; //Val=0.550735 
   mem[10'h34e]=16'h19a5; //Val=0.550079 
   mem[10'h350]=16'h1950; //Val=0.549438 
   mem[10'h352]=16'h18fb; //Val=0.548782 
   mem[10'h354]=16'h18a7; //Val=0.548141 
   mem[10'h356]=16'h1853; //Val=0.547501 
   mem[10'h358]=16'h17ff; //Val=0.546860 
   mem[10'h35a]=16'h17ab; //Val=0.546219 
   mem[10'h35c]=16'h1758; //Val=0.545593 
   mem[10'h35e]=16'h1705; //Val=0.544952 
   mem[10'h360]=16'h16b2; //Val=0.544327 
   mem[10'h362]=16'h1660; //Val=0.543701 
   mem[10'h364]=16'h160d; //Val=0.543060 
   mem[10'h366]=16'h15bc; //Val=0.542450 
   mem[10'h368]=16'h156a; //Val=0.541824 
   mem[10'h36a]=16'h1519; //Val=0.541199 
   mem[10'h36c]=16'h14c8; //Val=0.540588 
   mem[10'h36e]=16'h1477; //Val=0.539963 
   mem[10'h370]=16'h1426; //Val=0.539352 
   mem[10'h372]=16'h13d6; //Val=0.538742 
   mem[10'h374]=16'h1386; //Val=0.538132 
   mem[10'h376]=16'h1337; //Val=0.537521 
   mem[10'h378]=16'h12e7; //Val=0.536911 
   mem[10'h37a]=16'h1298; //Val=0.536316 
   mem[10'h37c]=16'h1249; //Val=0.535706 
   mem[10'h37e]=16'h11fb; //Val=0.535110 
   mem[10'h380]=16'h11ac; //Val=0.534515 
   mem[10'h382]=16'h115e; //Val=0.533920 
   mem[10'h384]=16'h1111; //Val=0.533325 
   mem[10'h386]=16'h10c3; //Val=0.532730 
   mem[10'h388]=16'h1076; //Val=0.532150 
   mem[10'h38a]=16'h1029; //Val=0.531555 
   mem[10'h38c]=16'h0fdc; //Val=0.530975 
   mem[10'h38e]=16'h0f8f; //Val=0.530380 
   mem[10'h390]=16'h0f43; //Val=0.529800 
   mem[10'h392]=16'h0ef7; //Val=0.529221 
   mem[10'h394]=16'h0eab; //Val=0.528641 
   mem[10'h396]=16'h0e60; //Val=0.528076 
   mem[10'h398]=16'h0e15; //Val=0.527496 
   mem[10'h39a]=16'h0dca; //Val=0.526932 
   mem[10'h39c]=16'h0d7f; //Val=0.526352 
   mem[10'h39e]=16'h0d34; //Val=0.525787 
   mem[10'h3a0]=16'h0cea; //Val=0.525223 
   mem[10'h3a2]=16'h0ca0; //Val=0.524658 
   mem[10'h3a4]=16'h0c56; //Val=0.524094 
   mem[10'h3a6]=16'h0c0c; //Val=0.523529 
   mem[10'h3a8]=16'h0bc3; //Val=0.522964 
   mem[10'h3aa]=16'h0b7a; //Val=0.522415 
   mem[10'h3ac]=16'h0b31; //Val=0.521851 
   mem[10'h3ae]=16'h0ae8; //Val=0.521301 
   mem[10'h3b0]=16'h0aa0; //Val=0.520752 
   mem[10'h3b2]=16'h0a58; //Val=0.520203 
   mem[10'h3b4]=16'h0a10; //Val=0.519653 
   mem[10'h3b6]=16'h09c8; //Val=0.519104 
   mem[10'h3b8]=16'h0981; //Val=0.518555 
   mem[10'h3ba]=16'h0939; //Val=0.518005 
   mem[10'h3bc]=16'h08f2; //Val=0.517471 
   mem[10'h3be]=16'h08ab; //Val=0.516922 
   mem[10'h3c0]=16'h0865; //Val=0.516388 
   mem[10'h3c2]=16'h081e; //Val=0.515854 
   mem[10'h3c4]=16'h07d8; //Val=0.515320 
   mem[10'h3c6]=16'h0792; //Val=0.514786 
   mem[10'h3c8]=16'h074d; //Val=0.514252 
   mem[10'h3ca]=16'h0707; //Val=0.513718 
   mem[10'h3cc]=16'h06c2; //Val=0.513199 
   mem[10'h3ce]=16'h067d; //Val=0.512665 
   mem[10'h3d0]=16'h0638; //Val=0.512146 
   mem[10'h3d2]=16'h05f3; //Val=0.511612 
   mem[10'h3d4]=16'h05af; //Val=0.511093 
   mem[10'h3d6]=16'h056a; //Val=0.510574 
   mem[10'h3d8]=16'h0526; //Val=0.510056 
   mem[10'h3da]=16'h04e2; //Val=0.509537 
   mem[10'h3dc]=16'h049f; //Val=0.509018 
   mem[10'h3de]=16'h045b; //Val=0.508499 
   mem[10'h3e0]=16'h0418; //Val=0.507996 
   mem[10'h3e2]=16'h03d5; //Val=0.507477 
   mem[10'h3e4]=16'h0392; //Val=0.506973 
   mem[10'h3e6]=16'h0350; //Val=0.506470 
   mem[10'h3e8]=16'h030d; //Val=0.505951 
   mem[10'h3ea]=16'h02cb; //Val=0.505447 
   mem[10'h3ec]=16'h0289; //Val=0.504944 
   mem[10'h3ee]=16'h0247; //Val=0.504440 
   mem[10'h3f0]=16'h0206; //Val=0.503952 
   mem[10'h3f2]=16'h01c4; //Val=0.503448 
   mem[10'h3f4]=16'h0183; //Val=0.502945 
   mem[10'h3f6]=16'h0142; //Val=0.502457 
   mem[10'h3f8]=16'h0101; //Val=0.501953 
   mem[10'h3fa]=16'h00c0; //Val=0.501465 
   mem[10'h3fc]=16'h0080; //Val=0.500977 
   mem[10'h3fe]=16'h0040; //Val=0.500488 
end

endmodule