Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDevide in VHLD
I want to implement this function : A<= B/x"A", when I compile, the Quartus put a notice: "/" used but didn't declare. When I try with "*" (multiply) or "+" (add), it is ok. I don't know this er...
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- two methods: 1. result <= (not result) + 1; 2. (probably easiest) result <= -result; (this will probably result in the same hardware as above when synthesised). --- Quote End --- Oh. It's so easy but I don't find out. Thank Tricky very much. Thanks Daixiwen for your usefull information.