Skip to content

jesstherobot/llbitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project: bitcoin

Description: a bitcoin implementation on an FPGA

-Communication between the FPGA and the host computer is through a serial port

-Communication string: in order to simplify communication with the HDL module, in order to detect data restart, ASCII will be used, this will also simplify the process of debugging, because data can be sent to the module on the command line
	-the format of the data is as follows

	-'L' 		: (1 byte) 		ID: identification character (this is chosen because it is not '0' - 'F' which is all the HEX values that can be sent to the core)
	-'0' - 'F'	: (1 byte) 		COMMAND: command byte (the commands haven't been defined yet, but there will be only 15 of them in this version)
	-'0' - 'F'	: (2 bytes) 	COUNT: the number of BYTES that will be received by the controller
	-'0' - 'F'	: (COUNT bytes) DATA: the data that will be sent to the device

	example:
	"L1100123456789ABCDEF"
		'L'
		'1' COMMAND 1 (TBD)
		'10' COUNT = 0x10 or 16
		'0123456789ABCDEF' = DATA 


-TODO:

4/11/2011:
	-Verify the UART is working at 9600 baud - DONE 4/16
		-toggle LED based on receiving data - DONE 4/16
		-toggle LED when a specific byte is received - DONE 4/16
		-return a byte back to the host - DONE 4/16
	-Build a "input handler" module - DONE 4/16
		-this will wrap around the UART input component, will parse all the 
		information in an easy to digest format for the controller - DONE 4/16
	-Build a "output handler" module
		-this will wrap around the UART output component, will receive commands and data in a buffer, this data will be shifted out a byte at a time to the host
	-Build the "SHA256 Controller"
		-read formatted data from the "input handler"
		-execute commands received from the host
		-sends an "I'm alive" pulse every 1 second
		-if any match has been found this response is sent to "output handler"


-Credit:
	-Give credit to the uart module we used from OpenCores.org
	-Give credit to the SHA256 module we used from OpenCores.org

About

FPGA implementation of bitcoin algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published