GithubHelp home page GithubHelp logo

pushp360 / hdl-secded-producer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from idoka/hdl-secded-producer

1.0 0.0 0.0 8 KB

MATLAB/Octave generator of Hamming ECC coding. Output format is Verilog HDL.

Home Page: http://idoka.ru/verilog-ecc-generator/

License: MIT License

MATLAB 70.61% Makefile 29.39%

hdl-secded-producer's Introduction

HDL SEC/DED Producer

MATLAB/Octave generator of Hamming ECC coder/decoder. Output format is Verilog HDL. Optional adding atop Hamming Coding extra parity bit we have a Single Error Correction/Double Error Detection (SEC/DED) algorithm.

๐Ÿ’ก
Russian description available here: http://idoka.ru/verilog-secded-generator/
๐Ÿ”ฅ
Now available online version of generator http://idoka.ru/verilog-ecc-generator/

Synopsis

Getting Started

Prerequisites

You need installed on your host:

  • MatLab

    or

  • GNU Octave

The GNU Octave required additional toolboxes, under RHEL/CentOS 6/7 systems please type for installs required prerequisites:

$ sudo yum install -y  octave-devel
$ octave
octave:> pkg install -forge control
octave:> pkg install -forge signal
octave:> pkg install -forge -verbose communications
๐Ÿ“Ž
for control package installing Octave version should be >= 3.6.0

Installing

Not needed to install

Usage

Just type (by default run matlab target):

make

or if you can forcibly specify target (if you decide which tool will be use):

make matlab

or

make octave

Naming conventions and Integrators guide

  • (2m-1, 2m-m-1, 3) - for standard Hamming codes

  • (2m, 2m-m-1, 4) - for SED/DED codes

  • Using template (n,k,d) where is:

    • n = d + k + m; where:

      • m - extracted from Hammgen() function, in fact this is width of correction bits

    • k - user data width (which should be under ECC protection)

    • d = 3 + SECDED_parity_bit_if_used; where 3 - is Hamming distance

The module named with following sheme:
  • HammingCoder_n_k_d()

  • HammingDecoder_n_k_d()

  • e.g.:

    • ..72_64_4

    • ..71_64_3

    • ..39_32_4

    • ..38_32_3

    • ..26_20_4

    • ..25_20_3

File named with following sheme:
  • HammingCode_kbit.v

  • e.g.:

    • HammingCode_20bit.v

    • HammingCode_64bit.v

    • etc..

ToDo

  • Verilog module naming according to the data width

Contributors

Please read CONTRIBUTING.adoc for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details

hdl-secded-producer's People

Contributors

idoka avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.