X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ships%2FRotator.ship;h=74cb3f1cb1d0c2c03d19394d18c56685cabf9608;hb=c98a8d997dd614bbaf54bf77219560086d93ae4d;hp=9009458165528d761cb4175b8659dd0cb194d08d;hpb=975cc53ac1e9da871d960f029e759ed05387df6c;p=fleet.git diff --git a/ships/Rotator.ship b/ships/Rotator.ship index 9009458..74cb3f1 100644 --- a/ships/Rotator.ship +++ b/ships/Rotator.ship @@ -47,11 +47,10 @@ public void service() { assign shamt_eq = (shamt[5:0] == (inAmount_d[5:0])); always @(posedge clk) begin - if (!rst) begin + if (rst) begin `reset full <= 0; end else begin - `flush `cleanup if (`in_full && `inAmount_full && `out_empty) begin if (!full) begin @@ -106,11 +105,11 @@ rotator.inAmount: rotator.out: set olc=3; head; - [Rq] collect, send to debug.in; - [Rq] set flags a=c, b=b; - [Rq] [!a] set word=0; - [Rq] [a] set word=1; - [Rq] send to debug.in; + collect, send to debug.in; + set flags a=c, b=b; + [!a] set word=0; + [a] set word=1; + send to debug.in; tail;