Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N netlist_simulator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Paul Fournier
  • netlist_simulator
  • Wiki
  • Implementation

Implementation · Changes

Page history
Update Implementation authored Nov 07, 2020 by Paul Fournier's avatar Paul Fournier
Show whitespace changes
Inline Side-by-side
Implementation.md
View page @ 43a0fc5d
......@@ -29,7 +29,7 @@ See [the related doc](Functions#input) for details on the technical implementati
At the beginning of each cycle, the simulator asks for input, which is at the core of the human-machine interface. In the long run, this could be used, for instance, as the result of mouse movement, controller input, keyboard presses, sensors, microphone, whatever you want that can be transmitted as a digital signal basically.
Currently, however, such, let's admit it, cool features, are out of question since the input's main function is to deprive the user of sleep by giving a new prompt for each bit. Of course, the user can still copy-paste its way through it.
Currently, however, such, let's admit it, cool features, are out of question since the input's main function is to deprive the user of sleep by giving a new prompt for each bit on `stdin`. Of course, the user can still copy-paste its way through it, or make a script which pipes the input in, but that's not very user-friendly.
## TODO :
- Change this damned input method to take bit-words as input for buses.
......@@ -43,3 +43,19 @@ The basic idea for the computation is just to follow what each gate instructs us
Whenever a gate made sense, I implemented it : for buses, wires, wires and buses, buses composed of one wire...
# Output
Details on [Functions](Functions).
The output format is the following :
```
foo=0
bar=42
...
̀```
with `foo` a wire and `bar` a bus, for instance.
The output is currently on `stdout`, mixed with the input prompts.
## TODO:
- Output on an arbitrary format
- Output on an arbitrary channel
\ No newline at end of file
Clone repository
  • Functions
  • Implementation
  • Home