summaryrefslogtreecommitdiff
path: root/src/maker/NgVeri.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/maker/NgVeri.py')
-rwxr-xr-xsrc/maker/NgVeri.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/maker/NgVeri.py b/src/maker/NgVeri.py
index 496782f9..3a1cc845 100755
--- a/src/maker/NgVeri.py
+++ b/src/maker/NgVeri.py
@@ -104,6 +104,17 @@ class NgVeri(QtWidgets.QWidget):
file = (os.path.basename(self.fname)).split('.')[0]
if self.entry_var[1].findText(file) == -1:
self.entry_var[1].addItem(file)
+
+ if not Maker.makerchipTOSAccepted(True):
+ QtWidgets.QMessageBox.warning(
+ None, "Warning Message",
+ "Please accept the Makerchip Terms of Service "
+ "to proceed further.",
+ QtWidgets.QMessageBox.Ok
+ )
+
+ return
+
model.verilogfile()
error = model.verilogParse()
if error != "Error":