From 06f9a2771b5a23561ebc941d5b958aa637a56c11 Mon Sep 17 00:00:00 2001 From: Shahed Hassan Mahmad <78405065+shahed22@users.noreply.github.com> Date: Wed, 31 Jul 2024 06:35:36 +0530 Subject: [PATCH] Create main.py --- main.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 main.py diff --git a/main.py b/main.py new file mode 100644 index 0000000..6082b39 --- /dev/null +++ b/main.py @@ -0,0 +1,18 @@ +# main.py +import tkinter as tk +from tkinter import ttk, simpledialog, messagebox +from gui import create_gui +from verilog_generator import create_verilog_module +from utils import parse_ports, get_file_name, get_state_machine_states +from graph_utils import generate_state_diagram + +def main(): + root = tk.Tk() + root.title("Verilog Module Creator") + + create_gui(root) + + root.mainloop() + +if __name__ == "__main__": + main()