siva_7517
Full Member level 2

verilog fixed point
Hi,
In fixed-point multiplication, we should add an extended sign bit in the multiplication process . Example below:
1.110 -0.25 B
X 0.110 0.75 C
-------------------------
0000
111110
11110
0000
-----------------------------
11110100 -0.1875 A
I have try to do a verilog as below:
assign A = B * C
But i dont have an idea on how to do a extended bit in verilog. Hope can help me on this.
Thank in advance.
Hi,
In fixed-point multiplication, we should add an extended sign bit in the multiplication process . Example below:
1.110 -0.25 B
X 0.110 0.75 C
-------------------------
0000
111110
11110
0000
-----------------------------
11110100 -0.1875 A
I have try to do a verilog as below:
assign A = B * C
But i dont have an idea on how to do a extended bit in verilog. Hope can help me on this.
Thank in advance.