Qucs-GUI
0.0.18
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
qucs
components
verilogfile.h
Go to the documentation of this file.
1
/***************************************************************************
2
verilogfile.h
3
-------------
4
begin : Sat Mar 31 2007
5
copyright : (C) 2007 by Stefan Jahn
6
email : stefa@lkcc.org
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef VERILOGFILE_H
19
#define VERILOGFILE_H
20
21
#include "
component.h
"
22
//Added by qt3to4:
23
#include <QTextStream>
24
25
26
class
Verilog_File
:
public
MultiViewComponent
{
27
public
:
28
Verilog_File
();
29
~Verilog_File
() {};
30
Component
*
newOne
();
31
static
Element
*
info
(QString&,
char
* &,
bool
getNewOne=
false
);
32
33
bool
createSubNetlist
(QTextStream *);
34
QString
getErrorText
() {
return
ErrText
; }
35
QString
getSubcircuitFile
();
36
37
protected
:
38
QString
verilogCode
(
int
);
39
void
createSymbol
();
40
QString
loadFile
();
41
42
QString
ModuleName
;
43
QString
ErrText
;
44
};
45
46
class
Verilog_File_Info
{
47
public
:
48
Verilog_File_Info
();
49
Verilog_File_Info
(QString,
bool
isfile =
false
);
50
~Verilog_File_Info
() {};
51
QString
parsePorts
(QString,
int
);
52
53
public
:
54
QString
ModuleName
;
55
QString
PortNames
;
56
};
57
58
#endif
Verilog_File_Info::Verilog_File_Info
Verilog_File_Info()
Definition:
verilogfile.cpp:201
Verilog_File::verilogCode
QString verilogCode(int)
Definition:
verilogfile.cpp:69
Verilog_File_Info
Definition:
verilogfile.h:46
Verilog_File_Info::ModuleName
QString ModuleName
Definition:
verilogfile.h:54
Verilog_File::Verilog_File
Verilog_File()
Definition:
verilogfile.cpp:30
Verilog_File::createSymbol
void createSymbol()
Definition:
verilogfile.cpp:111
Verilog_File::~Verilog_File
~Verilog_File()
Definition:
verilogfile.h:29
Verilog_File
Definition:
verilogfile.h:26
Verilog_File::getErrorText
QString getErrorText()
Definition:
verilogfile.h:34
Verilog_File_Info::parsePorts
QString parsePorts(QString, int)
Definition:
verilogfile.cpp:278
Verilog_File::info
static Element * info(QString &, char *&, bool getNewOne=false)
Definition:
verilogfile.cpp:55
Verilog_File::loadFile
QString loadFile()
Definition:
verilogfile.cpp:89
Verilog_File::createSubNetlist
bool createSubNetlist(QTextStream *)
Definition:
verilogfile.cpp:167
Component
Definition:
component.h:33
Element
Superclass of all schematic drawing elements.
Definition:
element.h:142
Verilog_File::getSubcircuitFile
QString getSubcircuitFile()
Definition:
verilogfile.cpp:159
Verilog_File::ErrText
QString ErrText
Definition:
verilogfile.h:43
Verilog_File_Info::PortNames
QString PortNames
Definition:
verilogfile.h:55
Verilog_File::ModuleName
QString ModuleName
Definition:
verilogfile.h:42
Verilog_File_Info::~Verilog_File_Info
~Verilog_File_Info()
Definition:
verilogfile.h:50
component.h
Verilog_File::newOne
Component * newOne()
Definition:
verilogfile.cpp:46
MultiViewComponent
Definition:
component.h:100
Generated on Mon Sep 1 2014 20:05:20 for Qucs-GUI by
1.8.6