Git Product home page Git Product logo

fpga_webserver's Introduction

I'm slowly building a hardware-based web server.

Feel free to look around, but it is not yet anywhere near working

Status
======
* ARP replies sent at Gigabit speeds
* ICMP is working at Gigabit speeds
* UDP RX & TX works at Gigabit speeds

TODO LIST OF MINOR ISSUES THAT I DON'T WANT TO FORGET
=====================================================

Inbound packet processing
-------------------------
* Inbound packet reception errors should cause the packet to be dropped.

* Inbound packet CRC verification is not being performed - should cause 
  packet to dropped

* Inbound packet MAC filtering not coded - should only accept packets 
  for 'our_mac' or the broadcast MAC. This could be handled the same as 
  CRC or reception errors (where  the FIFO can be rolled back). Doing this
  in one place could save resources.

TCP/IP Session protocol
-----------------------
* Can establish a TCP/IP session
* Sends ACKs for incoming data
* Currently listens on port 80 for any incoming connections
* Replies with 'FPGA says "Hi"\r\n' to any incoming packets that contains data
* Tears down session when remote end closes

TCP/IP packet support - mostly finished
---------------------------------------
* TCP RX IP Checksum is not being validated
* TCP RX TCP Checksum is not being validated

UDP Support - mostly finished
-----------------------------
* UDP TX cannot send a packet without any data

* UDP RX IP Checksum is not being validated
* UDP RX UDP Checksum is not being validated
* UDP RX of a packet with no data will not result in anything that the 
  consuming design can see.

ICMP Support - mostly finished
------------------------------
* ICMP 'echo request' is not validating that the IP checksum is correct
* ICMP 'echo request' is not validating that the ICMP length field is correct.
* ICMP 'echo request' is not validating that the ICMP checksum is correct

Outbound packet processing
--------------------------
* Outbound packets are not being sent correctly for 10 & 100Mbps speed. 
  This requies a 4k FIFO, which will block the arbiter when less than 
  1600 entries are free (enough for a packet and some loop latency)

fpga_webserver's People

Contributors

hamsternz avatar jackawatt avatar

Watchers

 avatar  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.