Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to divide by a variable

Status
Not open for further replies.

Henne

IS-IT--Management
Jan 15, 2002
2
DE
In FPGA-Express there is the following error-message:'HDL-65 The second operand must be a constant in routine "/".'
But in my program, the 2nd operand must be a variable. How can I manage this problem?
 
I doubt FPGA express can create a divider for you.
Can you perform your addition using a shifter (divide by power of 2) and a subtractor?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top