Nanotekspice
所属分类:硬件设计
开发工具:C++
文件大小:659KB
下载次数:0
上传日期:2019-12-02 16:27:57
上 传 者:
sh-1993
说明: Epitech,第二年项目。C++编程:数字电子。
(Epitech, SECOND year Project. C++ Programming : Digital Electronics.)
文件列表:
Circuit.cpp (2346, 2019-12-03)
Circuit.hpp (1125, 2019-12-03)
Components (0, 2019-12-03)
Components\Adder.cpp (1589, 2019-12-03)
Components\Adder.hpp (662, 2019-12-03)
Components\DualFlipFlop.cpp (1564, 2019-12-03)
Components\DualFlipFlop.hpp (704, 2019-12-03)
Components\FourBasicGates.hpp (2017, 2019-12-03)
Components\SixInverterGates.cpp (1608, 2019-12-03)
Components\SixInverterGates.hpp (740, 2019-12-03)
Deep.hpp (200, 2019-12-03)
Errors (0, 2019-12-03)
Errors\Errors.cpp (323, 2019-12-03)
Errors\ErrorsChipset.cpp (278, 2019-12-03)
Errors\ErrorsFile.cpp (260, 2019-12-03)
Errors\ErrorsInput.cpp (266, 2019-12-03)
Errors\ErrorsLink.cpp (260, 2019-12-03)
Errors\ErrorsOutput.cpp (276, 2019-12-03)
Errors\ErrorsPin.cpp (261, 2019-12-03)
Errors\ErrorsShell.cpp (266, 2019-12-03)
Errors\Include (0, 2019-12-03)
Errors\Include\Errors.hpp (454, 2019-12-03)
Errors\Include\ErrorsChipset.hpp (364, 2019-12-03)
Errors\Include\ErrorsFile.hpp (342, 2019-12-03)
Errors\Include\ErrorsInput.hpp (349, 2019-12-03)
Errors\Include\ErrorsLink.hpp (342, 2019-12-03)
Errors\Include\ErrorsOutput.hpp (364, 2019-12-03)
Errors\Include\ErrorsPin.hpp (349, 2019-12-03)
Errors\Include\ErrorsShell.hpp (349, 2019-12-03)
Factory.cpp (2959, 2019-12-03)
Factory.hpp (1682, 2019-12-03)
Gates (0, 2019-12-03)
Gates\And.cpp (1552, 2019-12-03)
Gates\And.hpp (671, 2019-12-03)
Gates\Inverter.cpp (1409, 2019-12-03)
Gates\Inverter.hpp (678, 2019-12-03)
Gates\Nand.cpp (1574, 2019-12-03)
Gates\Nand.hpp (678, 2019-12-03)
Gates\Nor.cpp (1560, 2019-12-03)
... ...
# NanoTekSpice
### Goal
###### The project : Nanotekspice is a logic simulator that builds a graph (the nodes of which will be simulated digital electronic components, inputs or outputs) from a configuration file, and injects values into that graph to get result.
### Program compilation and launch:
```sh
make
```
```sh
./nanotekspice [YOUR_FILE].nts
```
##### Optionnaly you can set the value of every inputs in your file
Example:
```sh
./nanotekspice Tests/Files/5input_nor.nts a=1 b=0
```
### Usage
After that execution you'll be in a basic shell, there you can do a lot of things :
- Assign a value to an input : b=1 for example.
- "simulate" : launch the simulation of all the inputs.
- "loop": runs simulate without displaying a prompt, until SIGINT is received (CTRL + c).
- "exit": exit the programm.
- "dump": calls dump of every component.
- "display": display the values of the outputs (ASCII order)
In the folder : "Tests/Files/"
-> You'll find a lot of tests files.
#### Project realised by:
- **Alexandre Sachs : [alexandre.sachs@outlook.fr](https://github.com/SachsA)**
- **Corentin Thomazeau : [corentin.thomazeau@epitech.eu]()**
近期下载者:
相关文件:
收藏者: