From 50598902c235934936cb18eab42e4a6c67004f1a Mon Sep 17 00:00:00 2001
From: dam1n19 <dam1n19@soton.ac.uk>
Date: Wed, 5 Jul 2023 10:19:50 +0100
Subject: [PATCH] Updated default top-module for htmlgen

---
 bin/htmlgen/project_html_gen.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/htmlgen/project_html_gen.py b/bin/htmlgen/project_html_gen.py
index 417c263..2c25d97 100755
--- a/bin/htmlgen/project_html_gen.py
+++ b/bin/htmlgen/project_html_gen.py
@@ -49,9 +49,9 @@ def project_gen(args):
         # Generate bootrom
         bootrom_gen()
         # Find all filelist in project filelist directory
-        for filelist in os.listdir(os.getenv("SOCLABS_PROJECT_DIR")+"/flist/project"):
-            filelist_path = os.getenv("SOCLABS_PROJECT_DIR")+"/flist/project/"+filelist
-            html_gen(filelist_path)
+        # for filelist in os.listdir(os.getenv("SOCLABS_PROJECT_DIR")+"/flist/project"):
+        filelist_path = os.getenv("SOCLABS_PROJECT_DIR")+"/flist/project/"+"top.flist"
+        html_gen(filelist_path)
     else:
         if args.bootrom is True:
             # Generate bootrom
-- 
GitLab