Qucs-GUI
0.0.19
|
00001 /*************************************************************************** 00002 logical_buf.h 00003 --------------- 00004 begin : Sat Nov 8 2008 00005 copyright : (C) 2008 by Stefan Jahn 00006 email : stefan@lkcc.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef LOGICAL_BUF_H 00019 #define LOGICAL_BUF_H 00020 00021 #include "component.h" 00022 00023 00024 class Logical_Buf : public MultiViewComponent { 00025 public: 00026 Logical_Buf(); 00027 ~Logical_Buf() {}; 00028 Component* newOne(); 00029 static Element* info(QString&, char* &, bool getNewOne=false); 00030 00031 protected: 00032 QString vhdlCode(int); 00033 QString verilogCode(int); 00034 void createSymbol(); 00035 }; 00036 00037 #endif