Altera_Forum
Honored Contributor
16 years agochoosing default synthesis for arithmatic operators
Hello all,
I have some verilog code that has many basic arithmatic symbols in it (+,-,*,/). Obviously the simple and perhaps also wise thing to do is to replace such operators with Mega-Wizard modules but I have many of them and not allways in the same bit size. my problem is this: most of the calculations are with signed (2's complement) numbers and I want to set the default synthesis of operators as signed operations. this way I would know for sure - no matter what board I'm using that when I write a+b it's synthesized as signed adder. PS the same goes also to simulations in Modelsim if anyone knows. Thanks, Ayal