From 435042774cd03687297a8100e807c70dd7b1b3e4 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 8 Nov 2013 21:49:39 +0100 Subject: Simulator fixed. --- tests/Makefile | 2 +- tests/nadder.mj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 0721dab..7f1e355 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -7,7 +7,7 @@ SIM=../csim/csim %.sim: %.dumb $(SIM) $< -%.dumb %_sch.net %_opt.dumb %_sch_opt.net: %.net +%.dumb %.snet %_opt.dumb %_opt.snet: %.net $(SCHED) $< %.net: %.mj diff --git a/tests/nadder.mj b/tests/nadder.mj index 0e24ca4..c8b0fbe 100644 --- a/tests/nadder.mj +++ b/tests/nadder.mj @@ -14,6 +14,6 @@ adder(a:[n], b:[n], c_in) = (o:[n], c_out) where end if end where -main(a:[2], b:[2]) = (o:[2], c) where - (o, c) = adder<2>(a,b,0) +main(a:[8], b:[8]) = (o:[8], c) where + (o, c) = adder<8>(a,b,0) end where -- cgit v1.2.3