Giter VIP home page Giter VIP logo

fpga-blakecoin-miner's Issues

No proper testing task defined for icarus board

There are 2 patches to cgminer of different versions.
They conflict to each other.
One patch to cgminer 3.1.1
FPGA-Blakecoin-Miner/cgminer/cgminer-3.1.1/driver-icarus.c says

`/* Blakecoin detection hash
N.B. golden_ob MUST take less time to calculate than the timeout set in icarus_open()
0000007002685447273026edebf62cf5e17454f35cc7b1f2da57caeb008cf4fb00000000dad683f2975c7e00a8088275099c69a3c589916aaa9c7c2501d136c1bf78422d5256fbaa1c01d9d1b48b4600000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
{ midstate, data } = { 256'h553bf521cf6f816d21b2e3c660f29469f8b6ae935291176ef5dda6fe442ca6e4, 96'hd1d9011caafb56522d4278bf };
*/
const char golden_ob[] =
"553bf521cf6f816d21b2e3c660f29469"
"f8b6ae935291176ef5dda6fe442ca6e4"
"00000000000000000000000000000000"
"00000000d1d9011caafb56522d4278bf";

const char golden_nonce[] = "00468bb4";
const uint32_t golden_nonce_val = 0x00468bb4;

`
Another patch is for 3.4.3
FPGA-Blakecoin-Miner/cgminer/cgminer-3.4.3/driver-icarus.c

` /* Blakecoin detection hash
N.B. golden_ob MUST take less time to calculate than the timeout set in icarus_open()
0000007002685447273026edebf62cf5e17454f35cc7b1f2da57caeb008cf4fb00000000dad683f2975c7e00a8088275099c69a3c589916aaa9c7c2501d136c1bf78422d5256fbaa1c01d9d1b48b4600000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
{ midstate, data } = { 256'h553bf521cf6f816d21b2e3c660f29469f8b6ae935291176ef5dda6fe442ca6e4, 96'hd1d9011caafb56522d4278bf };
*/
const char golden_ob[] =
"553bf521cf6f816d21b2e3c660f29469"
"f8b6ae935291176ef5dda6fe442ca6e4"
"00000000000000000000000000000000"
"00000000d1d9011caafb56522d4278bf";

const char golden_nonce[] = "000187a2";
const uint32_t golden_nonce_val = 0x000187a2;`

So SAME data in icarus detection code BUT DIFFERENT NONCES!!!!!!!
Which one is correct? Not clear.

MOST AWFUL that when those data are inserted into verilog testbench then board does not detect nonce!

LX150-Unrolled/test_blakeminer.v
Has a line for tested task
reg [415:0] data = 416'h000007ffffbd9207ffff001e11f35052d554469e3171e6831d493f45254964259bc31bade1b5bb1ae3c327bc54073d19f0ea633b;

And this task works properly in simulator ().
Also same line is used to set data directly into
FPGA-Blakecoin-Miner/experimental/LX150-Unrolled/serial.v

``ifdef SIM // Sane data for simulation - NB disable if simulating serial data loading
assign target = input_copy[415:384]; // Not needed since no RxD_data_ready strobe to load targetreg
assign data1 = 256'h3171e6831d493f45254964259bc31bade1b5bb1ae3c327bc54073d19f0ea633b; // midstate
assign data2 = 128'hffbd9207ffff001e11f35052d554469e; // NB ffbd9207 is loaded into nonce
// assign data2 = 128'hffbd9206ffff001e11f35052d554469e; // Test using prior nonce ffbd9206
else

BUT when midstate and data from cgminer C source inserted into testmench then simulator shows that board is not detected - NONCE NOT FOUND..

When midstate and data taken from generated FPGA-Blakecoin-Miner/MiningSoftware/testblakeminer.py
data - THEN verilog simulator shows that NONCE is FOUND properly.

Question Please

Hello Kramble. I am looking for someone to do some developing for a FPGA project for MaxCoin. I was told by the MAX devs that MAX is forked from Blakecoin and that you are a particularly talented programmer that might be able to help us out. Is there a way I can contact you privately about this issue without me posting my email? Thank you for your time.

Ztex 1.15x

All Ztex links are down (error 404). Can you upload bitstream for Ztex 1.15x fpga, please?

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.