Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

vhdl -division program

hi to all

if anybody having coding for division please do help me

31 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    All you need to do is work out all 1024 possible values for xkcap0/20 and put them into a ROM. Then use xkcap0 to address into the ROM and multuply the output by fn(0)