diff options
author | rahulp13 | 2022-02-22 01:15:43 +0530 |
---|---|---|
committer | rahulp13 | 2022-02-22 01:31:40 +0530 |
commit | 7aa5afaeb6ac078d233383663ec6f96e20420b43 (patch) | |
tree | 225d18a1d09811f952f76f5b6ab0e66cf237d02d /src/maker/NgVeri.py | |
parent | 43ff549b6fa887f532d0944bc4fa0c745f915447 (diff) | |
download | eSim-7aa5afaeb6ac078d233383663ec6f96e20420b43.tar.gz eSim-7aa5afaeb6ac078d233383663ec6f96e20420b43.tar.bz2 eSim-7aa5afaeb6ac078d233383663ec6f96e20420b43.zip |
Prompt ToS if Sandpiper-SaaS directly invoked
Diffstat (limited to 'src/maker/NgVeri.py')
-rwxr-xr-x | src/maker/NgVeri.py | 11 |
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": |