summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-08 21:49:39 +0100
committerAlex AUVOLAT <alex.auvolat@ens.fr>2013-11-08 21:49:39 +0100
commit435042774cd03687297a8100e807c70dd7b1b3e4 (patch)
tree4c08ca4d16515e73cb69b6e6e5cac23dbad885d9 /tests
parent05749abf8efdcaae6afd9f3dd087df475e5e93ad (diff)
downloadSystDigit-Projet-435042774cd03687297a8100e807c70dd7b1b3e4.tar.gz
SystDigit-Projet-435042774cd03687297a8100e807c70dd7b1b3e4.zip
Simulator fixed.
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile2
-rw-r--r--tests/nadder.mj4
2 files changed, 3 insertions, 3 deletions
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<n>(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