image1 image2 image3

HELLO I'M LiNuS|WELCOME TO MY PERSONAL BLOG|I LOVE TO DO CREATIVE THINGS|I PRESENT MY WORKS ON VLSI AND EMBEDDED

Shifting left

Shifting Left


Block diagram of Shifting Left


Figure.1 Block Diagram of Shifting Left



VERILOG Code

module shifting_left(
    output reg [31:0] Y,
    input [31:0] X/*,
input clock*/
    );
always @(/*posedge clock*/X)
begin
Y <= X<<2;
end

endmodule



Theoretical Results
Inputs: X = 32’b11111000000000000000011111001111
Outputs: Y = 32’b11100000000000000001111100111100



Simulation Result for Shifting Left


Figure.2 Simulation results for Shifting Left


Share this:

CONVERSATION

1 comments:

  1. Casino & Slot Machines | DrmCD
    Explore a 경주 출장안마 fun Casino 논산 출장샵 and Slot Machine experience on DrmCD. 울산광역 출장샵 Explore hundreds of 경기도 출장샵 other great Casino and Slot Machine Games and get your Casino Bonus! 여수 출장샵 Play the Casino

    ReplyDelete