... | ... | @@ -3,8 +3,8 @@ |
|
|
As mentionned in the readme, the simulator and its environment run in a simple fashion.
|
|
|
|
|
|
1. Read and parse the netlist (as provided in the documentation, `netlist.ml`, `netlist_ast.ml`, `lexer.ml`, `parser.ml`)
|
|
|
2. Order the netlist according to the dependencies via a topological sort (`graph.ml`, `scheduler.ml`, see [the scheduler doc](/Functions/Scheduler))
|
|
|
3. Simulate the netlist in a sequential fashion (`simulator.ml`, see [the simulator doc](Functions/Simulator))
|
|
|
2. Order the netlist according to the dependencies via a topological sort (`graph.ml`, `scheduler.ml`, see [the scheduler doc](/Functions/#Scheduler))
|
|
|
3. Simulate the netlist in a sequential fashion (`simulator.ml`, see [the simulator doc](Functions/#Simulator))
|
|
|
1. Initialize the memory (currently the ROM cannot be inputted from the user)
|
|
|
The memory is represented by its id. Memory is implemented via hash-tables, see [the corresponding part](#Memory).
|
|
|
2. Take the input, see [Input](#Input).
|
... | ... | |