Buy latest IEEE projects of 2018 online with base paper abstract Schematic Diagram and the main thing is code. All the things you will be found here with less cost. Price ranges from Rs.50-2000 depending on the project. We Mainly focus on Embedded VLSI and Matlab Projects. CSE and IT Projects are also Focused.

Sunday, May 7, 2017

Verilog HDL Implementation of the Trelis Memory for Viterbi Decoder

Verilog code  Trelis Memory Viterbi Encoder

module mem
(
   clk,
   wr,
   addr,
   d_i,
   d_o
);

   input                clk;
   input                wr;
   input       [9:0]    addr;
   input       [7:0]    d_i;
   output reg  [7:0]    d_o;
 
   reg         [7:0]    mem   [1023:0];
initial
begin
mem[addr] <= 0;
end


   always @ (posedge clk)
   begin
      if(wr)
         mem[addr]   <= d_i;
      d_o  <=  mem[addr];
         
   end
endmodule

No comments:

Post a Comment

Blog Views