commit 97920142e1cb83472d6c7ea1088adc8d438fbed5 Author: Murad Date: Tue Jan 25 17:38:48 2022 +0300 initial commit - add README which includes the purpose of this project; - include copyright notice and MIT license; - add empty Cargo project. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2f7896d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target/ diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..6c796fd --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "toy_cpu_4bit" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..873e92b --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "toy_cpu_4bit" +version = "0.1.0" +edition = "2021" + +[dependencies] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..72cb2d0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,19 @@ +Copyright Murad Karammaev, Nikita Kuzmin + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8223188 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# ToyCPU-4bit + +This incredibly small CPU is a learning project. +During implementation of this CPU, we are expected to learn how to: +- design ISA in general; +- implement instruction decoding; +- impement instruction execution; +- visualize CPU during its work. diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..a711439 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,4 @@ +// SPDX-License-Identifier: MIT +// Copyright Murad Karammaev, Nikita Kuzmin + +fn main() {}