lattice: display status when something wrong

This commit is contained in:
Gwenhael Goavec-Merou 2019-12-22 08:17:01 +01:00
parent a5d9ba586c
commit 14b2eea963
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ bool Lattice::program_mem()
progress.done();
else {
progress.fail();
displayReadReg(readStatusReg());
return false;
}
@ -228,6 +229,7 @@ bool Lattice::program_mem()
printInfo("Disable configuration: ", false);
if (!DisableISC()) {
printError("FAIL");
displayReadReg(readStatusReg());
return false;
} else {
printSuccess("DONE");