diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..517c17e --- /dev/null +++ b/clean.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +rm -- *.vcd + +rm -rf obj_dir diff --git a/overture.sv b/overture.sv index 81e82e3..c93cc81 100644 --- a/overture.sv +++ b/overture.sv @@ -7,8 +7,8 @@ module overture( output reg [7:0] out; always@(*) begin - foreach (input[i]) begin - out[i] = !in[i] + foreach (in[i]) begin + out[i] = !in[i]; end end endmodule