qucs_s/qucs/components/logic_1.h
ela 808b4f19d1 2009-03-03 Stefan Jahn <stefan@lkcc.org>
* Makefile.am (libcomponents_a_SOURCES): Added many new digital
        primitives.  Thanks a lot to Mike Brinson for the huge effort.


git-svn-id: https://qucs.svn.sourceforge.net/svnroot/qucs/trunk@1630 b5b04e8c-4942-46c9-ab4f-83783d557d1c
2009-03-03 18:32:15 +00:00

30 lines
652 B
C++

/*
* logic_1.h - device definitions for logic_1 module
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
*/
#ifndef logic_1_H
#define logic_1_H
#include "component.h"
class logic_1 : public Component
{
public:
logic_1();
~logic_1() { };
Component* newOne();
static Element* info(QString&, char* &, bool getNewOne=false);
protected:
void createSymbol();
QString vhdlCode(int);
QString verilogCode(int);
};
#endif /* logic_1_H */