Logikai szimulátor
|
#include <inverter_block.hpp>
Publikus tagfüggvények | |
inverter_block (std::string const &id) | |
~inverter_block () | |
![]() | |
block (std::string const &id="block default", unsigned delay=1, logic_vm *parent=nullptr) | |
void | set_id (std::string const &tag) |
std::string | get_id () |
void | add_port (std::string const &name, std::string type) |
unsigned | get_delay () |
void | set_port (std::string const &name, bool value) |
port & | get_port (std::string const &name) |
void | connect (std::string const &out, block &b, std::string const &in) |
void | eval () |
void | print () |
void | set_parent (logic_vm *p) |
virtual | ~block () |
Additional Inherited Members | |
![]() | |
std::string | id |
std::vector< port > | input |
std::vector< port > | output |
std::vector< std::function < void()> > | events |
unsigned | delay |
logic_vm * | parent |
Inverter tetszőleges egy be- és tetszőleges számú kimenetre. Több kimenet esetén valamennyi kimenet a bemenet negáltját adja.
Definíció a(z) inverter_block.hpp fájl 11. sorában.
|
inline |
Definíció a(z) inverter_block.hpp fájl 13. sorában.
Hivatkozások logic_vm::block::events, logic_vm::block::input és logic_vm::block::output.
|
inline |
Definíció a(z) inverter_block.hpp fájl 21. sorában.