After adding the new .io mnemonics to pdk ([#3259]), I wanted to test all pdk variants.
pdk13 is supposed to work, but regression tests were disabled for it because of the limited memory (1024 PRG, 64 RAM).
I've created a reduced version of the test framework:
When that macro is defined:
All modifications combined save around 330 bytes of program memory and 50 bytes of RAM, a massive difference for small devices like pdk13.
The difference is enough to allow many tests for pdk13 and to enable some disabled tests for pdk14.
I've also done changes to the python scripts (*-results.py):
I will commit as soon as testing finishes.
Maybe we can make this the default version to save memory for all devices.
For now I would keep it only for pdk13 and pdk14 because it will affect all regression tests outputs (All will show less bytes and less cycles).
Once all the test results are generated with the automated tests and we check there are no differences, we can enable it for other backends (I've checked it locally, but as seen in [feature-requests:#144], what we get with the test farm is not exactly the same).
Related
Feature Requests: #144
Last edit: Visenri 2021-08-30
Commited in [r12560]