arch-vega: Revert incorrect SOPC compare (#1521)

LT <= was previously correct while < is not. Can lead to incorrect
program execution. Related to #1366 related to #1520

Change-Id: I00b7838e920eee7c8adb508e869fdf53a9373e1f
This commit is contained in:
Matthew Poremba
2024-08-29 09:20:25 -07:00
committed by GitHub
parent d78a571660
commit bb9539ad4d

View File

@@ -368,7 +368,7 @@ namespace VegaISA
src0.read();
src1.read();
scc = (src0.rawData() < src1.rawData()) ? 1 : 0;
scc = (src0.rawData() <= src1.rawData()) ? 1 : 0;
scc.write();
} // execute