summaryrefslogtreecommitdiff
path: root/hdl/config.py
diff options
context:
space:
mode:
authorjjsuperpower <jjs29356@gmail.com>2022-09-05 17:51:57 -0500
committerjjsuperpower <jjs29356@gmail.com>2022-09-05 17:51:57 -0500
commita2bbe116cb725c92bca19aa25a3a74401c02107f (patch)
treefb0a4787771926f4fbc0194d29995b7948fcc5c5 /hdl/config.py
parentcb5f2d9b12358a943943ed0ce29b3f700db0ba06 (diff)
Restructuring and organizing
Diffstat (limited to 'hdl/config.py')
-rw-r--r--hdl/config.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/hdl/config.py b/hdl/config.py
new file mode 100644
index 0000000..4761c0a
--- /dev/null
+++ b/hdl/config.py
@@ -0,0 +1,8 @@
+import os
+
+ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
+
+HDL_PATH = os.path.join(ROOT_DIR, 'hdl')
+VERILOG_DIR = os.path.join(ROOT_DIR, 'gen_verilog')
+CXXRTL_DIR = os.path.join(ROOT_DIR, 'gen_cxxrtl')
+VCD_DIR = os.path.join(ROOT_DIR, 'gen_vcd') \ No newline at end of file