... | ... | @@ -6,7 +6,7 @@ As mentionned in the readme, the simulator and its environment run in a simple f |
|
|
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](#iemory).
|
|
|
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).
|
|
|
3. Make the combinatorial computations for a cycle, see [Computations](#computations).
|
|
|
4. Write into the registers (rising edge of the clock), see [Memory](#memory).
|
... | ... | |