From: adam Date: Mon, 11 Feb 2008 14:40:45 +0000 (+0100) Subject: add `reset` to Alu2 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=86228c225ef61c7cd90648d19e8307292f1379ce;p=fleet.git add `reset` to Alu2 --- diff --git a/ships/Alu2.ship b/ships/Alu2.ship index 4a7298d..fd8a33f 100644 --- a/ships/Alu2.ship +++ b/ships/Alu2.ship @@ -86,6 +86,7 @@ public void service() { have_a = 0; have_b = 0; have_op = 0; + `reset end else begin if (!have_a) begin `onread(in1_r, in1_a) have_a = 1; reg_a = in1_d; end