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

Fixed 1-bit Adder Block

Fixed 1-bit Adder Block (Increments the Instruction)

Block diagram of fixed 1-bit Adder block

Figure.1 Block diagram of fixed 1-bit adder block

VERILOG Code
      module adder_04(
                   output reg [31:0] Y,
                   input [31:0] X
                    );
       always @(X)
                   begin
                   Y <= X+32'h00000001;
                   end
       endmodule

Theoretical results
            Input               X <= 32'h84155641
            Output             Y <= 32’h84155642

Simulation Result for fixed 1-bit Adder block



Figure.2 Simulation Result for fixed 1-bit adder block


Share this:

CONVERSATION

0 comments:

Post a Comment