diff --git a/modules.ini b/modules.ini index 20aada2..7de1f13 100644 --- a/modules.ini +++ b/modules.ini @@ -114,6 +114,14 @@ contents = verilog license = License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) license_spdx = MPL-2.0 +[openc906] +type = cpu +human_name = OpenC906 +src = https://github.com/XUANTIE-RV/openc906 +contents = verilog +license = License :: OSI Approved :: Apache Software License +license_spdx = Apache-2.0 + [opentitan] type = misc human_name = OpenTitan diff --git a/update.py b/update.py index 1c5cb74..29246f0 100755 --- a/update.py +++ b/update.py @@ -381,6 +381,7 @@ def update(module_data): u("Updating", repo_root, root) if not os.path.exists(repo_root): os.makedirs(repo_root) + subprocess_check_call(['git', 'init', '-b', 'master'], cwd=repo_root) for d in dirs: path_d = os.path.join(path, d)