Can code break the FPGA?

Discussion of developmental aspects of the MiSTer Project.
Bas
Top Contributor
Posts: 518
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 60 times
Been thanked: 225 times

Can code break the FPGA?

Unread post by Bas »

A question I remember from way back: some malware is able to physically damage hardware. Think of running disk heads across platters really fast all the time, making them bump into a mechanical guard repeatedly and causing damage. Other than this kind of method, software can't really break a computer.

But how is this for an FPGA? Could I write some sort of stupid code that would fry the chip? I'm not looking to design FPGA malware by the way, but would like to know if there are any constraints I should be aware of before burning my MiSTer with my newbie mistakes.
robinsonb5
Posts: 129
Joined: Fri Jun 19, 2020 8:54 pm
Has thanked: 13 times
Been thanked: 57 times

Re: Can code break the FPGA?

Unread post by robinsonb5 »

You could theoretically hurt either the SDRAM's IOs or the FPGA pins connected to them by running a core which handles the SDRAM clumsily and allows both chips to drive the pins at the same time - but even that's relatively unlikely. I can't think of any other way to hurt the chips.
Post Reply