mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 10:42:24 +00:00
Add gitignore and remove extra files
This commit is contained in:
parent
45b86e75bb
commit
bc8fccaa17
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
/output
|
4
models/.gitignore
vendored
Normal file
4
models/.gitignore
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
a.out
|
||||||
|
dump.vcd
|
||||||
|
GAL16V8_reg.bin
|
||||||
|
GAL16V8_reg.hex
|
|
@ -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
|
|
Loading…
Reference in a new issue