"complex" cores ?

For topics which do not fit in other specific forums.
Airbag
Posts: 22
Joined: Wed Jun 10, 2020 2:46 pm
Has thanked: 5 times
Been thanked: 2 times

"complex" cores ?

Unread post by Airbag »

I read at the end of the FAQ : https://github.com/MiSTer-devel/Main_Mi ... r-heatsink

The DE-10 is rated for up to 100°C operation and it doesn’t get nearly that hot. Do I really need a fan or heatsink?
A number of complex cores (like ao486) benefit from having the chip at cooler temperatures, since heat can affect the tight timings they require. A fan is recommended to avoid any possible glitches, but you won't damage your DE10-Nano if you choose not to use one.


So what are the "complex cores", apart from ao486 ? (follow-up question : how do you define "complex" in this context ?)
User avatar
Sarge
Posts: 44
Joined: Tue Jan 12, 2021 5:26 am
Has thanked: 3 times
Been thanked: 5 times

Re: "complex" cores ?

Unread post by Sarge »

I suspect "complex" in this case mostly refers to using pretty much all the logic elements available in the FPGA. And as that quoted statement says, when timings are really tight, heat can potentially affect said timings enough to cause undesirable behavior.

While it may be rated for those high temps, heat still often reduces the lifespan of electronics, so I figure using a heat sink doesn't hurt.
Image
Hackshed_Carl
Posts: 115
Joined: Mon May 25, 2020 3:22 pm
Has thanked: 30 times
Been thanked: 51 times
Contact:

Re: "complex" cores ?

Unread post by Hackshed_Carl »

The way I understand it (and I could be wrong) is that the FPGA side of things doesn't really affect the temperature.
The heat is generated by the ARM core which is always busy doing something, either waiting for menu usage or other ARM related tasks.

Some cores however, engage more frequently with the ARM side than others, either for ROM/CD reading or other things (other people will be able to explain it better)

This is why I believe the additional cooling is required, not for the FPGA but for the ARM core
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: "complex" cores ?

Unread post by FPGAzumSpass »

In my opinion this is misleading.

All cores, no matter how complex or full the FPGA is, could run stable without any heatsink at 100°C if they would have fulfilled timing closure.
That means, that the logic inside the FPGA is proven to work at the designed speed by Altera/Intel on all boards.

AO486 doesn't have that. The tools state it can reach about ~60Mhz. everything above(90Mhz is often used) is overclocking.
Overclocking works better with lower temperature -> heatsink/fan can be useful.

Some other cores might also not pass timing closure, but most do.
Hackshed_Carl
Posts: 115
Joined: Mon May 25, 2020 3:22 pm
Has thanked: 30 times
Been thanked: 51 times
Contact:

Re: "complex" cores ?

Unread post by Hackshed_Carl »

FPGAzumSpass is a core dev so I would take heed of his response more than my own :)
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: "complex" cores ?

Unread post by FPGAzumSpass »

Sorry, my comment on "misleading" was meant for the quote of the wiki entry, that it hits only complex cores.

Especially beginners, who likely do smaller, less complex cores first, often ignore the timing report of the tools, resulting in stable processing being a pair of luck and temperature.

Your comment on the ARM core producing most of the heat is correct, but it's probably not related to how much the ARM core is used,
as it has no sleep anyway and will most times draw the same power.
Airbag
Posts: 22
Joined: Wed Jun 10, 2020 2:46 pm
Has thanked: 5 times
Been thanked: 2 times

Re: "complex" cores ?

Unread post by Airbag »

Thanks for all your helpful comments.
So if I understand them correctly :
- "complex" is hard to define
- all cores generate (more or less) the same heat, with 2 exceptions :
  • cores that use overclocking (only ao486 ?)
  • cores that use a lot of I/O with big files : ROM (Neogeo ?), CD (MegaCD, TG16 ?), VHD (ao486, minimig, MacPlus, AtariST ?)
(I thought ROM files were loaded once at the start of the core, and their size was limited by the SD RAM module ?)
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: "complex" cores ?

Unread post by FPGAzumSpass »

Cores that use "overclocking" don't generate more heat, but they are more sensitive to the heat that is there.
Plain said, it makes them more likely to crash.
So a heatsink/fan make them run more stable.
User avatar
aberu
Core Developer
Posts: 1144
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 388 times
Contact:

Re: "complex" cores ?

Unread post by aberu »

Airbag wrote: Fri Jul 30, 2021 8:39 pm I read at the end of the FAQ : https://github.com/MiSTer-devel/Main_Mi ... r-heatsink

The DE-10 is rated for up to 100°C operation and it doesn’t get nearly that hot. Do I really need a fan or heatsink?
A number of complex cores (like ao486) benefit from having the chip at cooler temperatures, since heat can affect the tight timings they require. A fan is recommended to avoid any possible glitches, but you won't damage your DE10-Nano if you choose not to use one.


So what are the "complex cores", apart from ao486 ? (follow-up question : how do you define "complex" in this context ?)
SNES core running Super FX games on Turbo I believe is a good example. It's going to be more sensitive to heat, meaning more prone to errors/bugs.

Personally you should at a very minimum have a heatsink, but get a fan for sure.

MiSTerAddons.com has a good cheap kit, if you are in the US.

https://misteraddons.com/products/miste ... d-heatsink
birdybro~
Airbag
Posts: 22
Joined: Wed Jun 10, 2020 2:46 pm
Has thanked: 5 times
Been thanked: 2 times

Re: "complex" cores ?

Unread post by Airbag »

Thanks for the clarifications.
As I have already a heatsink and a fan, I understand I need to activate the fan only if I start to get crashes / errors.
User avatar
Sarge
Posts: 44
Joined: Tue Jan 12, 2021 5:26 am
Has thanked: 3 times
Been thanked: 5 times

Re: "complex" cores ?

Unread post by Sarge »

Definitely appreciate the info from an FPGA guru.
Image
Post Reply