W
walala
Guest
Dear all,
I am facing with the following problem:
I have a temporary variable "temp", 24 bits wide, 23 downto 0,
I want to divide it by 65536, that's to say, take the bit 23 downto
bit 16(the first 8 bits)... but I would like also to have a rounding
after the division...
Can I just use Y<=round(temp/65536) and let the Synopsys DC to work
out that for me?
I know normally Synthesis tool won't take division, but how about a
division by two's power?
Thanks a lot,
-Walala
I am facing with the following problem:
I have a temporary variable "temp", 24 bits wide, 23 downto 0,
I want to divide it by 65536, that's to say, take the bit 23 downto
bit 16(the first 8 bits)... but I would like also to have a rounding
after the division...
Can I just use Y<=round(temp/65536) and let the Synopsys DC to work
out that for me?
I know normally Synthesis tool won't take division, but how about a
division by two's power?
Thanks a lot,
-Walala