wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ICSimulation.h
Go to the documentation of this file.
1// Copyright 2015 - 2026, GIBIS-UNIFESP and the wiRedPanda contributors
2// SPDX-License-Identifier: GPL-3.0-or-later
3
7
8#pragma once
9
10class IC;
11
24{
25public:
27 static void initialize(IC &ic);
28
30 static void update(IC &ic);
31
35 static void resettle(IC &ic);
36
37private:
39 static void pushInputsToBoundary(IC &ic);
41 static void pullOutputsFromBoundary(IC &ic);
42};
Builds and drives an IC's internal simulation graph.
static void update(IC &ic)
Simulates ic's internal circuit and propagates results to its boundary.
static void resettle(IC &ic)
static void initialize(IC &ic)
Builds the internal simulation graph (connection graph + topological sort) for ic.
Graphic element representing an Integrated Circuit (sub-circuit) box.
Definition IC.h:31