diff --git a/bin/htmlgen/project_html_gen.py b/bin/htmlgen/project_html_gen.py
index 417c2636648be9d24556f790d5d46246ba4b53fd..2c25d97bd6b1c05c7d046621de90a1957e488c14 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