Qucs-GUI
0.0.19
|
00001 /* 00002 * dmux3to8.h - device definitions for dmux3to8 module 00003 * 00004 * This is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2, or (at your option) 00007 * any later version. 00008 * 00009 */ 00010 00011 #ifndef dmux3to8_H 00012 #define dmux3to8_H 00013 #include "component.h" 00014 00015 class dmux3to8 : public Component 00016 { 00017 public: 00018 dmux3to8(); 00019 ~dmux3to8() { }; 00020 Component* newOne(); 00021 static Element* info(QString&, char* &, bool getNewOne=false); 00022 protected: 00023 void createSymbol(); 00024 QString vhdlCode(int); 00025 QString verilogCode(int); 00026 }; 00027 00028 #endif /* dmux3to8_H */