diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..9dccb448533f2b8ccc6bb01eb5b0177173bc4d5d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+# Ignore generated package file
+hdl/pkg_version.vhd
diff --git a/tcl/main.tcl b/tcl/main.tcl
index eb4725808471cb1d67d8ee526d54bf4066003567..81730b78e83522b00b7b71d6c399c956ec7786cb 100644
--- a/tcl/main.tcl
+++ b/tcl/main.tcl
@@ -14,6 +14,10 @@ proc init {} {
 # ==============================================================================
 proc setSources {} {
   variable Vhdl
+
+  # Generate VHDL package with modle version
+  genModVerFile VHDL ../hdl/pkg_version.vhd
+
   lappend Vhdl ../hdl/combpm_protocol_electron.vhd
   lappend Vhdl ../hdl/top_combpm_electron.vhd
   lappend Vhdl ../others/gthe_common.vhd