[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]

/electronics/ - Electronics engineering

Discuss hardware design, hacking, security, freedom and all other related topics.

Catalog

8chan Bitcoin address: 1NpQaXqmCBji6gfX8UgaQEmEstvVY7U32C
The next generation of Infinity is here (discussion) (contribute)
A message from @CodeMonkeyZ, 2ch lead developer: "How Hiroyuki Nishimura will sell 4chan data"
Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
dicesidesmodifier
Password (For file and post deletion.)

Allowed file types:jpg, jpeg, gif, png, webm, mp4, pdf
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 5 per post.


File: 1433202606784.jpg (103.25 KB, 1025x576, 1025:576, 1432834137805.jpg)

9dcbcb No.132

So let's say I wanted to design an imageboard server on an FPGA.

No general-purpose computing or higher-order logic, it's not meant to be Turing-complete. I want the thing to natively speak chan at an electronic level.

It'd be broken down into a number of functional blocks and subunits, first of all.

One communications subunit for Ethernet PHY, MAC, TCP, and IP.

One data subunit for storage and retrieval of bulk data, and intrinsic microcode to handle that.

One control subunit, which contains registers/counters, and processes and fetches instructions from storage, starting at the microcode.

And one subunit containing necessary electronics like power-distribution, clocks, etc.

The core of the system would be a simple instruction fetch in the control subunit, which runs a small microcode from storage to prepare configuration and state.

Storage would be handled by an MMC or NAND driver, and said storage holds the higher-level code implementing the imageboard: a table of jmps correlating addresses to post IDs, and a post structure of simple "fetch [range]; jmp [template code subroutine]; fetch [range]" and so forth.

A couple registers will contain the current post ID, and the IP session of whoever's being served at that moment.

I fear the hardest part, would be keeping all the multiple internet sessions open, alive, and having data clocked out to them/in from them appropriately.

5f468d No.133

Sure sounds like you're reinventing the wheel. Good luck! :)




[Return][Go to top][Catalog][Post a Reply]
Delete Post [ ]
[]
[ home / board list / faq / random / create / bans / search / manage / irc ] [ ]