diff --git a/.crates2.json b/.crates2.json index 7e99875..9c89409 100644 --- a/.crates2.json +++ b/.crates2.json @@ -1 +1 @@ -{"installs":{"galette 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)":{"version_req":"0.3.0","bins":["galette"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-unknown-linux-gnu","rustc":"rustc 1.62.1 (e092d0b6b 2022-07-16)\nbinary: rustc\ncommit-hash: e092d0b6b43f2de967af0887873151bb1c0b18d3\ncommit-date: 2022-07-16\nhost: x86_64-unknown-linux-gnu\nrelease: 1.62.1\nLLVM version: 14.0.5\n"}}} \ No newline at end of file +{"installs":{"galette 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)":{"version_req":"0.3.0","bins":["galette"],"features":[],"all_features":false,"no_default_features":false,"profile":"release","target":"x86_64-apple-darwin","rustc":"rustc 1.56.1 (59eed8a2a 2021-11-01)\nbinary: rustc\ncommit-hash: 59eed8a2aac0230a8b53e89d4e99d55912ba6b35\ncommit-date: 2021-11-01\nhost: x86_64-apple-darwin\nrelease: 1.56.1\nLLVM version: 13.0.0\n"}}} \ No newline at end of file diff --git a/GAL16V8_counter.pld b/GAL16V8_counter.pld new file mode 100644 index 0000000..04585f4 --- /dev/null +++ b/GAL16V8_counter.pld @@ -0,0 +1,89 @@ +GAL16V8 +Counter + +Clock NC NC NC NC NC NC NC Rst GND +/OE A0 A1 A2 A3 A4 A5 A6 A7 VCC + +A0.R = /A0 + +; 0 0 -> 0 1 +; 0 1 -> 1 0 * +; 1 0 -> 1 1 * +; 1 1 -> 0 0 +A1.R = /A1 * A0 + A1 * /A0 + +; 0 1 1 -> 1 0 0 +; 1 0 0 -> 1 0 1 +; 1 0 1 -> 1 1 0 +; 1 1 0 -> 1 1 1 +A2.R = /A2 * A1 * A0 + A2 * /A1 + A2 * /A0 + +; 0 1 1 1 +; 1 0 x x +; 1 x 0 x +; 1 x x 0 +A3.R = /A3 * A2 * A1 * A0 + + A3 * /A2 + + A3 * /A1 + + A3 * /A0 + +; 0 1 1 1 1 +; 1 0 x x x +; 1 x 0 x x +; 1 x x 0 x +; 1 x x x 0 +A4.R = /A4 * A3 * A2 * A1 * A0 + + A4 * /A3 + + A4 * /A2 + + A4 * /A1 + + A4 * /A0 + +; 0 1 1 1 1 1 +; 1 0 x x x x +; 1 x 0 x x x +; 1 x x 0 x x +; 1 x x x 0 x +; 1 x x x x 0 +A5.R = /A5 * A4 * A3 * A2 * A1 * A0 + + A5 * /A4 + + A5 * /A3 + + A5 * /A2 + + A5 * /A1 + + A5 * /A0 + +; 0 1 1 1 1 1 1 +; 1 0 x x x x x +; 1 x 0 x x x x +; 1 x x 0 x x x +; 1 x x x 0 x x +; 1 x x x x 0 x +; 1 x x x x x 0 +A6.R = /A6 * A5 * A4 * A3 * A2 * A1 * A0 + + A6 * /A5 + + A6 * /A4 + + A6 * /A3 + + A6 * /A2 + + A6 * /A1 + + A6 * /A0 + +; 0 1 1 1 1 1 1 1 +; 1 0 x x x x x x +; 1 x 0 x x x x x +; 1 x x 0 x x x x +; 1 x x x 0 x x x +; 1 x x x x 0 x x +; 1 x x x x x 0 x +; 1 x x x x x x 0 +A7.R = /A7 * A6 * A5 * A4 * A3 * A2 * A1 * A0 + + A7 * /A6 + + A7 * /A5 + + A7 * /A4 + + A7 * /A3 + + A7 * /A2 + + A7 * /A1 + + A7 * /A0 + + +DESCRIPTION + +An 8-bit Synchronous counter