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

Subversion Repositories reed_solomon_codec_generator

[/] [reed_solomon_codec_generator/] [trunk/] [source/] [RsEncode.cpp] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 issei
//===================================================================
2
// Module Name : RsEncode
3
// File Name   : RsEncode.cpp
4
// Function    : RTL Encoder Top instance
5
// 
6
// Revision History:
7
// Date          By           Version    Change Description
8
//===================================================================
9
// 2009/02/03  Gael Sapience     1.0       Original
10
//
11
//===================================================================
12
// (C) COPYRIGHT 2009 SYSTEM LSI CO., Ltd.
13
//
14
#include <stdio.h>
15
#include <stdlib.h>
16
#include <string.h>
17
 
18
void RsGfMultiplier( int*, int*,int*, int, int);
19
void RsEncodeTop( int, int, int, int, int*, int*, int*, int, int, char*);
20
void RsEncodeMakeData(int, int, int, int, int, int, int, int*, int*, int*, int, int, int, int, int, int, int, int, int, int, char*);
21
 
22
void RsEncode(int DataSize, int TotalSize, int PrimPoly, int bitSymbol, int ErasureOption, int BlockAmount, int ErrorRate, int *MrefTab, int *PrefTab, int *coeffTab, int errorStats,int passFailFlag,int delayDataIn,int encDecMode,int PowerErrorRate,int ErasureRate,int PowerErasureRate, int decBlockAmount, int pathFlag, int lengthPath, char *rootFolderPath) {
23
 
24
 
25
  //---------------------------------------------------------------
26
  // RS encode Top Module
27
  //---------------------------------------------------------------
28
  RsEncodeTop(DataSize, TotalSize, PrimPoly, bitSymbol, coeffTab, MrefTab, PrefTab, pathFlag, lengthPath, rootFolderPath);
29
 
30
 
31
  //---------------------------------------------------------------
32
  // RS encode MakeData
33
  //---------------------------------------------------------------
34
  RsEncodeMakeData(DataSize, TotalSize, PrimPoly, bitSymbol, ErasureOption, BlockAmount, ErrorRate, coeffTab, MrefTab, PrefTab, errorStats, passFailFlag, delayDataIn, encDecMode, PowerErrorRate, ErasureRate, PowerErasureRate, decBlockAmount, pathFlag, lengthPath, rootFolderPath);
35
 
36
 
37
}

powered by: WebSVN 2.1.0

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