lattice: display status when something wrong
This commit is contained in:
parent
a5d9ba586c
commit
14b2eea963
|
|
@ -214,6 +214,7 @@ bool Lattice::program_mem()
|
||||||
progress.done();
|
progress.done();
|
||||||
else {
|
else {
|
||||||
progress.fail();
|
progress.fail();
|
||||||
|
displayReadReg(readStatusReg());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -228,6 +229,7 @@ bool Lattice::program_mem()
|
||||||
printInfo("Disable configuration: ", false);
|
printInfo("Disable configuration: ", false);
|
||||||
if (!DisableISC()) {
|
if (!DisableISC()) {
|
||||||
printError("FAIL");
|
printError("FAIL");
|
||||||
|
displayReadReg(readStatusReg());
|
||||||
return false;
|
return false;
|
||||||
} else {
|
} else {
|
||||||
printSuccess("DONE");
|
printSuccess("DONE");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue