Z
zigi
Guest
Hi All
I've received some Verilog code that I'm trying to figure out. In the
code there is an assignment from a long vector into a short vector:
reg [81:0] long_reg;
reg [25:0] short_reg;
....
....
....
short_reg <= long_reg;
I know that if I would write that in VHDL the synthisizer would not
let it slide. How does Verilog treat this? Is there a standard way?
How would Xilinx's XST treat this?
Thanks
Zigi
I've received some Verilog code that I'm trying to figure out. In the
code there is an assignment from a long vector into a short vector:
reg [81:0] long_reg;
reg [25:0] short_reg;
....
....
....
short_reg <= long_reg;
I know that if I would write that in VHDL the synthisizer would not
let it slide. How does Verilog treat this? Is there a standard way?
How would Xilinx's XST treat this?
Thanks
Zigi