aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_math.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-01-10 19:10:47 +0000
committerDavid Shah <dave@ds0.me>2019-03-22 10:31:54 +0000
commitd5cfd38179bf00f61ac0e8d8fcb78382733773dd (patch)
tree8f0453b3ce351541899fb8f1ec997aad36f690f2 /common/placer_math.h
parentea56dc9d084a694450d995d147b18a4de86e8b7c (diff)
downloadnextpnr-d5cfd38179bf00f61ac0e8d8fcb78382733773dd.tar.gz
nextpnr-d5cfd38179bf00f61ac0e8d8fcb78382733773dd.tar.bz2
nextpnr-d5cfd38179bf00f61ac0e8d8fcb78382733773dd.zip
HeAP: Successful solver convergance
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'common/placer_math.h')
-rw-r--r--common/placer_math.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/placer_math.h b/common/placer_math.h
index 3782e99f..c197036c 100644
--- a/common/placer_math.h
+++ b/common/placer_math.h
@@ -30,9 +30,11 @@ struct taucif_system;
extern struct taucif_system *taucif_create_system(int rows, int cols, int n_nonzero);
-extern void taucif_set_matrix_value(struct taucif_system *sys, int row, int col, double value);
+extern void taucif_add_matrix_value(struct taucif_system *sys, int row, int col, double value);
-extern void taucif_solve_system(struct taucif_system *sys, double *x, double *rhs);
+extern void taucif_finalise_matrix(struct taucif_system *sys);
+
+extern int taucif_solve_system(struct taucif_system *sys, double *x, double *rhs);
extern void taucif_free_system(struct taucif_system *sys);