Forum Discussion

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

VHDL code for simple calculation: b = 68 - (a/25)

I want to do a simple calculation in FPGA: b = 68 - (a/25) Anyone help me how can I write VHDL code for this calculation? I try write this code but it fails. Can anybody correct this code? ...