S
Shenli
Guest
Hi all,
I am reading "Coding Guidelines for Datapath Synthesis" from Synopsys.
And I am confused with "expression width".
In below example, what's "expression width is 10 bits" mean? Is a and b
extended automatically? What circuit will be synthesized?
//--Verilog Start---
input [3:0] a;
input [7:0] b;
output [9:0] z;
assign z = a * b; // expression width is 10 bits
//--Verilog End---
Best regards,
Shenli
I am reading "Coding Guidelines for Datapath Synthesis" from Synopsys.
And I am confused with "expression width".
In below example, what's "expression width is 10 bits" mean? Is a and b
extended automatically? What circuit will be synthesized?
//--Verilog Start---
input [3:0] a;
input [7:0] b;
output [9:0] z;
assign z = a * b; // expression width is 10 bits
//--Verilog End---
Best regards,
Shenli