Qucs-GUI  0.0.19
/home/travis/build/Qucs/qucs/qucs/qucs/components/dmux2to4.h
Go to the documentation of this file.
00001 /*
00002  * dmux2to4.h - device definitions for dmux2to4 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 dmux2to4_H
00012 #define dmux2to4_H
00013 
00014 #include "component.h"
00015 
00016 class dmux2to4 : public Component
00017 {
00018   public:
00019     dmux2to4();
00020     ~dmux2to4() { };
00021     Component* newOne();
00022     static Element* info(QString&, char* &, bool getNewOne=false);
00023   protected:
00024     void createSymbol();
00025     QString vhdlCode(int);
00026     QString verilogCode(int);
00027 };
00028 
00029 #endif /* dmux2to4_H */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines