summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrahulp132022-02-28 17:05:32 +0530
committerrahulp132022-02-28 17:05:32 +0530
commit9686d45404cd272310173f8ef0ce61380c3d0b40 (patch)
tree88f8dd83feab3fb5348fed85b31b2530678c0af6 /src
parentd8d0ac9c386d5fa5ec693650221501867f75c8b4 (diff)
downloadeSim-9686d45404cd272310173f8ef0ce61380c3d0b40.tar.gz
eSim-9686d45404cd272310173f8ef0ce61380c3d0b40.tar.bz2
eSim-9686d45404cd272310173f8ef0ce61380c3d0b40.zip
Refactored display names in NgVeri UI
Diffstat (limited to 'src')
-rw-r--r--src/frontEnd/Application.py2
-rwxr-xr-xsrc/maker/Maker.py4
-rwxr-xr-xsrc/maker/NgVeri.py18
3 files changed, 12 insertions, 12 deletions
diff --git a/src/frontEnd/Application.py b/src/frontEnd/Application.py
index 24955c60..d3ef020f 100644
--- a/src/frontEnd/Application.py
+++ b/src/frontEnd/Application.py
@@ -193,7 +193,7 @@ class Application(QtWidgets.QMainWindow):
self.ngspice = QtWidgets.QAction(
QtGui.QIcon(init_path + 'images/ngspice.png'),
- '<b>Simulation</b>', self
+ '<b>Simulate</b>', self
)
self.ngspice.triggered.connect(self.open_ngspice)
diff --git a/src/maker/Maker.py b/src/maker/Maker.py
index c7a66204..e5d11988 100755
--- a/src/maker/Maker.py
+++ b/src/maker/Maker.py
@@ -357,7 +357,7 @@ Please check if verilog file is chosen.")
# self.optionsbox2.setTitle("Note: Please save the file once edited")
# self.optionsgrid2 = QtWidgets.QGridLayout()
self.optionsgroupbtn = QtWidgets.QButtonGroup()
- self.addoptions = QtWidgets.QPushButton("Add Top Level Verilog file")
+ self.addoptions = QtWidgets.QPushButton("Add Top Level Verilog Model")
self.optionsgroupbtn.addButton(self.addoptions)
self.addoptions.clicked.connect(self.addverilog)
self.optionsgrid.addWidget(self.addoptions, 0, 1)
@@ -375,7 +375,7 @@ Please check if verilog file is chosen.")
self.optionsgrid.addWidget(self.saveoption, 0, 3)
# self.optionsbox.setLayout(self.optionsgrid)
# self.grid.addWidget(self.creategroup(), 1, 0, 5, 0)
- self.runoptions = QtWidgets.QPushButton("Edit in Makerchip")
+ self.runoptions = QtWidgets.QPushButton("Edit in Makerchip IDE")
self.runoptions.setToolTip(
"Requires internet connection and a browser"
)
diff --git a/src/maker/NgVeri.py b/src/maker/NgVeri.py
index 193c51d0..4a221964 100755
--- a/src/maker/NgVeri.py
+++ b/src/maker/NgVeri.py
@@ -229,7 +229,7 @@ class NgVeri(QtWidgets.QWidget):
self.optionsgroupbtn = QtWidgets.QButtonGroup()
self.addverilogbutton = QtWidgets.QPushButton(
- "Run Verilog to NgSpice Converter")
+ "Convert Verilog to Ngspice")
self.addverilogbutton.setToolTip(
"Requires internet connection for converting TL-Verilog models"
)
@@ -240,14 +240,14 @@ class NgVeri(QtWidgets.QWidget):
# self.optionsbox.setLayout(self.optionsgrid)
# self.grid.addWidget(self.creategroup(), 1, 0, 5, 0)
- self.addfilebutton = QtWidgets.QPushButton("Add Other file")
+ self.addfilebutton = QtWidgets.QPushButton("Add dependency files")
self.optionsgroupbtn.addButton(self.addfilebutton)
self.addfilebutton.clicked.connect(self.addfile)
self.optionsgrid.addWidget(self.addfilebutton, 0, 2)
# self.optionsbox.setLayout(self.optionsgrid)
# self.grid.addWidget(self.creategroup(), 1, 0, 5, 0)
- self.addfolderbutton = QtWidgets.QPushButton("Add Folder")
+ self.addfolderbutton = QtWidgets.QPushButton("Add dependency folder")
self.optionsgroupbtn.addButton(self.addfolderbutton)
self.addfolderbutton.clicked.connect(self.addfolder)
self.optionsgrid.addWidget(self.addfolderbutton, 0, 3)
@@ -266,7 +266,7 @@ class NgVeri(QtWidgets.QWidget):
# This function is used to remove models in modlst of Ngspice folder if
# the user wants to remove a model. Note: files do not get removed
def edit_modlst(self, text):
- if text == "Edit modlst":
+ if text == "Remove Verilog Models":
return
index = self.entry_var[1].findText(text)
self.entry_var[1].removeItem(index)
@@ -316,7 +316,7 @@ class NgVeri(QtWidgets.QWidget):
if os.name == 'nt':
init_path = ''
- if text == "Edit lint_off":
+ if text == "Remove lint_off":
return
index = self.entry_var[2].findText(text)
self.entry_var[2].removeItem(index)
@@ -357,7 +357,7 @@ class NgVeri(QtWidgets.QWidget):
file.close()
self.entry_var[3].setText("")
- # creating various other groups like terminal, edit modlst, edit lint_off
+ # creating various other groups like terminal, remove modlst, remove lint_off
# and add lint_off
def creategroup(self):
@@ -380,7 +380,7 @@ class NgVeri(QtWidgets.QWidget):
self.count += 1
self.entry_var[self.count] = QtWidgets.QComboBox()
- self.entry_var[self.count].addItem("Edit modlst")
+ self.entry_var[self.count].addItem("Remove Verilog Models")
self.modlst = open(self.digital_home + '/modpath.lst', 'r')
self.data = self.modlst.readlines()
self.modlst.close()
@@ -391,7 +391,7 @@ class NgVeri(QtWidgets.QWidget):
self.trgrid.addWidget(self.entry_var[self.count], 1, 4, 1, 2)
self.count += 1
self.entry_var[self.count] = QtWidgets.QComboBox()
- self.entry_var[self.count].addItem("Edit lint_off")
+ self.entry_var[self.count].addItem("Remove lint_off")
init_path = '../../'
if os.name == 'nt':
@@ -410,7 +410,7 @@ class NgVeri(QtWidgets.QWidget):
self.trgrid.addWidget(self.entry_var[self.count], 3, 4)
self.entry_var[self.count].setMaximumWidth(100)
self.count += 1
- self.entry_var[self.count] = QtWidgets.QPushButton("Add Lint_Off")
+ self.entry_var[self.count] = QtWidgets.QPushButton("Add lint_off")
self.entry_var[self.count].setMaximumWidth(100)
self.trgrid.addWidget(self.entry_var[self.count], 3, 5)
self.entry_var[self.count].clicked.connect(self.add_lint_off)