HackerTrans
トップ新着トレンドコメント過去質問紹介求人

_sbrk

no profile record

コメント

_sbrk
·昨年·議論
Uh oh, China hacker has found your telnet magazine.
_sbrk
·昨年·議論
First thing to do is get a GPIO pin or two to toggle. Plenty of debug patterns that one can blink out.
_sbrk
·昨年·議論
Magic-1 and BMOW did similar, a while back. See: https://www.homebrewcpu.com/

The actual list of sites who have built their own CPUs: https://www.homebrewcpuring.org/
_sbrk
·昨年·議論
Far simpler, cheaper, and closer to the "understandable by one mind" machine. Add Bywater BASIC, if desired.
_sbrk
·昨年·議論
https://hackaday.com/2024/05/31/ch32v003-makes-for-dirt-chea...
_sbrk
·昨年·議論
gcc will not let you actually define a negatively-sized array. Check it with some simple code -- I did. Even with -Wall -Wextra -O1 -std=c11 -Wpedantic, if I actually try to create foo[-1], on the stack or in BSS, I get the proper error: error: size of array 'foo' is negative
_sbrk
·昨年·議論
[flagged]
_sbrk
·昨年·議論
F = Field P = Programmable G = Gate <---- important A = Array

You aren't "programming", you're "wiring gates together". In other words, you can build custom hardware to solve a problem without using a generic CPU (or GPU) to do it. FPGAs are implemented as a fabric of LUTs (Look-up Tables) which take 4- or 6- (or more) inputs and produce an output. That allows Boolean algebra functions to be processed. The tools you use (Vivado / ISE / YoSys / etc.) take a your intended design, written in a HDL (Hardware Design Language) such as Verilog or VHDL, and turn it into a configuration file which is injected into the FPGA, causing it to be configured to into the hardware you want (if you've done it right). FPGAs are a stepping stone between generic hardware such as a CPU or GPU and a custom ASIC. They win when you can express the problem in specialized hardware much better than writing code to do something on a CPU/GPU. Parallelization is the key to many FPGA designs. Also, you don't have to spend >$1MM on a mask set to go have an ASIC fabricated by TSMC, etc.
_sbrk
·昨年·議論
Artix 7 is simplistic compared to any of the Versal chips. You buy an expensive FPGA and then try using an "open-source" tool chain that exposes 25% of the FPGA's potential. Not a great trade-off, eh?
_sbrk
·昨年·議論
It's not just that the boards are expensive; you'll also need a Vivado license to create any designs for it. That license is at least several thousand dollars for the Versal devices.