OpenCores
URL https://opencores.org/ocsvn/rs_encoder_decoder/rs_encoder_decoder/trunk

Subversion Repositories rs_encoder_decoder

[/] [rs_encoder_decoder/] [rtl/] [GF8tmmult.v] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 farooq21
// This is a verilog File Generated
2
// By The C++ program That Generates
3
// An Gallios Field Generic 
4
// Bit Serial Hardware Multiplier
5
 
6
module GF8tmmult(clk_i, rst_i,
7
  en_i,       // Valid Input Set it to High When giving the input
8
  tmmult_i,   // Gallios Field Generic Bit Serial Multiplier output
9
  tmmult_o   // Gallios Field Generic Bit Serial Multiplier output
10
  );
11
  // Inputs are declared here
12
  input clk_i,rst_i;                    // Clock and Reset Declaration
13
  input en_i;
14
  input [7:0] tmmult_i;
15
  output wire [7:0] tmmult_o;
16
 
17
  // Declaration of Wires 
18
  wire [7:0] lfsr;
19
  GF8lfsr LFSR(.clk_i(clk_i), .rst_i(rst_i),
20
    .en_i(en_i), // Valid Input Set it to High When giving the input
21
    .lfsr_o(lfsr)   // Gallios Field Generic Bit Serial Multiplier output
22
  );
23
 
24
  GF8GenMult MULT(
25
    .mult_i1(lfsr),
26
    .mult_i2(tmmult_reg),
27
    .mult_o(tmmult_o));
28
 
29
endmodule

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.