HAL
v4.5.0-83-g30c8f0afc
The Hardware Analyzer - a comprehensive reverse engineering and manipulation framework for gate-level netlists.
simulation_gate.cpp
Go to the documentation of this file.
1
#include "
netlist_simulator/netlist_simulator.h
"
2
3
namespace
hal
4
{
5
NetlistSimulator::SimulationGate::SimulationGate(
const
Gate* gate)
6
{
7
m_gate = gate;
8
9
for
(GatePin* pin : gate->get_type()->get_input_pins())
10
{
11
m_input_values[pin->get_name()] = BooleanFunction::Value::X;
12
m_input_pins.push_back(pin);
13
m_input_nets.push_back(gate->get_fan_in_net(pin));
14
}
15
}
16
}
// namespace hal
hal
Definition:
defines.h:45
netlist_simulator.h
plugins
simulator
hal_simulator
src
simulation_gate
simulation_gate.cpp
Generated by
1.9.1