Coder Social home page Coder Social logo

mmx's Introduction

MMX - Miner Manager with Exstension

Miner Manager is a stratum task generator firmware that fit FPGA and ASIC miners.

Main objectives

  • It is using stratum protocol
  • It generate the tasks (block headers) inside FPGA. all Double-SHA256 was done by FPGA, far more faster than CPU.
  • Test the nonce inside the FPGA. only report the >= DIFF tasks back to the host (CGMiner)
  • It fits any kinds of stratum mining ASIC, (you may needs some VerilogHDL coding)
  • It has a LM32 CPU inside, fit in XC6SLX16 small FPGAs
  • The MM datasheet: http://downloads.canaan-creative.com/software/mm/MM_SOC_Specification.pdf

Directory structure

  • firmware: C codes running in LatticeMico32 soft processor
  • ipcores_dir: IP cores
  • synth: Directory for synthesize and build of the hardware part
  • verilog: The VerilogHDL source code

How to build?

First you need install the ISE for sure. then edit the isedir under xilinx.mk by default we are using /home/Xilinx/14.6/ISE_DS/

For build the toolchain for lm32-rtems, it meets some problems with gcc-5.2.1 under Ubuntu and gcc-4.9.2 under Debian, for fix that, just switch to gcc-4.8 with CC=gcc=4.8 make ... and you also need texinfo_4.13a for fix the gdb build.

  1. $ make -C firmware/toolchain # Install the lm32-rtems-4.11- toolchain under /opt
  2. $ make -C firmware # Generate the final bitstream file .bit/.mcs under firmware/
  3. $ make -C firmware load # Load the config bit file to FPAG by using Xilix Platform cable

Discussion

Support

  • TBD.

License

This is free and unencumbered public domain software. For more information, see http://unlicense.org/ or the accompanying UNLICENSE file.

Files under verilog/superkdf9/ have their own license (Lattice Semi- conductor Corporation Open Source License Agreement).

Some files may have their own license disclaim by the author.

mmx's People

Contributors

xiangfu avatar qinfengling avatar wenbinchen avatar forkye avatar xzxembedded avatar

Watchers

James Cloos 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.