abdalla
Member level 4
please i`m asking about this code
.......
always@(CLK)
begin
out<=in1*in2;
end
.........
or.
.......
always@(CLK)
begin
out<=in1<<in2;
end
.........
when i synsthiess those code no problem and no error how...as i know thoses functions need many clk cycles to be done for example left shifting for 4 digit need at least 4 clk ..but in the simulation(modelsim) the result is shifted 4 digit in one cycle only
.......
always@(CLK)
begin
out<=in1*in2;
end
.........
or.
.......
always@(CLK)
begin
out<=in1<<in2;
end
.........
when i synsthiess those code no problem and no error how...as i know thoses functions need many clk cycles to be done for example left shifting for 4 digit need at least 4 clk ..but in the simulation(modelsim) the result is shifted 4 digit in one cycle only