diff --git a/.gitignore b/.gitignore index 3593ccb..ad49861 100644 --- a/.gitignore +++ b/.gitignore @@ -28,7 +28,8 @@ bin/ .cache-main #User -*.vhd +/*.vhd +/*.v *.cf *.json !tester/src/test/resources/*.vhd diff --git a/MyTopLevel.v b/MyTopLevel.v deleted file mode 100644 index b781bfe..0000000 --- a/MyTopLevel.v +++ /dev/null @@ -1,33 +0,0 @@ - -module MyTopLevel -( - input io_cond0, - input io_cond1, - output io_flag, - output [7:0] io_state, - input clk, - input reset -); - - reg [7:0] counter; - wire [7:0] zz_1; - wire zz_2; - wire zz_3; - assign io_flag = zz_3; - assign io_state = counter; - assign zz_1 = (counter + (8'b00000001)); - assign zz_2 = (counter == (8'b00000000)); - assign zz_3 = (zz_2 || io_cond1); - always @ (posedge clk or posedge reset) - begin - if (reset) begin - counter <= (8'b00000000); - end else begin - if(io_cond0)begin - counter <= zz_1; - end - end - end - -endmodule -