diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1f57b97 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/output diff --git a/models/.gitignore b/models/.gitignore new file mode 100644 index 0000000..ee0fde1 --- /dev/null +++ b/models/.gitignore @@ -0,0 +1,4 @@ +a.out +dump.vcd +GAL16V8_reg.bin +GAL16V8_reg.hex diff --git a/models/original.v b/models/original.v deleted file mode 100644 index 30fe28a..0000000 --- a/models/original.v +++ /dev/null @@ -1,15 +0,0 @@ -module original ( - input wire clk, - input wire [5:0] in, - output reg [4:0] out -); - -always @(posedge clk) begin - out[0] <= in[0] && in[1]; - out[1] <= in[2] || in[3]; - out[2] <= in[4] && !in[5] || !in[4] && in[5]; - out[3] <= in[0] && in[1] && in[2] && in[3] && in[4] && in[5]; - out[4] <= !(in[0] || in[1] || in[2] || in[3] || in[4] || in[5]); -end - -endmodule