From 78f558236a14aaee646e13ffb00667641e67dea0 Mon Sep 17 00:00:00 2001 From: Mateusz Kosmala Date: Fri, 10 Sep 2021 12:49:18 +0200 Subject: [PATCH 1/3] Separate elements of structure in report-template --- conf/report/partials/body-begin.html | 5 +++ conf/report/partials/body-end.html | 4 +++ conf/report/partials/content-begin.html | 5 +++ conf/report/partials/content-end.html | 18 +++++++++++ conf/report/partials/page-begin.html | 9 ++++++ conf/report/partials/page-end.html | 4 +++ conf/report/report-template.html | 42 +++++++------------------ tools/sv-report | 12 +++++-- 8 files changed, 67 insertions(+), 32 deletions(-) create mode 100644 conf/report/partials/body-begin.html create mode 100644 conf/report/partials/body-end.html create mode 100644 conf/report/partials/content-begin.html create mode 100644 conf/report/partials/content-end.html create mode 100644 conf/report/partials/page-begin.html create mode 100644 conf/report/partials/page-end.html diff --git a/conf/report/partials/body-begin.html b/conf/report/partials/body-begin.html new file mode 100644 index 0000000000000..a20c1c11f6603 --- /dev/null +++ b/conf/report/partials/body-begin.html @@ -0,0 +1,5 @@ +{% if False %} + +{% endif %} + + diff --git a/conf/report/partials/body-end.html b/conf/report/partials/body-end.html new file mode 100644 index 0000000000000..eb72cd3c43ec0 --- /dev/null +++ b/conf/report/partials/body-end.html @@ -0,0 +1,4 @@ +{% if False %} + +{% endif %} + diff --git a/conf/report/partials/content-begin.html b/conf/report/partials/content-begin.html new file mode 100644 index 0000000000000..69d8e5190e4cb --- /dev/null +++ b/conf/report/partials/content-begin.html @@ -0,0 +1,5 @@ +{% if False %} + +{% endif %} +

SV-Tests

+

Test suite to check compliance with the SystemVerilog LRM by chapter as well as some real-world cores and test-cases.

diff --git a/conf/report/partials/content-end.html b/conf/report/partials/content-end.html new file mode 100644 index 0000000000000..3dc17f6e53ec8 --- /dev/null +++ b/conf/report/partials/content-end.html @@ -0,0 +1,18 @@ +{% if False %} + +{% endif %} +
+ Download a summary in csv + +

+ diff --git a/conf/report/partials/page-begin.html b/conf/report/partials/page-begin.html new file mode 100644 index 0000000000000..37cb5afe9118e --- /dev/null +++ b/conf/report/partials/page-begin.html @@ -0,0 +1,9 @@ +{% if False %} + +{% endif %} + + + + + + {{ title }} diff --git a/conf/report/partials/page-end.html b/conf/report/partials/page-end.html new file mode 100644 index 0000000000000..1963dcecfa514 --- /dev/null +++ b/conf/report/partials/page-end.html @@ -0,0 +1,4 @@ +{% if False %} + +{% endif %} + diff --git a/conf/report/report-template.html b/conf/report/report-template.html index b9fe401813184..2b3aa22aaaf17 100644 --- a/conf/report/report-template.html +++ b/conf/report/report-template.html @@ -1,12 +1,9 @@ {% if False %} {% endif %} - - - - - SystemVerilog Report +{% include "page-begin.html" %} + @@ -18,9 +15,8 @@ - - - + + +