Xilinx ISE6.1 Verilog `define macro?

H

Hakjs

Guest
I tried something like

`define MINIMUM2(x,y) (((x)<(y))?(x):(y))
`define MINIMUM3(x,y,z) `MINIMUM2(`MINIMUM2(x,y),z)

This worked fine in Modelsim Verilog simulator, but Xilinx ISE6.1i's
XST (synthesis) didn't seem to like it...

Am I doing something wrong?
 

Welcome to EDABoard.com

Sponsor

Back
Top