mirror of
https://github.com/verilator/verilator.git
synced 2026-10-02 16:13:34 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d0aa828c21 | ||
|
|
42ea9fda17 | ||
|
|
00211c290c | ||
|
|
5c989025c7 | ||
|
|
d1c0184916 | ||
|
|
07d91fb253 | ||
|
|
555d7cc043 | ||
|
|
b8d59ed7a8 | ||
|
|
b1d3d63e9f | ||
|
|
2cd9b8df66 | ||
|
|
64b91023b1 | ||
|
|
121fd3f613 | ||
|
|
ba3937734f | ||
|
|
7e0f25b41b | ||
|
|
27e7fdc9eb | ||
|
|
ae642facf5 | ||
|
|
3149f43372 | ||
|
|
cfebe805c9 | ||
|
|
46a6884df6 | ||
|
|
72bbccb543 | ||
|
|
c1d1b333ac | ||
|
|
5064a5ee65 | ||
|
|
6945f04531 | ||
|
|
51eb5346c8 | ||
|
|
e4da16caf0 | ||
|
|
a680919edc | ||
|
|
41ddf4d9b6 | ||
|
|
5cddbd7fda | ||
|
|
496665800d | ||
|
|
59fe8066ff | ||
|
|
15163d1e39 | ||
|
|
686594b4ab | ||
|
|
a1a8b9624c | ||
|
|
280cff06f3 | ||
|
|
c60d8f002f | ||
|
|
bca5839d46 | ||
|
|
2b9d006097 | ||
|
|
2ef979a39c | ||
|
|
23ea3d7f11 | ||
|
|
94e3f387a7 | ||
|
|
cd30c22d1c | ||
|
|
81f6cdc32c | ||
|
|
23ca23b7b5 | ||
|
|
f3c63d017a | ||
|
|
ffd2c5c69e | ||
|
|
93d7d9c417 | ||
|
|
935b2564eb | ||
|
|
e82bd52fa3 | ||
|
|
60b41c7822 | ||
|
|
97454a1bc5 | ||
|
|
f7a349c5a7 | ||
|
|
29a93fe5bc | ||
|
|
707dcea914 | ||
|
|
0537999b1d | ||
|
|
ba508c00d2 | ||
|
|
72952fd3fb | ||
|
|
3587ac48a4 | ||
|
|
4fe121e5aa | ||
|
|
1011ea86fa | ||
|
|
885fbaf075 | ||
|
|
c143c2fdd2 | ||
|
|
7f571971ca | ||
|
|
38b7734530 | ||
|
|
ab0264deca | ||
|
|
7e3400b37d | ||
|
|
9eb2ba4c54 | ||
|
|
2770e649ba | ||
|
|
ec4f66120c | ||
|
|
232e6b55fa | ||
|
|
023b2edd48 | ||
|
|
6ba45d3383 | ||
|
|
fd7a3f4a16 | ||
|
|
369a315c27 | ||
|
|
83b2061a35 | ||
|
|
14e2f834e9 | ||
|
|
fac07970e6 | ||
|
|
be7d26c5be | ||
|
|
fed8275e42 | ||
|
|
0891d51c75 | ||
|
|
d2c3d134c9 | ||
|
|
dc33e8bb18 | ||
|
|
529a6b7f93 | ||
|
|
b886367128 | ||
|
|
89c93980f3 | ||
|
|
a8f62703ab | ||
|
|
081ecbd095 | ||
|
|
6595e5cf55 | ||
|
|
4da31b0418 | ||
|
|
cf9a52cb92 | ||
|
|
854e80c3c2 | ||
|
|
ecf6d9b674 | ||
|
|
f32a692ce3 | ||
|
|
bb84bb643b | ||
|
|
1b4f574b31 | ||
|
|
d20d765dd0 | ||
|
|
426cc29d7a | ||
|
|
afd75ed1b8 | ||
|
|
fb66174d80 | ||
|
|
cf6a2aec19 | ||
|
|
9f9532ff78 | ||
|
|
e63c4f563e | ||
|
|
7dcf586807 | ||
|
|
141fe8bdad | ||
|
|
2736262b98 | ||
|
|
8c11d0d0bd | ||
|
|
dfb7b034a5 | ||
|
|
72b2ca5585 | ||
|
|
0df0064d64 | ||
|
|
9f4546fcb9 | ||
|
|
5b9cd12530 | ||
|
|
33493cf5b4 | ||
|
|
2796294396 | ||
|
|
94f3e16a6c | ||
|
|
4b6bc1ff83 | ||
|
|
3b454a6f60 | ||
|
|
adb48046c2 | ||
|
|
de8d3c9356 | ||
|
|
00bf59ac92 | ||
|
|
ed0506ea8d | ||
|
|
efd60df2be | ||
|
|
e7a644a3fc | ||
|
|
56ed47ee7c | ||
|
|
1e5c93cc51 | ||
|
|
32672deb6f | ||
|
|
d7c484ae85 | ||
|
|
2e151c3b74 | ||
|
|
894f6c4c58 | ||
|
|
6aa6c45c73 | ||
|
|
b4a0ca8ba6 | ||
|
|
dbd4823323 | ||
|
|
1096740113 | ||
|
|
62ffe43a82 | ||
|
|
6aa1690745 | ||
|
|
dc67dc6dc8 | ||
|
|
c8a596e43e | ||
|
|
2458819794 | ||
|
|
ff37860e0c | ||
|
|
04f410622b | ||
|
|
bf453361f6 | ||
|
|
55958efbe1 | ||
|
|
be6780e44b | ||
|
|
d55790c91b | ||
|
|
86eb6f060f | ||
|
|
600eb7ec86 | ||
|
|
5036af3d37 | ||
|
|
092d3d4de0 | ||
|
|
e0b4d5ad44 | ||
|
|
31757df229 | ||
|
|
82c817d425 | ||
|
|
8d109e85d0 | ||
|
|
e826a47ad6 | ||
|
|
91e6e3aca8 | ||
|
|
087dae2a5d | ||
|
|
f66df9e70e | ||
|
|
ba9a7aaa66 | ||
|
|
55e5f01758 | ||
|
|
9ed7a9f98b | ||
|
|
f12cdac8da | ||
|
|
2759f2ab16 | ||
|
|
e0fc69a2f0 | ||
|
|
382f5003ca | ||
|
|
057039e81c | ||
|
|
c28ed348fd | ||
|
|
7fc76dd9d3 | ||
|
|
c5364254bb | ||
|
|
5d2d05236e | ||
|
|
e5adb60461 | ||
|
|
37a316f0f8 | ||
|
|
f369a629c7 | ||
|
|
e0963bd587 | ||
|
|
fbc3b3618d | ||
|
|
3ddf7ad6ec | ||
|
|
afa071a822 | ||
|
|
728ddf3331 | ||
|
|
860ac67c04 | ||
|
|
d33a81d32a | ||
|
|
d00f23a2b2 | ||
|
|
e508d2a6d7 | ||
|
|
855884f748 | ||
|
|
24918b83be | ||
|
|
fd2dfd6982 | ||
|
|
c58df87c27 | ||
|
|
5060f884b5 | ||
|
|
464ef88193 | ||
|
|
aff85cef19 | ||
|
|
0b2bf991a6 | ||
|
|
6873dc2f63 | ||
|
|
9a01a4054a | ||
|
|
3b328d2bb6 | ||
|
|
716b404256 | ||
|
|
06263ec724 | ||
|
|
ee7ec08cf5 | ||
|
|
b9c8560d12 | ||
|
|
921607fd35 | ||
|
|
157fa9e4c5 | ||
|
|
13ceeb6add | ||
|
|
a3222bee94 | ||
|
|
947cbaf330 | ||
|
|
7e71bd1469 | ||
|
|
05f640459e | ||
|
|
4dae9ed4e9 | ||
|
|
92172e32c4 | ||
|
|
13cf9ba075 | ||
|
|
fa30e0c9b5 | ||
|
|
416b30d884 | ||
|
|
086bf351f2 | ||
|
|
9ea7abd1c7 | ||
|
|
c3fc0d9f0f | ||
|
|
331cac2054 | ||
|
|
b71abb0032 | ||
|
|
a8bccab8e6 | ||
|
|
25c3bc814e | ||
|
|
998ec5b1d7 | ||
|
|
9180eebdba | ||
|
|
94f8181cff | ||
|
|
49716995fa | ||
|
|
ef1f6d59b2 | ||
|
|
adcbc86016 | ||
|
|
7b2277f584 | ||
|
|
087cabcf35 | ||
|
|
a0a684109f | ||
|
|
b8ca9292a4 | ||
|
|
907e775aa6 | ||
|
|
a2154e9119 | ||
|
|
4b34bfffcb | ||
|
|
612d1611b6 | ||
|
|
3bb0ea63ad | ||
|
|
8925762077 | ||
|
|
316fb02c60 | ||
|
|
ef5281ab73 | ||
|
|
f4b09cffa7 | ||
|
|
de2c891ca5 | ||
|
|
e4bc792732 | ||
|
|
d57324e5fb | ||
|
|
be0f4a507e | ||
|
|
bf792f1809 | ||
|
|
e5d0b89bfc | ||
|
|
651f223387 | ||
|
|
1e50fefb89 | ||
|
|
602ee384de | ||
|
|
42cf5d3be2 | ||
|
|
9d38a63563 | ||
|
|
bb5a9dc247 | ||
|
|
7cd49a8028 | ||
|
|
e0f1f316aa | ||
|
|
c0d0180918 | ||
|
|
4b53f5f978 | ||
|
|
c74eee5123 | ||
|
|
08c6d5bde5 | ||
|
|
a787d631ce | ||
|
|
f2fdc57366 | ||
|
|
1198ee919d | ||
|
|
b3a1a15e2b | ||
|
|
cbf8d97a76 | ||
|
|
aca2c05ad9 | ||
|
|
d87035d187 | ||
|
|
be429ce956 | ||
|
|
f351882cf0 | ||
|
|
985f45759c | ||
|
|
db9d782061 | ||
|
|
cd8818ca23 | ||
|
|
4e6eafd994 | ||
|
|
5bf1d060c9 | ||
|
|
3ba9077726 | ||
|
|
15c60c83aa | ||
|
|
a7a5c9f548 | ||
|
|
2046879beb | ||
|
|
1b2b8afdc1 | ||
|
|
1f67080a1f | ||
|
|
b33537d7a7 | ||
|
|
07ed6aef53 | ||
|
|
9c5f4e2483 | ||
|
|
0019c12242 | ||
|
|
3097df46fa | ||
|
|
68d6dd7eee | ||
|
|
67ced4715d | ||
|
|
4d369e4262 | ||
|
|
cf965464a2 | ||
|
|
b38c4bd7d6 | ||
|
|
bef5c1f475 | ||
|
|
efa53189ea | ||
|
|
cedec65c39 | ||
|
|
b89d29cab9 | ||
|
|
c2d65c2e13 | ||
|
|
caf624944f | ||
|
|
fb00eb3bc6 | ||
|
|
45a5e72509 | ||
|
|
4f4d48e9d7 | ||
|
|
258629634c | ||
|
|
e5ad9b3a4b | ||
|
|
572f50126b | ||
|
|
c93f5256d4 | ||
|
|
4ff518de61 | ||
|
|
9150e9b522 | ||
|
|
84f3cc4f48 | ||
|
|
1bf2ea7643 | ||
|
|
7acd73fede | ||
|
|
c34cd6ddf1 | ||
|
|
9a5c1d27c8 | ||
|
|
44701201ac | ||
|
|
7cf539cf05 | ||
|
|
3bc73cc768 | ||
|
|
5f3d475736 | ||
|
|
f232449252 | ||
|
|
ce4d35aa85 | ||
|
|
5821d0697c | ||
|
|
ed84f3adb2 | ||
|
|
ee68d1c70c | ||
|
|
1f2f4d9bba | ||
|
|
d406efdcf9 | ||
|
|
251d1835cf | ||
|
|
a3870c5e5e | ||
|
|
8a413b3ec7 | ||
|
|
108d209bd7 | ||
|
|
192445097a | ||
|
|
6c48b3282e | ||
|
|
3249fd8cc0 | ||
|
|
9d8baa1e44 | ||
|
|
97838325cd | ||
|
|
77ce9cec1e | ||
|
|
26eac21432 | ||
|
|
e9dd6eaaf0 | ||
|
|
e23c7a510e | ||
|
|
230ce772c2 | ||
|
|
2e351651cb | ||
|
|
17ad3970ee | ||
|
|
098fe96643 | ||
|
|
99238f67b8 | ||
|
|
2ceea267e5 | ||
|
|
face700f29 | ||
|
|
139bdc1ae3 | ||
|
|
1af7fa92c2 | ||
|
|
6f892d58ac | ||
|
|
df6b808c49 | ||
|
|
8705bc56c8 | ||
|
|
02c1dbc5dc | ||
|
|
1716423d07 | ||
|
|
1e6c1ab106 | ||
|
|
d40036239b | ||
|
|
5ae285d268 | ||
|
|
24b2ac24c7 | ||
|
|
af65a85a1e | ||
|
|
2efcfa567c | ||
|
|
3190442f86 | ||
|
|
6f96ff8df6 | ||
|
|
22290a74c2 | ||
|
|
d658517715 | ||
|
|
8d34bc786a | ||
|
|
7dde11b4c6 | ||
|
|
ef498255f9 | ||
|
|
c28200c53a | ||
|
|
10eafb9b3f | ||
|
|
9bc88ff1bc | ||
|
|
e976424efa | ||
|
|
826b03c21f | ||
|
|
7607f0e7fa | ||
|
|
3992da6027 | ||
|
|
1c41f87d67 | ||
|
|
387cc206b3 | ||
|
|
6a5d3b0b72 | ||
|
|
f7c5454d91 | ||
|
|
8c7f08dfc3 | ||
|
|
7c923bb330 | ||
|
|
97fd6a5a13 | ||
|
|
1e5a6901c8 | ||
|
|
f74a581d97 | ||
|
|
da51021b0a | ||
|
|
e238a2ca5e | ||
|
|
7f0be8a072 | ||
|
|
38d5da7a24 | ||
|
|
1717df0261 | ||
|
|
350966de6b | ||
|
|
579acced99 | ||
|
|
443678d8c4 | ||
|
|
79e1f33173 | ||
|
|
78ee787bb1 | ||
|
|
e023113b79 | ||
|
|
03ed6a5bd3 | ||
|
|
a4ad255438 | ||
|
|
0051d91555 | ||
|
|
927b6fd3c1 | ||
|
|
67cc65e6f3 | ||
|
|
a250183c72 | ||
|
|
c970743b07 | ||
|
|
f25a85ea57 | ||
|
|
e0edb49f7a | ||
|
|
52a6de29cb | ||
|
|
2d86f1373e | ||
|
|
ace9a34c10 | ||
|
|
0d2fcfd49d | ||
|
|
4a4f8c6698 | ||
|
|
69564078da | ||
|
|
d6f8425e16 | ||
|
|
2309d52fd6 | ||
|
|
ff3028aca3 | ||
|
|
0e26b049ea | ||
|
|
f843780aad | ||
|
|
702d6ede09 | ||
|
|
3b7dfce6f5 | ||
|
|
2cd8dc6cf7 | ||
|
|
cf1de0b9a8 | ||
|
|
da28c67e60 | ||
|
|
7176bdcff6 | ||
|
|
5d0352ab46 | ||
|
|
81d1d79585 | ||
|
|
089672b200 | ||
|
|
9049c93009 | ||
|
|
a1a9147267 | ||
|
|
5834f22944 | ||
|
|
ed2f018729 | ||
|
|
7182e8d937 | ||
|
|
6c5dee5043 | ||
|
|
300be3e388 | ||
|
|
1f157b36f5 | ||
|
|
ed3aa43657 | ||
|
|
4357aee09a | ||
|
|
5173f7e42f | ||
|
|
994ef82e76 | ||
|
|
7fc428f518 | ||
|
|
8491d6a80c | ||
|
|
c21498293e | ||
|
|
14a94b6de9 | ||
|
|
821eacebea | ||
|
|
7c1b348b41 | ||
|
|
28d04c809f | ||
|
|
505d33b35a | ||
|
|
a0b89dde8e | ||
|
|
be27811a10 | ||
|
|
a45a058b09 | ||
|
|
e0c626e48a | ||
|
|
7d71c3bb76 | ||
|
|
0aaf17acfd | ||
|
|
64511d30b6 | ||
|
|
3dd2b762e7 | ||
|
|
b84466ec10 | ||
|
|
b0fdbff6eb | ||
|
|
13b1321985 | ||
|
|
fed41aba91 | ||
|
|
9b1b9a5b3b | ||
|
|
446bec3d1a | ||
|
|
e41436bd4a | ||
|
|
554fcef627 | ||
|
|
996a4b6e1a | ||
|
|
84350859e0 | ||
|
|
5d12ae3a2f | ||
|
|
22dc437dbb | ||
|
|
67bff893bf | ||
|
|
2bb807a931 | ||
|
|
a031dd1a22 | ||
|
|
021e0ba81b | ||
|
|
925543676e | ||
|
|
8791e6c5f2 | ||
|
|
6303eb45ce | ||
|
|
a660fa54a7 | ||
|
|
a28bd5a085 | ||
|
|
e36838ad8e | ||
|
|
5a236dd35d | ||
|
|
ba194f3790 | ||
|
|
9ba625225d | ||
|
|
8700617fae | ||
|
|
3752102879 | ||
|
|
e12c62c070 | ||
|
|
c1db30523f | ||
|
|
0c83594e1e | ||
|
|
bbb231dfe2 | ||
|
|
9068e2e5b5 | ||
|
|
bb0e1c8c61 | ||
|
|
abdac02b50 | ||
|
|
8922794088 | ||
|
|
6100c39764 | ||
|
|
dc26dd601d | ||
|
|
9a8538fafa | ||
|
|
60b52a4986 | ||
|
|
b14d65a787 | ||
|
|
2215d01d6b | ||
|
|
b82f6beffb | ||
|
|
c83ae4a3ca | ||
|
|
9fab6bfcf0 | ||
|
|
bee456822e | ||
|
|
1adedd0bfa | ||
|
|
4e9792c34c | ||
|
|
4aa0ea3f27 | ||
|
|
55eaa64386 | ||
|
|
57c3b8e51b | ||
|
|
515841cf15 | ||
|
|
229a696ab8 | ||
|
|
1dd80996cd | ||
|
|
aaa5c5e857 | ||
|
|
3c680ba5a4 | ||
|
|
a778870e69 | ||
|
|
ad85d89817 | ||
|
|
f9c76e84a6 | ||
|
|
0fcc68e4b8 | ||
|
|
76c4ae5683 | ||
|
|
bb979a00c8 | ||
|
|
9083b238e5 | ||
|
|
268f5c3367 | ||
|
|
b2fa3fb54e | ||
|
|
407fc74195 | ||
|
|
c1e343d9cf | ||
|
|
a05cbd8382 | ||
|
|
d3f608058f | ||
|
|
7ca113a84f | ||
|
|
1b2e13a0d8 | ||
|
|
b9b0bf2e19 | ||
|
|
9c05c4d622 | ||
|
|
5e5dcdbdbd | ||
|
|
ca17904a62 | ||
|
|
197f11044e | ||
|
|
f0afcede10 | ||
|
|
122ceb2258 | ||
|
|
bef709a235 | ||
|
|
cea4c88e12 | ||
|
|
07ce0ac2ea | ||
|
|
d9234501e0 | ||
|
|
0915ae6ba8 | ||
|
|
f472c2da6e | ||
|
|
b9ef4a6c48 | ||
|
|
996ae35a1b | ||
|
|
7e56a2334a | ||
|
|
5547833dde | ||
|
|
913cf07491 | ||
|
|
30e6cd9092 | ||
|
|
76949f00d3 | ||
|
|
7875552354 | ||
|
|
5b84635bde | ||
|
|
7c6c6a684b | ||
|
|
bd127488f2 | ||
|
|
d3ecba7699 | ||
|
|
67df517bec | ||
|
|
1b9f38f78f | ||
|
|
41b131389e | ||
|
|
2ddfcbed16 | ||
|
|
430015e234 | ||
|
|
140b2f2b2e | ||
|
|
ad5005f8f5 | ||
|
|
4ff57514c8 | ||
|
|
56a089af94 | ||
|
|
1e7198eabb | ||
|
|
b456d903e2 | ||
|
|
07b61d3745 | ||
|
|
2737a22793 | ||
|
|
567fba3695 | ||
|
|
bc3c5b32dd | ||
|
|
a7db9ee32f | ||
|
|
ddbcd66722 | ||
|
|
86cd249816 | ||
|
|
488fe4208f | ||
|
|
c4dcdeab9a | ||
|
|
ea9752ab43 | ||
|
|
ac4f9f013e | ||
|
|
db9bd3a792 | ||
|
|
3a080ef543 | ||
|
|
50b6954cfc | ||
|
|
cedf000a66 | ||
|
|
b7382be0b6 | ||
|
|
daba5ce27c | ||
|
|
b5fdcdf745 | ||
|
|
98114428cb | ||
|
|
12080dfcb1 | ||
|
|
26ebb14c98 | ||
|
|
3b6674386c | ||
|
|
f6532728f6 | ||
|
|
e6be548f72 | ||
|
|
913cf933e9 | ||
|
|
b87675c0ea | ||
|
|
6fc9089a77 | ||
|
|
550cf4462d | ||
|
|
8b2144a9db | ||
|
|
3072907ea4 | ||
|
|
4563501192 | ||
|
|
09ca7ea8d1 | ||
|
|
8a24897c13 | ||
|
|
823c53fb15 | ||
|
|
a3d0f16185 | ||
|
|
db8635a8ef | ||
|
|
31f8be0b85 | ||
|
|
703c82cb3d | ||
|
|
54b130e43f | ||
|
|
8f0e4be643 | ||
|
|
6de8632c28 | ||
|
|
e608bd28af | ||
|
|
bc5b120156 | ||
|
|
338afff23c | ||
|
|
a98eb4fa04 | ||
|
|
e5b94046aa | ||
|
|
b926fcb762 | ||
|
|
d664aec8b8 | ||
|
|
3b1a7af74d | ||
|
|
b0fdea5535 | ||
|
|
7e3cd8af65 | ||
|
|
97d5844f2e | ||
|
|
6abfaf23a5 | ||
|
|
c75fb4cdae | ||
|
|
da14e7c4bb | ||
|
|
c7361f177b | ||
|
|
112e1e3752 | ||
|
|
45349990a1 | ||
|
|
2ba96536e6 | ||
|
|
f9f7a7146d | ||
|
|
d5784b8cf2 | ||
|
|
c62ed27e0b | ||
|
|
ff73e117e6 | ||
|
|
5efea48358 | ||
|
|
b2bcce33e8 | ||
|
|
8c977133c6 | ||
|
|
72a6da5ac8 | ||
|
|
7023f38d12 | ||
|
|
883ff01d21 | ||
|
|
e01f0f5e67 | ||
|
|
32bc4d371f | ||
|
|
9e466fe5c7 | ||
|
|
cc11ff8c53 | ||
|
|
c388e793e0 | ||
|
|
28d2dc2b70 | ||
|
|
40cf3c4b16 | ||
|
|
a7b80966ec | ||
|
|
66bd173c86 | ||
|
|
8df584ca1d | ||
|
|
13327fa9c0 | ||
|
|
4080284e53 | ||
|
|
e6114b6bbb | ||
|
|
c76c31ae6c | ||
|
|
2025b81614 | ||
|
|
aa94219531 | ||
|
|
2e394c3c04 | ||
|
|
4775399716 | ||
|
|
a0798eb838 | ||
|
|
c35dde7c9c | ||
|
|
2318adabd3 | ||
|
|
7a2b20cff3 | ||
|
|
b50e8bb9c1 | ||
|
|
6a07595a44 | ||
|
|
397e64903c | ||
|
|
a0f0edd594 | ||
|
|
9eba7bcd91 | ||
|
|
1b93033690 | ||
|
|
921ad64d22 | ||
|
|
3f4fe73191 | ||
|
|
5dc05e1fa8 | ||
|
|
a2fcd37c08 | ||
|
|
742c0b134c | ||
|
|
f6b966ed16 | ||
|
|
1d7f5ed33e | ||
|
|
4201450a8a | ||
|
|
ef5ca74e94 | ||
|
|
a6f608c616 | ||
|
|
c0a0f0dab9 | ||
|
|
e6877e83fd | ||
|
|
361ab194ff | ||
|
|
32dafdcc61 | ||
|
|
fa99e7b697 | ||
|
|
a64b083b2a | ||
|
|
605915f307 | ||
|
|
2c156d6655 | ||
|
|
ffa87540cc | ||
|
|
f990dd747e | ||
|
|
3ceac0b37e | ||
|
|
5244766b7b | ||
|
|
47d1a50aa4 | ||
|
|
5cee225022 | ||
|
|
a098e4894f | ||
|
|
be08862109 | ||
|
|
c2c00888d6 | ||
|
|
24e43f4ddd | ||
|
|
04a7b31b84 | ||
|
|
41937ecbe4 | ||
|
|
b90865a08a | ||
|
|
12ff481689 | ||
|
|
d10e841b56 | ||
|
|
bd38775ad2 | ||
|
|
6f43ad8607 | ||
|
|
fe5d6b213c | ||
|
|
7e5c5d677f | ||
|
|
5115be6e6b | ||
|
|
41c4f948fe | ||
|
|
f1ee434dca | ||
|
|
a9ef4b3ff1 | ||
|
|
35dcf70f48 | ||
|
|
394d9cf168 | ||
|
|
66b3790444 | ||
|
|
ef3fdbdcba | ||
|
|
47a4f7fb9b | ||
|
|
25f72e4305 | ||
|
|
7e67f73844 | ||
|
|
2f9e1fa454 | ||
|
|
9bb3e9dd45 | ||
|
|
bcc661c116 | ||
|
|
8da8ca4203 | ||
|
|
a1cd7d1f3a | ||
|
|
dc00bf2484 | ||
|
|
27558c9349 | ||
|
|
5634795140 | ||
|
|
aff501f5c4 | ||
|
|
2995748d46 | ||
|
|
0901c91b45 | ||
|
|
86ad6f832a | ||
|
|
b7bc6c3c65 | ||
|
|
f097e8a34e | ||
|
|
cfd22a95e2 | ||
|
|
5bb98187fc | ||
|
|
af1be26b96 | ||
|
|
afc4bed0f8 | ||
|
|
f9f16b438f | ||
|
|
5d768a4a20 | ||
|
|
37318ab2bd | ||
|
|
3b0db630c1 | ||
|
|
075d624b29 | ||
|
|
d467fda7c6 | ||
|
|
0f355c717e | ||
|
|
db2099a4dc | ||
|
|
e6a3d61d25 | ||
|
|
ec38fb723d | ||
|
|
a3f913c5b1 | ||
|
|
0f46f6eb40 | ||
|
|
29ae520e69 | ||
|
|
bd87dfc579 | ||
|
|
d0a5da2445 | ||
|
|
7e55c62cac | ||
|
|
1baa832efc | ||
|
|
9a23711ff9 | ||
|
|
ae480c5f76 | ||
|
|
8130fed777 | ||
|
|
0e3dffa5d1 | ||
|
|
ba9d6df20c | ||
|
|
4b02e32314 | ||
|
|
7946e9d197 | ||
|
|
35a794687b | ||
|
|
587f363e03 | ||
|
|
0e03ab2a57 | ||
|
|
040484cc3f | ||
|
|
5278f42025 | ||
|
|
c2cba8bfc6 | ||
|
|
ba3794a495 | ||
|
|
8c252952db | ||
|
|
18dd44e970 | ||
|
|
e2c05ae15e | ||
|
|
df7726c40d | ||
|
|
cfada791e6 | ||
|
|
2f4b178957 | ||
|
|
f2c2daa017 | ||
|
|
1fc86fd2f1 | ||
|
|
22cd9bcadc | ||
|
|
4426aff3d3 | ||
|
|
7957701db8 | ||
|
|
4dedfbfe08 | ||
|
|
3fc70b61d0 | ||
|
|
9a1dba357e | ||
|
|
60fe2c873c | ||
|
|
e25c66de07 | ||
|
|
b9b6eb61d9 | ||
|
|
35615c268b | ||
|
|
287d8aef9e | ||
|
|
1583c79a8a | ||
|
|
f2e05bc0b7 | ||
|
|
2c5ff3f63f | ||
|
|
f4654a451b | ||
|
|
8293a8d035 | ||
|
|
9155e2529b | ||
|
|
e65f052abf | ||
|
|
7cfe9b5356 | ||
|
|
d2ce5e62e7 | ||
|
|
9e37a09765 | ||
|
|
a3f388dd14 | ||
|
|
c267a67f68 | ||
|
|
201416a0c7 | ||
|
|
840c8f5782 | ||
|
|
6ab8d56993 | ||
|
|
07056b11f5 | ||
|
|
6a83112380 | ||
|
|
28c78d3f9a | ||
|
|
9346b98cb6 | ||
|
|
ea9cc0e4c1 | ||
|
|
9632c614be | ||
|
|
087ca15138 | ||
|
|
24117bc599 | ||
|
|
3ab21332c9 | ||
|
|
44102de362 | ||
|
|
91a59bbcc5 | ||
|
|
7c09985695 | ||
|
|
602e82a3b7 | ||
|
|
259365d408 | ||
|
|
4cc4ff3e07 | ||
|
|
0e8ec49cf6 | ||
|
|
dabfb7291b | ||
|
|
86004fb582 | ||
|
|
6bba9f6c40 | ||
|
|
7e3cab8e5d | ||
|
|
98d0eac149 | ||
|
|
0b8c369740 | ||
|
|
0703159dbc | ||
|
|
a4e901135b | ||
|
|
7edf6d4749 | ||
|
|
00988aed70 | ||
|
|
edb84f3776 | ||
|
|
5ef235b5ef | ||
|
|
e61012e30d | ||
|
|
84173048d2 | ||
|
|
eb6ce0799c | ||
|
|
382d90e03e | ||
|
|
19d5adcbdf | ||
|
|
03e5c3b2ff | ||
|
|
59bc4cf66b | ||
|
|
6454a8802e | ||
|
|
048c97f0ae | ||
|
|
f32095dd17 | ||
|
|
0dce8feead | ||
|
|
43975bcbdd | ||
|
|
a1056c6ae9 | ||
|
|
5c0ad5bd1f | ||
|
|
67094f6a88 | ||
|
|
7db8bc84aa | ||
|
|
158f51fb54 | ||
|
|
0dc9f779f8 | ||
|
|
c5f8656aa0 | ||
|
|
eb40c24b78 | ||
|
|
34f63396cb | ||
|
|
8e35c81399 | ||
|
|
0062a422a4 | ||
|
|
19bbeb24a6 | ||
|
|
6e05361318 | ||
|
|
fbb195e054 | ||
|
|
c87a3e92fc | ||
|
|
c7ff73a083 | ||
|
|
f4086496cb | ||
|
|
aaafa6e8df | ||
|
|
107776f324 | ||
|
|
c493982511 | ||
|
|
234b15a3e6 | ||
|
|
78d27842cf | ||
|
|
c3cd379fd5 | ||
|
|
8ad8d4f807 | ||
|
|
ec3c9832de | ||
|
|
3b7ddce207 | ||
|
|
71dcf30c1f | ||
|
|
0f96bd0f4d | ||
|
|
2fabf50801 | ||
|
|
eafad9742a | ||
|
|
0b0e103fde | ||
|
|
9d74984163 | ||
|
|
5adecb9fa3 | ||
|
|
f7e12e9219 | ||
|
|
47b52800bf | ||
|
|
100c831474 | ||
|
|
cb5f038060 | ||
|
|
a35d4a4b4b | ||
|
|
96ece751fa | ||
|
|
4404978765 | ||
|
|
0853aa7515 | ||
|
|
574c69c092 | ||
|
|
e2f5854088 | ||
|
|
fe1a9e9ea7 | ||
|
|
94d0513bc7 | ||
|
|
2c01aff2b3 | ||
|
|
5d5798b4af | ||
|
|
8eed4e32ba | ||
|
|
ea75163567 | ||
|
|
1d9c5c2c6b | ||
|
|
c299b71677 | ||
|
|
0eaa9ed144 | ||
|
|
faaa2db844 | ||
|
|
d3ca79368c | ||
|
|
d066504bb9 | ||
|
|
611ffbe04e | ||
|
|
184f8f7920 | ||
|
|
89f0e1def0 | ||
|
|
d49697a85f | ||
|
|
c801237ce8 | ||
|
|
1d69c18e33 | ||
|
|
e089817951 | ||
|
|
d4aa00dbeb | ||
|
|
e6cdaf112c | ||
|
|
8750cdac73 | ||
|
|
2b8c9a1cff | ||
|
|
cd8af21915 | ||
|
|
782fe1daf2 | ||
|
|
5847b105a5 | ||
|
|
330b2589ed | ||
|
|
76ec35a8f6 | ||
|
|
00ac706f67 | ||
|
|
2e502aead8 | ||
|
|
e27613ed45 | ||
|
|
847de990de | ||
|
|
10935ee031 | ||
|
|
922223a9c3 | ||
|
|
08330f5fe2 | ||
|
|
884b48578d | ||
|
|
85119cb32e | ||
|
|
d81da042cd | ||
|
|
1e08c912d7 | ||
|
|
da1bca5c9b | ||
|
|
da7dd1fa16 | ||
|
|
cc910fa4c4 | ||
|
|
a4c5d2e29c | ||
|
|
2a0b331ee3 | ||
|
|
af2771e901 | ||
|
|
287fdb7312 | ||
|
|
50b89ac9b5 | ||
|
|
28dd90e92d | ||
|
|
1f04cd868c | ||
|
|
04e39168c4 | ||
|
|
ffbb3229a8 | ||
|
|
5642de432b | ||
|
|
766514bdcf | ||
|
|
b652009235 | ||
|
|
9513edfdd6 | ||
|
|
f9adc3461d | ||
|
|
1a1862352a | ||
|
|
cddbb5e095 | ||
|
|
151b17ac82 | ||
|
|
fafe3737a2 | ||
|
|
60c532908e | ||
|
|
6ec5c85bea | ||
|
|
1efec71437 | ||
|
|
f8ea1d3490 | ||
|
|
e00a919269 | ||
|
|
d236e4c054 | ||
|
|
388fc863f4 | ||
|
|
bfb20397d9 | ||
|
|
7225c902ee | ||
|
|
0ead54b17e | ||
|
|
68b227065e | ||
|
|
bd4743f420 | ||
|
|
dd76a5b8ba | ||
|
|
e21dd04159 | ||
|
|
92b490f2f7 | ||
|
|
e732f656a9 | ||
|
|
9f6719d28d | ||
|
|
c1ecddf26a | ||
|
|
d864057a60 | ||
|
|
65c5071246 | ||
|
|
cc28b07dc1 | ||
|
|
bf2422b55b | ||
|
|
d33da1ebb6 | ||
|
|
21ef11099e | ||
|
|
f9c5db907a | ||
|
|
5ac345e09c | ||
|
|
43373010dc | ||
|
|
cb3c2706a8 | ||
|
|
d65ba037a8 | ||
|
|
e00403351c | ||
|
|
6f055f84ce | ||
|
|
cc77233902 | ||
|
|
ec91158130 | ||
|
|
c471323601 | ||
|
|
8daae7336d | ||
|
|
cf275b6e58 | ||
|
|
14e3448ba6 | ||
|
|
61de46cea2 | ||
|
|
24e665f38f | ||
|
|
8f13bc0477 | ||
|
|
f73dde6dd9 | ||
|
|
ffd7ec1007 | ||
|
|
9bd30baba4 | ||
|
|
61c64e4a3b | ||
|
|
4ef6f00423 | ||
|
|
5c412e5e81 | ||
|
|
af2327aaf4 | ||
|
|
96ed725278 | ||
|
|
3d5d2db64b | ||
|
|
94525cae5d | ||
|
|
982c7fb058 | ||
|
|
794247450f | ||
|
|
0c712d7c60 | ||
|
|
cefcf836fd | ||
|
|
eb53bca6fd | ||
|
|
958d096e7f | ||
|
|
9dfc050fb5 | ||
|
|
b99b3d7b9c | ||
|
|
16fdd0e93c | ||
|
|
01157d414b | ||
|
|
eae1e5bdf2 | ||
|
|
71941cc673 | ||
|
|
fac4ed49af | ||
|
|
8785086bc8 | ||
|
|
6e8bd3da19 | ||
|
|
078275034d | ||
|
|
31e73f1645 | ||
|
|
2ac7cf51a9 | ||
|
|
4f1d8a1b15 | ||
|
|
a7f4ff7b06 | ||
|
|
3027f67b6f | ||
|
|
802ba0c2bf | ||
|
|
41b05cb1f8 | ||
|
|
3306ed146b | ||
|
|
fb4951d2df | ||
|
|
9dc0cf5a7c | ||
|
|
e63d486422 | ||
|
|
1a91ab02cf | ||
|
|
7b4ad29260 | ||
|
|
e33b24fad2 | ||
|
|
49c51af841 | ||
|
|
222a3655ba | ||
|
|
c8c53f9a18 | ||
|
|
838b8a2bec | ||
|
|
1a8f9f0483 | ||
|
|
2631af977a | ||
|
|
165622a9e9 | ||
|
|
f979e459e8 | ||
|
|
9d6f127a4e | ||
|
|
bfe39ce5bc | ||
|
|
832f41f0fe | ||
|
|
97707bdc72 | ||
|
|
888169571b | ||
|
|
d7fbea62f9 | ||
|
|
728f56e581 | ||
|
|
1268a28e7b | ||
|
|
717667034b | ||
|
|
5229ce8660 | ||
|
|
9f5d22b21f | ||
|
|
0280de11da | ||
|
|
b4d064d166 | ||
|
|
6dd52e1927 | ||
|
|
29dacd3441 | ||
|
|
540e042221 | ||
|
|
f09c30df35 | ||
|
|
a03d327e96 | ||
|
|
defe282fe8 | ||
|
|
ce0a05691b | ||
|
|
62dbbbba85 | ||
|
|
2c74765246 | ||
|
|
cb5c56dac4 | ||
|
|
0b23787d6c | ||
|
|
aaa49273cf | ||
|
|
e9c48cd1ce | ||
|
|
435e1149d5 | ||
|
|
4d518873d0 | ||
|
|
caca1fcef0 | ||
|
|
8efc9d6219 | ||
|
|
e21c4fbbb5 | ||
|
|
b902e4bcf5 | ||
|
|
c5f3192588 | ||
|
|
e04f51ebd2 | ||
|
|
283810cbf7 | ||
|
|
0640ddba80 | ||
|
|
0865bee500 | ||
|
|
202a53f4f6 | ||
|
|
09518ee207 | ||
|
|
5cd8bd0356 | ||
|
|
5247e40659 | ||
|
|
603f4c615a | ||
|
|
5c72b45975 | ||
|
|
83f4db956b | ||
|
|
bdae48f6ae | ||
|
|
7e854a9e63 | ||
|
|
98786e609a | ||
|
|
5a5c38e478 | ||
|
|
3b049ab9ee | ||
|
|
21b42c4463 | ||
|
|
ca0a679413 | ||
|
|
a7e6efb4c0 | ||
|
|
8c7c6c594a | ||
|
|
7ef3b808ea | ||
|
|
3b623dc12e | ||
|
|
89cd5417ef | ||
|
|
b3350a4f3b | ||
|
|
1761622e14 | ||
|
|
ebee20c47d | ||
|
|
500312c050 | ||
|
|
4ad1dde723 | ||
|
|
62880c125e | ||
|
|
21dbdbf69d | ||
|
|
269476df6e | ||
|
|
87224db145 | ||
|
|
aa6fbd35db | ||
|
|
c9e021924f | ||
|
|
63f5f5c328 | ||
|
|
28ee2ebb30 | ||
|
|
fd12ab3413 | ||
|
|
d972b7465a | ||
|
|
734e7a9526 | ||
|
|
90bc1daa9d | ||
|
|
4e00539308 | ||
|
|
f719d66129 | ||
|
|
800af37975 | ||
|
|
df187c4406 | ||
|
|
6f250b3f8d | ||
|
|
be0392a2b2 | ||
|
|
b794c7c8d4 | ||
|
|
e74c8372ea | ||
|
|
40ca0527db | ||
|
|
a647747260 | ||
|
|
9e664a3921 | ||
|
|
ad6379b762 | ||
|
|
e0e0fb08a5 | ||
|
|
006b45526b | ||
|
|
3dc430085d | ||
|
|
9697a5ce6d | ||
|
|
53b8a5b027 | ||
|
|
ed380f08fe | ||
|
|
9af8e76e87 | ||
|
|
af54a26b43 | ||
|
|
a4db488b02 | ||
|
|
580a843474 | ||
|
|
b237eec801 | ||
|
|
e0e8503151 | ||
|
|
19ca140165 | ||
|
|
bfc438c455 | ||
|
|
d3b085ab8a | ||
|
|
d1eda66668 | ||
|
|
50dfdcb6cc | ||
|
|
7f85d7f453 | ||
|
|
f970485e19 | ||
|
|
e5e7e844c4 | ||
|
|
4e866fd710 | ||
|
|
2a498cb670 | ||
|
|
bbcb9315f3 | ||
|
|
08be65a7dd | ||
|
|
e24f84f713 | ||
|
|
c1ac2a79db | ||
|
|
0391f113b0 | ||
|
|
d26fccaa44 | ||
|
|
46e56ca6fc | ||
|
|
92f30dd28f | ||
|
|
b85a482db0 | ||
|
|
c15489b711 | ||
|
|
7f871467bf | ||
|
|
3a039df351 | ||
|
|
542ffcca60 | ||
|
|
ed6687359b | ||
|
|
57c82b9c34 | ||
|
|
0e2f0381d0 | ||
|
|
1432bb8889 | ||
|
|
3c8b8b65d0 | ||
|
|
64dbd4abcc | ||
|
|
bee58510e7 | ||
|
|
b10c6293d9 | ||
|
|
4ab0690428 | ||
|
|
841254e9e8 | ||
|
|
d7f4dbfd13 | ||
|
|
2dbf587118 | ||
|
|
4d1eea35e1 | ||
|
|
f39d6e6108 | ||
|
|
ad530c4b08 | ||
|
|
b60ad953c4 | ||
|
|
a44907b700 | ||
|
|
c856380fac | ||
|
|
ef458be855 | ||
|
|
9187b4d552 | ||
|
|
2b3bf5f51d | ||
|
|
a8d70c6edf | ||
|
|
dca555b6d7 | ||
|
|
b11ec23891 | ||
|
|
39a9a00299 | ||
|
|
3f7d13b2cf | ||
|
|
218af5500b | ||
|
|
12c524ac06 | ||
|
|
5e4668c146 | ||
|
|
4b5e602392 | ||
|
|
a2b6aca288 | ||
|
|
b455f9b591 | ||
|
|
06c3c87f4e | ||
|
|
121193e49b | ||
|
|
d7b8ede53f | ||
|
|
e348c9c344 | ||
|
|
f7ad54b324 | ||
|
|
ff0bf0a5e3 | ||
|
|
155cd9a8d0 | ||
|
|
663a9a3add | ||
|
|
be813e96dd | ||
|
|
907047d823 | ||
|
|
62d403c060 | ||
|
|
419e775dfb | ||
|
|
1f61351e8f | ||
|
|
39fd625f0c | ||
|
|
8b7a841f09 | ||
|
|
a4656b823d | ||
|
|
1308be28fe | ||
|
|
990ee994db | ||
|
|
9a6b24fca4 | ||
|
|
f53ca6ceee | ||
|
|
04aa6ebb42 | ||
|
|
4866cfa09f | ||
|
|
56927fb955 | ||
|
|
f1396fbced | ||
|
|
57d8bb5d1f | ||
|
|
d3aab31bcf | ||
|
|
5349b51e71 | ||
|
|
1923d23cff | ||
|
|
c6b0918db5 | ||
|
|
6c69210037 | ||
|
|
7f945bf89e | ||
|
|
220a3faf7c | ||
|
|
a9f95f2f08 | ||
|
|
f8f5f8f84b | ||
|
|
f57d1255e9 | ||
|
|
1fd9f3ce92 | ||
|
|
90e20cba3d | ||
|
|
dd11d5a598 | ||
|
|
83ff8e13ba | ||
|
|
77e5bb9ec9 | ||
|
|
5ffa05fba0 | ||
|
|
0743d84bcc | ||
|
|
b45cf5960a | ||
|
|
056c3ee331 | ||
|
|
c6ffd22c45 | ||
|
|
a1167b3d55 | ||
|
|
e60f52ee0c | ||
|
|
72acb2edfd | ||
|
|
6bc48fcdb3 | ||
|
|
f67534069c | ||
|
|
4d671dc5d7 | ||
|
|
f851671c41 | ||
|
|
d186dcdc32 | ||
|
|
46f8003c4e | ||
|
|
3549fd1aa0 | ||
|
|
819625de61 | ||
|
|
aa28a8d1e1 | ||
|
|
0d1f036f17 | ||
|
|
b4a9ff4ffe | ||
|
|
f41e36b99f | ||
|
|
85454f6083 | ||
|
|
141de7b94a | ||
|
|
905c0c4f6d | ||
|
|
a364704e3a | ||
|
|
107f64e53b | ||
|
|
a966e6aa13 | ||
|
|
feea221f39 | ||
|
|
a12caa4799 | ||
|
|
63993436c9 | ||
|
|
7d3c58d21c | ||
|
|
319ab84f90 | ||
|
|
4e091a1cf1 | ||
|
|
e3acd528d8 | ||
|
|
43a03b1660 | ||
|
|
4070db9990 | ||
|
|
5f0eb007b1 | ||
|
|
bd7f6d3c19 | ||
|
|
929d2ad83a | ||
|
|
7a4049b683 | ||
|
|
e2b9cadb1d | ||
|
|
1ceda731e5 | ||
|
|
fcebac6b16 | ||
|
|
1158842b7e | ||
|
|
2a09114dc7 | ||
|
|
d95e4dc150 | ||
|
|
17f29b41c2 | ||
|
|
98c7089f5b | ||
|
|
a49334f3e4 | ||
|
|
5161cea8cd | ||
|
|
8bf2240d40 | ||
|
|
1e4ede08b6 | ||
|
|
041dad92cf | ||
|
|
4cda2c0a4e | ||
|
|
e63ed0a931 | ||
|
|
a6f26b85b3 | ||
|
|
67f26508ba | ||
|
|
33b838f139 | ||
|
|
f58b323736 | ||
|
|
37c79532fe | ||
|
|
4bf2d0d755 | ||
|
|
b3e70efa30 | ||
|
|
68ce45f203 | ||
|
|
5bdc9abd2f | ||
|
|
c03cb9d9c2 | ||
|
|
34e3892367 | ||
|
|
9953851287 | ||
|
|
c73259d2f0 | ||
|
|
8ac8c64885 | ||
|
|
7ac610a3cb | ||
|
|
2aa260a03b | ||
|
|
4eb030717a | ||
|
|
51cdf52d0f | ||
|
|
6a14facf48 | ||
|
|
7bb38d21b9 | ||
|
|
ca2c40347b | ||
|
|
b0044da8a7 | ||
|
|
3770273637 | ||
|
|
c33f2b42aa | ||
|
|
14ec6258d9 | ||
|
|
b6ecffeb60 | ||
|
|
712ff95a48 | ||
|
|
fbfd1f12dd | ||
|
|
40dda323fe | ||
|
|
91ae4c35b7 | ||
|
|
a3d7b7d779 | ||
|
|
91d138248d | ||
|
|
8868d459a2 | ||
|
|
1043a6c6be | ||
|
|
409e036eca | ||
|
|
e32108713d | ||
|
|
54efa86a6c | ||
|
|
ac21d25d43 | ||
|
|
a841a962ce | ||
|
|
5f23bf95f6 | ||
|
|
ac2859bf24 | ||
|
|
703f0d8c5d | ||
|
|
3d76bb9944 | ||
|
|
02e64f0795 | ||
|
|
c2cac8a7fd | ||
|
|
ac2a75fbb5 | ||
|
|
7affb3e580 | ||
|
|
b226be7f98 | ||
|
|
f45b811c22 | ||
|
|
ee1ab074dc | ||
|
|
a9aa2f11b8 | ||
|
|
353a2e3d20 | ||
|
|
34315a4f70 | ||
|
|
d56d1a7719 | ||
|
|
1c86ff0af2 | ||
|
|
f506aa878b | ||
|
|
b95a974ff1 | ||
|
|
b19215770b | ||
|
|
457fcc267b | ||
|
|
e202cb31d8 | ||
|
|
b96f35b8fe | ||
|
|
997d5ecdf1 | ||
|
|
631714c50a | ||
|
|
327d55d13d | ||
|
|
bd91b619ad | ||
|
|
dc5a17fea0 | ||
|
|
254eb407ff | ||
|
|
92d47ca23a | ||
|
|
67da797816 | ||
|
|
3d3462b209 | ||
|
|
11667160f2 | ||
|
|
95c8b7bb00 | ||
|
|
9b2f55ab39 | ||
|
|
f71b8e6195 | ||
|
|
d1f71f2342 | ||
|
|
a0edd4e907 | ||
|
|
636a6b8cd2 | ||
|
|
6a67c0a0e5 | ||
|
|
6b9cc8a36e | ||
|
|
0bf9fc270f | ||
|
|
c9a6d06544 | ||
|
|
c90f9e53b7 | ||
|
|
53c59e7ac7 | ||
|
|
9dc31e4556 | ||
|
|
c172cc2ab0 | ||
|
|
25d71a43a5 | ||
|
|
88046c8063 | ||
|
|
dbdf235115 | ||
|
|
eaecdf7477 | ||
|
|
f6edf26eb2 | ||
|
|
b14539569f | ||
|
|
7126293086 | ||
|
|
36c4a24661 | ||
|
|
49ca1cfdd7 | ||
|
|
48a12fb0f4 | ||
|
|
340d1aff4a | ||
|
|
000d697b51 | ||
|
|
a300bfc538 | ||
|
|
6f69c990fd | ||
|
|
d273e2cbd0 | ||
|
|
ece4469869 | ||
|
|
9c11f5e05d | ||
|
|
e753480b19 | ||
|
|
047a12cc62 | ||
|
|
75c6745868 | ||
|
|
60cbbf0ec1 | ||
|
|
762c5f573c | ||
|
|
7696b0651c | ||
|
|
e6e52dd60a | ||
|
|
eb80db9397 | ||
|
|
641dd756c0 | ||
|
|
a74a3bb689 | ||
|
|
d28436dccc | ||
|
|
3ca1c9b6dd | ||
|
|
1eccfa64b5 | ||
|
|
1d05028087 | ||
|
|
16d32cdd4a | ||
|
|
d1f851e1e1 | ||
|
|
6a225d5d00 | ||
|
|
b12b1c9658 | ||
|
|
dbb8cbece2 | ||
|
|
9ddbf5f4b8 | ||
|
|
b2388faa5e | ||
|
|
188a12f609 | ||
|
|
6bd6663dc9 | ||
|
|
5b7188fcaf | ||
|
|
dc049fdd74 | ||
|
|
218659f4e8 | ||
|
|
6c1cfc68cf | ||
|
|
fbaff52668 | ||
|
|
06c570e159 | ||
|
|
c005486acf | ||
|
|
6467351752 | ||
|
|
4bd17f0a6f | ||
|
|
870c398094 | ||
|
|
86c56e8e14 | ||
|
|
25d968b833 | ||
|
|
2c41a7bbf6 | ||
|
|
158a54a7ff | ||
|
|
8c9a4fec83 | ||
|
|
53332ae03e | ||
|
|
4a5935d248 | ||
|
|
78c9e7773a | ||
|
|
d2edab458e | ||
|
|
d415757b0e | ||
|
|
7d2b6bd921 | ||
|
|
52ac3b3a0d | ||
|
|
f106c1eaec | ||
|
|
309129ebcf | ||
|
|
deed20fb78 | ||
|
|
36577bb549 | ||
|
|
de9671d4a3 | ||
|
|
12355270b3 | ||
|
|
473d54aa95 | ||
|
|
dca504c706 | ||
|
|
7bb790f7e4 | ||
|
|
f9bdab65f0 | ||
|
|
61f4c97f40 | ||
|
|
d0f0919830 | ||
|
|
bd1ac03828 | ||
|
|
00948a45a3 | ||
|
|
5faaa7ec58 | ||
|
|
d8f1e1113a | ||
|
|
9d38e63269 | ||
|
|
9d2adf3e49 | ||
|
|
2b62f5a625 | ||
|
|
0da9f6eb03 | ||
|
|
2ff6ee9613 | ||
|
|
833c31b031 | ||
|
|
a5b0a0d9dd | ||
|
|
0bd291e6cd | ||
|
|
5c1d7f3ce9 | ||
|
|
e69df457fd | ||
|
|
47c5b220b3 | ||
|
|
64a82508f2 | ||
|
|
7c71bdf2d6 | ||
|
|
bd2cb989d1 | ||
|
|
92a4bff047 | ||
|
|
d359fffcdc | ||
|
|
55b836e25a | ||
|
|
c4b3f1e99c | ||
|
|
895b85a16e | ||
|
|
1725ee9c52 | ||
|
|
d93abd002f | ||
|
|
470f99694e | ||
|
|
f3560837ec | ||
|
|
d8dbb08a95 | ||
|
|
c2e0f496bd | ||
|
|
39a5c731ac | ||
|
|
42e1c83875 | ||
|
|
504884b7d5 | ||
|
|
94ef630490 | ||
|
|
d289934ca9 | ||
|
|
20bd80698d | ||
|
|
f1826a7c20 | ||
|
|
fa62cd3486 | ||
|
|
10ac99ac05 | ||
|
|
b408e097f6 | ||
|
|
94bebb2bcb | ||
|
|
2be257369a | ||
|
|
04c38d5b3b | ||
|
|
4882a3c827 | ||
|
|
e995646898 | ||
|
|
2287d420ee | ||
|
|
db5b2669fc | ||
|
|
460bfbf181 | ||
|
|
050e5ddb5b | ||
|
|
393f0e4acb | ||
|
|
7c5d462564 | ||
|
|
763183f067 | ||
|
|
2958a5aaae | ||
|
|
344fabf56a | ||
|
|
9f04ee68c8 | ||
|
|
b5126a6abe | ||
|
|
74d4b0c0ea | ||
|
|
7401a8a43a | ||
|
|
7646e7d89c | ||
|
|
a8dca71ed0 | ||
|
|
98b8d43a4a | ||
|
|
d419c49921 | ||
|
|
a50ea2a1a6 | ||
|
|
078bb21a89 | ||
|
|
b8b9478938 | ||
|
|
f535a73ea7 | ||
|
|
641e0e5672 | ||
|
|
9d146eae16 | ||
|
|
7d43a935bd | ||
|
|
9b99d9697f | ||
|
|
a21ecb2ab9 | ||
|
|
28808f38bb | ||
|
|
7a6775ca84 | ||
|
|
e527ff49a3 | ||
|
|
c1506deef9 | ||
|
|
87050670b4 | ||
|
|
fb1373b854 | ||
|
|
7f1011e5f7 | ||
|
|
7a32771c7e | ||
|
|
94b043d6c9 | ||
|
|
8c5ba3a0d7 | ||
|
|
826e5b0826 | ||
|
|
abd509ce53 | ||
|
|
1bf24c7eb4 | ||
|
|
1f0357ba93 | ||
|
|
db6b17fdb4 | ||
|
|
f3e109d8c5 | ||
|
|
371ac07c6f | ||
|
|
caf3522364 | ||
|
|
03e0d49d99 | ||
|
|
e2e5d9eaf1 | ||
|
|
2f199f20cf | ||
|
|
cefe1845df | ||
|
|
1044398f95 | ||
|
|
77180c4020 | ||
|
|
2fc12d951e | ||
|
|
0982260d3b | ||
|
|
58b867c39c | ||
|
|
4e8a8a0398 | ||
|
|
4dc6a31276 | ||
|
|
ce77bac99a | ||
|
|
31c279a7b3 | ||
|
|
9ad0de1efd | ||
|
|
d89df33fcd | ||
|
|
d1462f3120 | ||
|
|
9fc7143fce | ||
|
|
597b973f7b | ||
|
|
a84c5d2010 | ||
|
|
dbfbc657e1 | ||
|
|
8b3a6ba542 | ||
|
|
8ba7cec15b | ||
|
|
f037ac50b4 | ||
|
|
1f0e767b61 | ||
|
|
5777ab75c7 | ||
|
|
e494cf22a4 | ||
|
|
5a6d5ed96b | ||
|
|
26c7f1adb6 | ||
|
|
f77af4e6f6 | ||
|
|
1cd65e90bd | ||
|
|
e3c7dee6ef | ||
|
|
6c9cbaef62 | ||
|
|
08fef668cd | ||
|
|
92970bd9a0 | ||
|
|
e0c3b42262 | ||
|
|
4ddc649836 | ||
|
|
77908447e6 | ||
|
|
bb41c6b26b | ||
|
|
ae0f29ed37 | ||
|
|
73ca2ab997 | ||
|
|
7a3f1f16ca | ||
|
|
e015805194 | ||
|
|
73da5e51a6 | ||
|
|
9598ef9315 | ||
|
|
cd0f35fe67 | ||
|
|
d455ec6229 | ||
|
|
db854fc3d2 | ||
|
|
b27bd6526a | ||
|
|
916a89761e | ||
|
|
c3d86626ee | ||
|
|
5d32fc56ac | ||
|
|
93f447dd4a | ||
|
|
bc892deacc | ||
|
|
b914cda1c7 | ||
|
|
62e5e3aa0c | ||
|
|
f508dadc97 | ||
|
|
189d094202 | ||
|
|
3defaf8ffb | ||
|
|
73696f0a71 | ||
|
|
17c2512d03 | ||
|
|
75229cc03d | ||
|
|
e422c183ff | ||
|
|
68e1ed55f6 | ||
|
|
993f65f3b4 | ||
|
|
2c5e9a785a | ||
|
|
d183b4edde | ||
|
|
818e6d3ebf | ||
|
|
2df0390c04 | ||
|
|
6cd0948c8c | ||
|
|
3209bee3b3 | ||
|
|
88d0d85ca6 | ||
|
|
51545b36ca | ||
|
|
6af694b04b | ||
|
|
f9f70383fa | ||
|
|
916d473eff | ||
|
|
a9e9ab50bd | ||
|
|
544cb4a90f | ||
|
|
11998ccc58 | ||
|
|
2daa09a255 | ||
|
|
d35e4a2b60 | ||
|
|
c0b505849c | ||
|
|
49fe129634 | ||
|
|
75df36bc8f | ||
|
|
48600c77b5 | ||
|
|
5b410e9331 | ||
|
|
277611bcdd | ||
|
|
de2818c733 | ||
|
|
832629c602 | ||
|
|
5e5b5ab69d | ||
|
|
173e9d2a94 | ||
|
|
4c2eb8c0b8 | ||
|
|
d059806dbd | ||
|
|
bca2e2c16e | ||
|
|
47f5a6a52b | ||
|
|
206a0b4fd2 | ||
|
|
dc307270f7 | ||
|
|
4990b44120 | ||
|
|
4925f9ad73 | ||
|
|
ac06b6fc4f | ||
|
|
58ea7ad361 | ||
|
|
75a36a6ef8 | ||
|
|
b553502d8a | ||
|
|
1c357ba508 | ||
|
|
86d2ea8c70 | ||
|
|
07394fcafa | ||
|
|
d9534ec626 | ||
|
|
a6bae7f196 | ||
|
|
5b2dc52681 | ||
|
|
a044697990 | ||
|
|
54e637c72b | ||
|
|
db03b95389 | ||
|
|
d49efa79df | ||
|
|
9fc223d3ee | ||
|
|
1a3fd92063 | ||
|
|
ed46878f7b | ||
|
|
593da4e38f | ||
|
|
cfbcfd913c | ||
|
|
79de1ff507 | ||
|
|
8a8f04153a | ||
|
|
8031ca2616 | ||
|
|
40881d7e79 | ||
|
|
b0d1f720e0 | ||
|
|
7dbe4f1807 | ||
|
|
5fcd0e52e7 | ||
|
|
76aced4d40 | ||
|
|
66259d8909 | ||
|
|
4b041c636f | ||
|
|
e84fe36518 | ||
|
|
9cc4cc0efd | ||
|
|
c9fa54536e | ||
|
|
22d484d54d | ||
|
|
90d4cf1361 | ||
|
|
7c427d4cc3 | ||
|
|
46c7b69c64 | ||
|
|
091be59f0d | ||
|
|
af30436357 | ||
|
|
7b2dc46399 | ||
|
|
2491f25da7 | ||
|
|
d400584460 | ||
|
|
de08655c5b | ||
|
|
f8359adcc0 | ||
|
|
a227aad13d | ||
|
|
80ea173390 | ||
|
|
6d257ef52c | ||
|
|
25cb31c38b | ||
|
|
bed0456eca | ||
|
|
ad08302e5f | ||
|
|
f74c67da46 | ||
|
|
27eb8cfe8a | ||
|
|
b26658fd96 | ||
|
|
0c8c7fb03c | ||
|
|
6bb16d6c52 | ||
|
|
2c465d9741 | ||
|
|
19be36dbcb | ||
|
|
3b632739a8 | ||
|
|
640339ec36 | ||
|
|
647404ec1e | ||
|
|
338a456f09 | ||
|
|
66667b6172 | ||
|
|
7a5c223ccf | ||
|
|
2dbe897e1b | ||
|
|
fc700538a5 | ||
|
|
8d3b47a18a | ||
|
|
1bcd5ee0c1 | ||
|
|
9430960b18 | ||
|
|
4581023805 | ||
|
|
73b3648262 | ||
|
|
6b42d789af | ||
|
|
6db599da45 | ||
|
|
2f6ecd1853 | ||
|
|
4c4fdb5dfe | ||
|
|
3dfd53a549 | ||
|
|
91c52a4972 | ||
|
|
ac2313ecb7 | ||
|
|
8100bc64a0 | ||
|
|
aee5051526 | ||
|
|
0162e15b6e | ||
|
|
295fae0edc | ||
|
|
fe4ad7de64 | ||
|
|
680236b03e | ||
|
|
0f528d136d | ||
|
|
d9dcde60a6 | ||
|
|
d0424862f9 | ||
|
|
100e3d7702 | ||
|
|
d22608a49f | ||
|
|
5d0fd8b9a7 | ||
|
|
7191a0ba8b | ||
|
|
c2d289dc71 | ||
|
|
5f4646f617 | ||
|
|
a80aa07de6 | ||
|
|
2358f5c2a2 | ||
|
|
bc3bf6ab5e | ||
|
|
b099d6fe63 | ||
|
|
d5f773f385 | ||
|
|
da5eb620bf | ||
|
|
2ed754d5ea | ||
|
|
fe562d4715 | ||
|
|
49e5c305a4 | ||
|
|
69eb76ad66 | ||
|
|
a3662cc3f5 | ||
|
|
1e74451534 | ||
|
|
66e105b444 | ||
|
|
413183bad8 | ||
|
|
11cfa61f80 | ||
|
|
27ad648c16 | ||
|
|
d47b88a30c | ||
|
|
51616ecf2f | ||
|
|
01e66ac349 | ||
|
|
223bb9ba9a | ||
|
|
70c84d3abd | ||
|
|
ea65bcd86b | ||
|
|
e837f780a2 | ||
|
|
1a1c6e8797 | ||
|
|
15ebbd309f | ||
|
|
3b8d10cae5 | ||
|
|
2c0372acdf | ||
|
|
8b52bd817f | ||
|
|
38dd9a344e | ||
|
|
cbf46d0ded | ||
|
|
b10b22d09f | ||
|
|
0664cf407c | ||
|
|
4e667fabb7 | ||
|
|
5ca62de167 | ||
|
|
d3016b62f5 | ||
|
|
7d4d618d98 | ||
|
|
9b3fccdcb7 | ||
|
|
8da539ed8a | ||
|
|
3658e5f0f1 | ||
|
|
5083972536 | ||
|
|
f983ce4875 | ||
|
|
4c4a39a115 | ||
|
|
cb1661f9d0 | ||
|
|
eb5676366b | ||
|
|
eca2b4c960 | ||
|
|
c9be36911f | ||
|
|
c3d1c3b952 | ||
|
|
e7adae6f81 | ||
|
|
abc46db3c0 | ||
|
|
dd6cd3decb | ||
|
|
ebe49552b0 | ||
|
|
d6e52b9400 | ||
|
|
6ac2aa2d99 | ||
|
|
7aad136972 | ||
|
|
fee839a80e | ||
|
|
cbabd8abe1 | ||
|
|
3ecd58460f | ||
|
|
09d27fa8a7 | ||
|
|
e0fdb933a0 | ||
|
|
d0c4cc3938 | ||
|
|
6a6a7b7e9f | ||
|
|
e3e8f18a4e | ||
|
|
50d7f2afc6 | ||
|
|
0359bf38e6 | ||
|
|
174eafd74c | ||
|
|
3694d153ae | ||
|
|
9367e85c88 | ||
|
|
7a2732f211 | ||
|
|
999f251b3d | ||
|
|
10c3320c6b | ||
|
|
7336b9ebfc | ||
|
|
84f26ed3d7 | ||
|
|
fc8e1b5a2e | ||
|
|
6bb57e4630 | ||
|
|
2eb9076381 | ||
|
|
1ea9018e59 | ||
|
|
a094fd954b | ||
|
|
7c2b1971a4 | ||
|
|
86f6ac2960 | ||
|
|
f5312b83b9 | ||
|
|
0a3de7c74a | ||
|
|
b26a19279a | ||
|
|
fcefa96397 | ||
|
|
c8a945f363 | ||
|
|
c7ff82f06b | ||
|
|
6997a7c516 | ||
|
|
eefbd94966 | ||
|
|
d1a0bad334 | ||
|
|
5cca1b101c | ||
|
|
18aeb080ad | ||
|
|
e9fe8f65a8 | ||
|
|
eccfd8c6f9 | ||
|
|
af03d91714 | ||
|
|
c3fd34b489 | ||
|
|
e12b971ba6 | ||
|
|
2bbb24eb38 | ||
|
|
34a760b75b | ||
|
|
7cc40d277b | ||
|
|
0984fd045f | ||
|
|
d5077a9d35 | ||
|
|
b9f0612db8 | ||
|
|
6ba06498db | ||
|
|
73d52c00bb | ||
|
|
87ee6c8746 | ||
|
|
e4771dac7f | ||
|
|
14e7b1076e | ||
|
|
f55fee1cf0 | ||
|
|
353a4b7b4a | ||
|
|
6d1e82b908 | ||
|
|
cd5997a2e6 | ||
|
|
0b9c2163d5 | ||
|
|
168f0ed9e5 | ||
|
|
538f39edf9 | ||
|
|
e3c1d36e6e | ||
|
|
559d990e82 | ||
|
|
f3684a85b9 | ||
|
|
b49351356e | ||
|
|
21229e0350 | ||
|
|
6f87443da5 | ||
|
|
0a860f151c | ||
|
|
2116b424b9 | ||
|
|
e6a997e316 | ||
|
|
f29eeecee7 | ||
|
|
2b8b1c4281 | ||
|
|
610b2e75af | ||
|
|
fd960b5f77 | ||
|
|
9b48cc33db | ||
|
|
844448655e | ||
|
|
b4ef6ce860 | ||
|
|
6edf2f80a2 | ||
|
|
8e7f29b07e | ||
|
|
28824b7597 | ||
|
|
39c3e79a3c | ||
|
|
b6bcbd5660 | ||
|
|
ed1e3ec4a2 | ||
|
|
98b89d0f2c | ||
|
|
5e69faff46 | ||
|
|
40acac1c57 | ||
|
|
d26d62a176 | ||
|
|
8965401d10 | ||
|
|
b9a571916c | ||
|
|
cdab9479b8 | ||
|
|
ce058cc432 | ||
|
|
4dd49e1244 | ||
|
|
fabded95df | ||
|
|
7521c2c644 | ||
|
|
464e19caaa | ||
|
|
0b6be2809e | ||
|
|
f9109eb61f | ||
|
|
48effad448 | ||
|
|
29b439b93f | ||
|
|
27e39d7821 | ||
|
|
8c287134d7 | ||
|
|
c508fd5d24 | ||
|
|
62afbed3cd | ||
|
|
d2b7b567df | ||
|
|
39bdd427d6 | ||
|
|
4a2212949e | ||
|
|
780163b91e | ||
|
|
21eb43a554 | ||
|
|
353ef5c436 | ||
|
|
77cc93c176 | ||
|
|
418fc2c246 | ||
|
|
13c22690c4 | ||
|
|
ae87df7a5d | ||
|
|
59cb53cfbc | ||
|
|
aca3b1636a | ||
|
|
9a6598b36f | ||
|
|
51a97ccb90 | ||
|
|
0aac3074b6 | ||
|
|
391d4e1c32 | ||
|
|
45add07205 | ||
|
|
64caa700d3 | ||
|
|
a5eb9a5b9d | ||
|
|
6a48d3bb83 | ||
|
|
53151d7c5f | ||
|
|
78198d90e1 | ||
|
|
9c044a9184 | ||
|
|
f62b3faaf2 | ||
|
|
4dbb066b96 | ||
|
|
7fe51583e5 | ||
|
|
6ecdd14fdb | ||
|
|
8157f21c3e | ||
|
|
781bd3cc09 | ||
|
|
a2e91f3cf2 | ||
|
|
d9701e6406 | ||
|
|
128231b077 | ||
|
|
ce2f335786 | ||
|
|
9632dfdf93 | ||
|
|
8026b2a7f3 | ||
|
|
24dbb0bc5c | ||
|
|
5045bf53df | ||
|
|
51fcb881d5 | ||
|
|
20b964a9a2 | ||
|
|
10a77a17a9 | ||
|
|
a62f7fe4ae | ||
|
|
9b4509f7d9 | ||
|
|
96bffd49aa | ||
|
|
b2093b513a | ||
|
|
8e87a99628 | ||
|
|
258becd179 | ||
|
|
2cad858d32 | ||
|
|
a3b2c2af17 | ||
|
|
27d3eb5b7b | ||
|
|
ce211ebceb | ||
|
|
4bf8f47f59 | ||
|
|
b54f897090 | ||
|
|
d31bce915c | ||
|
|
0133bc6b09 | ||
|
|
bab949a468 | ||
|
|
99064d3e39 | ||
|
|
fc302a5207 | ||
|
|
14f618b0f6 | ||
|
|
a9762e0c5c | ||
|
|
098ee6fa7a | ||
|
|
7f94fa1da7 | ||
|
|
3b98db17cc | ||
|
|
233b6eafba | ||
|
|
489349ffbd | ||
|
|
b52e1d3ede | ||
|
|
6a8f97e184 | ||
|
|
3ab89d5be7 | ||
|
|
b35ab0b843 | ||
|
|
6c46c4f6f7 | ||
|
|
2455d15271 | ||
|
|
d232923051 | ||
|
|
e6678f6546 | ||
|
|
436d3d76f0 | ||
|
|
c1f0787669 | ||
|
|
dae4c8ee22 | ||
|
|
5daf7385f1 | ||
|
|
4ce8164277 | ||
|
|
7ec32799b0 | ||
|
|
812861e7f2 | ||
|
|
1857f6399c | ||
|
|
f7ccc013e7 | ||
|
|
2e1fa8f338 | ||
|
|
70459b3208 | ||
|
|
2a23ec74e4 | ||
|
|
be1ace423e | ||
|
|
2d0149b703 | ||
|
|
34ced254c0 | ||
|
|
fe15171649 | ||
|
|
4092ac7e72 | ||
|
|
1a07af57a3 | ||
|
|
c840ffb0ae | ||
|
|
fbe8439eb8 | ||
|
|
754c5c71f1 | ||
|
|
6940ee420d | ||
|
|
b645fcf027 | ||
|
|
ffb02cea15 | ||
|
|
f753ae2518 | ||
|
|
caa19c0cb3 | ||
|
|
aa3942ab24 | ||
|
|
cc1133c0d9 | ||
|
|
ac659d525b | ||
|
|
283f6c7433 | ||
|
|
5b65c15eca | ||
|
|
6b4183632c | ||
|
|
e0e164cea2 | ||
|
|
a379382d32 | ||
|
|
e2a6e19cac | ||
|
|
61bfb6c308 | ||
|
|
bdcfc4e286 | ||
|
|
70c6651aac | ||
|
|
41bb54bc2c | ||
|
|
001c098e5a | ||
|
|
98e40c847c | ||
|
|
05c7a3b90b | ||
|
|
694f2ff7c7 | ||
|
|
6281385ee8 | ||
|
|
7e6dd9473f | ||
|
|
929e15fa4c | ||
|
|
432d5f851d | ||
|
|
d4f4fefd1d | ||
|
|
d8080008b4 | ||
|
|
bed9aa9904 | ||
|
|
35fa0d051d | ||
|
|
0507fb4655 | ||
|
|
f4a01eb452 | ||
|
|
4954e76b28 | ||
|
|
fa1b11252e | ||
|
|
dddc1b5b4d | ||
|
|
20faa99464 | ||
|
|
dc43071f1c | ||
|
|
fdf29b970f | ||
|
|
70814fa11a | ||
|
|
529b8337ec | ||
|
|
f8dd65c7cd | ||
|
|
28a59a2b21 | ||
|
|
d3e205f201 | ||
|
|
dfe28f7ed0 | ||
|
|
bb871728c9 | ||
|
|
69dce205d3 | ||
|
|
052812bb87 | ||
|
|
0380a36c76 | ||
|
|
44f49669a3 | ||
|
|
ff244c1d1f | ||
|
|
260ac342f4 | ||
|
|
87d856339f | ||
|
|
e171463fa2 | ||
|
|
481adf8fe7 | ||
|
|
b8288b97f7 | ||
|
|
0d34f56b74 | ||
|
|
dcaf6476e8 | ||
|
|
76b2ac9cc1 | ||
|
|
b6a400ee9b | ||
|
|
78d6ec8114 | ||
|
|
88dd95980a | ||
|
|
b531001f55 | ||
|
|
1d0563212e | ||
|
|
8ca49d98c1 | ||
|
|
036c1fb0f9 | ||
|
|
19258ee18a | ||
|
|
578d8d8391 | ||
|
|
010ae580b1 | ||
|
|
951f5eaa82 | ||
|
|
3a69dd4a43 | ||
|
|
f52155a768 | ||
|
|
16b3d9101c | ||
|
|
8ff77e9d47 | ||
|
|
4361c516fd | ||
|
|
7d5772c749 | ||
|
|
f5e2f60dcc | ||
|
|
8fbb725f34 | ||
|
|
72a47e16c1 | ||
|
|
530ebecfb7 | ||
|
|
9a3dcaa10b | ||
|
|
8a121803f5 | ||
|
|
bb45fd6c6c | ||
|
|
62945bb3bc | ||
|
|
079a53e820 | ||
|
|
a23fad91a3 | ||
|
|
5f1df5b389 | ||
|
|
74d5d008bb | ||
|
|
8a9fc9237d | ||
|
|
c093b24342 | ||
|
|
29fb82d3b7 | ||
|
|
c7355b4056 | ||
|
|
4b4ca90c71 | ||
|
|
6aa7123a8c | ||
|
|
80b2fa3583 | ||
|
|
7886204690 | ||
|
|
c2dcca980e | ||
|
|
a23dfdc4ee | ||
|
|
41a038b79b | ||
|
|
a8e06874bd | ||
|
|
54ef9ad31c | ||
|
|
32f9cf072b | ||
|
|
03e8ef0b0f | ||
|
|
a2f327f729 | ||
|
|
6e204ed0dd | ||
|
|
58ddf997e3 | ||
|
|
9656311521 | ||
|
|
676fd31635 | ||
|
|
a7f8c9cc74 | ||
|
|
a247041cab | ||
|
|
59fd238a05 | ||
|
|
a64660a530 | ||
|
|
e9a1c75b7f | ||
|
|
b6f292f556 | ||
|
|
4781a6046a | ||
|
|
b16b48f458 | ||
|
|
b4e91c87a6 | ||
|
|
a668b7c658 | ||
|
|
94fd17e4f7 | ||
|
|
abd4c480cd | ||
|
|
aa2b653c71 | ||
|
|
d75f41b641 | ||
|
|
b0f898cec8 | ||
|
|
9ec5413d33 | ||
|
|
611567c385 | ||
|
|
7a04a5b9a8 | ||
|
|
2d71d66cf5 | ||
|
|
a51e26e62d | ||
|
|
5021989cb6 | ||
|
|
2284ada723 | ||
|
|
e44f34dde3 | ||
|
|
0c820c3068 | ||
|
|
990ccd6763 | ||
|
|
f631587a20 | ||
|
|
9f8fcaf827 | ||
|
|
d7893a60ca | ||
|
|
93090c56ee | ||
|
|
d750ffc129 | ||
|
|
7efa0fc82a | ||
|
|
8db9db7e25 | ||
|
|
d165671225 | ||
|
|
7a8f71e7d8 | ||
|
|
e0ad430cd9 | ||
|
|
7695687e87 | ||
|
|
94e545bdca | ||
|
|
99daa8d24b | ||
|
|
e14903cfb2 | ||
|
|
bee344d1ae | ||
|
|
713dab278c | ||
|
|
29ad93c89d | ||
|
|
7a9140821d | ||
|
|
2ba0749993 | ||
|
|
25d75ee86f | ||
|
|
a72009fb41 | ||
|
|
a934d965be | ||
|
|
1277a40b31 | ||
|
|
6f35fec5ce | ||
|
|
f58aee2ff2 | ||
|
|
f5ee7aa0ab | ||
|
|
749b0345df | ||
|
|
7e9535381a | ||
|
|
0d5fedce92 | ||
|
|
24b5c641f5 | ||
|
|
ca31bcdbb6 | ||
|
|
ae990ebcda | ||
|
|
58dae8f931 | ||
|
|
5470cf9fa9 | ||
|
|
9bde98e912 | ||
|
|
81ac386a4a | ||
|
|
c98744b914 | ||
|
|
904be103df | ||
|
|
8e82440a55 | ||
|
|
32c789c355 | ||
|
|
d4a8cbb1d6 | ||
|
|
192236a832 | ||
|
|
e223228ec0 | ||
|
|
c7dbdf876a | ||
|
|
3ffea76e11 | ||
|
|
09547f839f | ||
|
|
0bf413b260 | ||
|
|
a5b2cb6ddf | ||
|
|
779cf9248a | ||
|
|
1d06364284 | ||
|
|
833c215c45 | ||
|
|
4d95f6f7b8 | ||
|
|
46a5f04840 | ||
|
|
3c686d0eb2 | ||
|
|
7c8ff1d19c | ||
|
|
151c5b6a1d | ||
|
|
15d1751b23 | ||
|
|
b71d49e55a | ||
|
|
c3b2bfbc39 | ||
|
|
b74a8f133f | ||
|
|
873048c21c | ||
|
|
75e9986d39 | ||
|
|
863abdb1f7 | ||
|
|
03bd1bfc63 | ||
|
|
4257fcf9d0 | ||
|
|
a68da7e220 | ||
|
|
77ef2cd487 | ||
|
|
7f1aae640f | ||
|
|
0ec025c40c | ||
|
|
bc87270ca9 | ||
|
|
0e11b0929c | ||
|
|
b741105329 | ||
|
|
2f4d1647f0 | ||
|
|
4a88ddc616 | ||
|
|
99e7dbc82b | ||
|
|
c7a7965c49 | ||
|
|
f073b278f9 | ||
|
|
4969125e5a | ||
|
|
d230ccd716 | ||
|
|
3fae11595a | ||
|
|
1e546bb9d9 | ||
|
|
138daaf565 | ||
|
|
3438d8f2b0 | ||
|
|
e55ed8eb66 | ||
|
|
a55daf5367 | ||
|
|
a173883b2d | ||
|
|
61d2284eab | ||
|
|
6083480abb | ||
|
|
2e1128b417 | ||
|
|
e47208d9b3 | ||
|
|
87bd8fefa0 | ||
|
|
753ea29df8 | ||
|
|
b1dfdef0a9 | ||
|
|
2e4676dc11 | ||
|
|
eaaf91c82b | ||
|
|
4e71f359bf | ||
|
|
b3348a38d0 | ||
|
|
7854118883 | ||
|
|
ed0e1af7aa | ||
|
|
e1a9734917 | ||
|
|
589612f914 | ||
|
|
76b4c2f254 | ||
|
|
b097cec72d | ||
|
|
9689a4f58a | ||
|
|
aac0186871 | ||
|
|
f458951b17 | ||
|
|
4448778dbf | ||
|
|
dab826bef9 | ||
|
|
9fae951d9d | ||
|
|
0f2a8c6c22 | ||
|
|
68e0cf5523 |
+32
@@ -0,0 +1,32 @@
|
|||||||
|
# DESCRIPTION: mbake configuration file
|
||||||
|
# SPDX-FileCopyrightText: 2025 Wilson Snyder
|
||||||
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
|
||||||
|
[formatter]
|
||||||
|
# Indentation settings
|
||||||
|
use_tabs = true
|
||||||
|
tab_width = 2
|
||||||
|
|
||||||
|
# Spacing settings
|
||||||
|
space_around_assignment = true
|
||||||
|
space_before_colon = false
|
||||||
|
space_after_colon = true
|
||||||
|
|
||||||
|
# Line continuation settings
|
||||||
|
normalize_line_continuations = true
|
||||||
|
max_line_length = 100
|
||||||
|
|
||||||
|
# PHONY settings
|
||||||
|
group_phony_declarations = false
|
||||||
|
phony_at_top = false
|
||||||
|
auto_insert_phony_declarations = false
|
||||||
|
|
||||||
|
# General settings
|
||||||
|
remove_trailing_whitespace = true
|
||||||
|
ensure_final_newline = true
|
||||||
|
normalize_empty_lines = true
|
||||||
|
max_consecutive_empty_lines = 2
|
||||||
|
|
||||||
|
# Global settings
|
||||||
|
debug = false
|
||||||
|
verbose = false
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
Checks: '*,-hicpp*,-android-cloexec-fopen,-cert-dcl50-cpp,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-security*,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-no-malloc,-cppcoreguidelines-owning-memory,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-fuchsia-*,-google-default-arguments,-google-readability-todo,-google-runtime-references,-llvm-header-guard,-llvm-include-order,-misc-string-integer-assignment,-misc-string-literal-with-embedded-nul,-modernize-use-auto,-modernize-use-trailing-return-type,-readability-braces-around-statements,-readability-container-size-empty,-readability-delete-null-pointer,-readability-else-after-return,-readability-implicit-bool-conversion,-readability-named-parameter,-readability-static-accessed-through-instance,-llvmlibc-*,-altera-*'
|
Checks: '*,-hicpp*,-android-cloexec-fopen,-cert-dcl50-cpp,-cert-env33-c,-cert-err34-c,-cert-err58-cpp,-clang-analyzer-core.UndefinedBinaryOperatorResult,-clang-analyzer-security*,-cppcoreguidelines-avoid-magic-numbers,-cppcoreguidelines-no-malloc,-cppcoreguidelines-owning-memory,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-type-const-cast,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-type-static-cast-downcast,-cppcoreguidelines-pro-type-union-access,-cppcoreguidelines-pro-type-vararg,-cppcoreguidelines-special-member-functions,-fuchsia-*,-google-default-arguments,-google-readability-todo,-google-runtime-references,-llvm-header-guard,-llvm-include-order,-misc-string-integer-assignment,-misc-string-literal-with-embedded-nul,-modernize-use-auto,-modernize-use-trailing-return-type,-readability-braces-around-statements,-readability-container-size-empty,-readability-delete-null-pointer,-readability-else-after-return,-readability-implicit-bool-conversion,-readability-named-parameter,-readability-static-accessed-through-instance,-llvmlibc-*,-altera-*,-boost-use-ranges'
|
||||||
WarningsAsErrors: ''
|
WarningsAsErrors: ''
|
||||||
HeaderFilterRegex: ''
|
HeaderFilterRegex: ''
|
||||||
FormatStyle: none
|
FormatStyle: none
|
||||||
|
|||||||
+4
-4
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- ".github/**"
|
- ".github/**" #
|
||||||
- "ci/build_verilator.sh"
|
- "ci/build_verilator.sh" #
|
||||||
- "include/vltstd/**"
|
- "include/vltstd/**" #
|
||||||
- "nodist/fastcov.py"
|
- "nodist/fastcov.py" #
|
||||||
|
|||||||
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: codecov.io config
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
|
# or the Perl Artistic License Version 2.0.
|
||||||
|
# SPDX-FileCopyrightText: 2020-2026 Wilson Snyder
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
####################
|
||||||
|
# Validate:
|
||||||
|
# curl --data-binary @.codecov.yml https://codecov.io/validate
|
||||||
|
#
|
||||||
|
coverage:
|
||||||
|
precision: 2
|
||||||
|
range: 75...100
|
||||||
|
round: down
|
||||||
|
status:
|
||||||
|
project: false
|
||||||
|
patch: false
|
||||||
|
comment: false
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
---
|
|
||||||
name: Bug report
|
|
||||||
about: Use this to report that something isn't working as expected, and it isn't "Unsupported." (Note our contributor agreement at https://github.com/verilator/verilator/blob/master/docs/CONTRIBUTING.rst)
|
|
||||||
title: ''
|
|
||||||
labels: new
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Thanks for taking the time to report this.
|
|
||||||
|
|
||||||
Can you attach an example that shows the issue? (Must be openly licensed, ideally in test_regress format.)
|
|
||||||
|
|
||||||
What 'verilator' command line do we use to run your example?
|
|
||||||
|
|
||||||
What 'verilator --version' are you using? Did you try it with the git master version?
|
|
||||||
|
|
||||||
What OS and distribution are you using?
|
|
||||||
|
|
||||||
May we assist you in trying to fix this in Verilator yourself?
|
|
||||||
|
|
||||||
(Please avoid attaching screenshots that show text - you can convert images to text using e.g. https://ocr.space)
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
name: Feature Request
|
|
||||||
about: Use this to request something should be supported, or a new feature added. (Note our contributor agreement at https://github.com/verilator/verilator/blob/master/docs/CONTRIBUTING.rst)
|
|
||||||
title: ''
|
|
||||||
labels: new
|
|
||||||
assignees: ''
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
Thanks for taking the time to report this.
|
|
||||||
|
|
||||||
What would you like added/supported?
|
|
||||||
|
|
||||||
What 'verilator --version' are you using? Did you try it with the git master version?
|
|
||||||
|
|
||||||
Can you attach an example that runs on other simulators? (Must be openly licensed, ideally in test_regress format.)
|
|
||||||
|
|
||||||
May we assist you in trying to fix this in Verilator yourself?
|
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
---
|
||||||
|
name: Bug or feature
|
||||||
|
about: Use this to report that something isn't working as expected, or is a desired feature. (Note our contributor agreement at https://github.com/verilator/verilator/blob/master/docs/CONTRIBUTING.rst)
|
||||||
|
title: ''
|
||||||
|
labels: new
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
Thanks for taking the time to report this.
|
||||||
|
|
||||||
|
Can you please attach an example that shows the issue or missing feature? (Must be openly licensed, completely self-contained so can directly run what you provide. Ideally use test_regress format, see https://veripool.org/guide/latest/contributing.html?highlight=test_regress#reporting-bugs)
|
||||||
|
|
||||||
|
What output from that test indicates it is wrong, and what is the correct or expected output? (Or, please make test self-checking if possible.)
|
||||||
|
|
||||||
|
What 'verilator' command line do we use to run your example?
|
||||||
|
|
||||||
|
What 'verilator --version' are you using? Did you try it with the git master version? Did you try it with other simulators?
|
||||||
|
|
||||||
|
What OS and distribution are you using?
|
||||||
|
|
||||||
|
May we assist you in trying to fix this in Verilator yourself?
|
||||||
|
|
||||||
|
(Please avoid attaching screenshots that show text - you can convert images to text using e.g. https://ocr.space)
|
||||||
@@ -9,4 +9,4 @@ assignees: ''
|
|||||||
|
|
||||||
How may we help - what is your question?
|
How may we help - what is your question?
|
||||||
|
|
||||||
(If reporting a bug or requesting a feature please use one of the other issue templates.)
|
(If reporting a bug or requesting a feature please hit BACK on your browser and use a different issue templates.)
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
# See https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "weekly"
|
||||||
|
groups:
|
||||||
|
everything:
|
||||||
|
patterns: ["*"]
|
||||||
@@ -0,0 +1,286 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# This name is key to badges in README.rst, so we use the name build
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: build-test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- 'dependabot/**' # Avoid duplicates: only run the PR, not the push
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0' # weekly
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
working-directory: repo
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# At most 1 job per branch. Auto cancel on pull requests and on all forks
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.event_name == 'pull_request' || github.repository != 'verilator/verilator' }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build-2404-gcc:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: linux
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, asan: 0}
|
||||||
|
|
||||||
|
build-2404-clang:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: linux
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: ubuntu-24.04, cc: clang, asan: 1}
|
||||||
|
|
||||||
|
build-2204-gcc:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: linux
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, asan: 0}
|
||||||
|
|
||||||
|
build-2204-clang:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: linux
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: ubuntu-22.04, cc: clang, asan: 0}
|
||||||
|
|
||||||
|
build-osx-gcc:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: osx
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: macos-15, cc: gcc, asan: 0}
|
||||||
|
|
||||||
|
build-osx-clang:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}${{ matrix.asan && ' | asan' || '' }}
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
sha: ${{ github.sha }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
os-name: osx
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
dev-asan: ${{ matrix.asan }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: macos-15, cc: clang, asan: 0}
|
||||||
|
|
||||||
|
build-windows:
|
||||||
|
name: Build | ${{ matrix.os }} | ${{ matrix.cc }}
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- {os: windows-2025, cc: msvc}
|
||||||
|
env:
|
||||||
|
CI_OS_NAME: win
|
||||||
|
CCACHE_COMPRESS: 1
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
CCACHE_LIMIT_MULTIPLE: 0.95
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
path: repo
|
||||||
|
- name: Cache $CCACHE_DIR
|
||||||
|
uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: ${{ env.CCACHE_DIR }}
|
||||||
|
key: msbuild-msvc-cmake
|
||||||
|
- name: compile
|
||||||
|
env:
|
||||||
|
WIN_FLEX_BISON: ${{ github.workspace }}/.ccache
|
||||||
|
run: ./ci/ci-win-compile.ps1
|
||||||
|
- name: test build
|
||||||
|
run: ./ci/ci-win-test.ps1
|
||||||
|
- name: Zip up repository
|
||||||
|
run: Compress-Archive -LiteralPath install -DestinationPath verilator.zip
|
||||||
|
- name: Upload zip archive
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: ${{ github.workspace }}/repo/verilator.zip
|
||||||
|
name: verilator-win.zip
|
||||||
|
|
||||||
|
test-2404-gcc:
|
||||||
|
name: Test | ${{ matrix.os }} | ${{ matrix.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }}
|
||||||
|
needs: build-2404-gcc
|
||||||
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
|
with:
|
||||||
|
archive: ${{ needs.build-2404-gcc.outputs.archive }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
reloc: ${{ matrix.reloc }}
|
||||||
|
suite: ${{ matrix.suite }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# Ubuntu 24.04 gcc
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: dist-vlt-0}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: dist-vlt-1}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: dist-vlt-2}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: dist-vlt-3}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: vltmt-0}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: vltmt-1}
|
||||||
|
- {os: ubuntu-24.04, cc: gcc, reloc: 0, suite: vltmt-2}
|
||||||
|
|
||||||
|
test-2404-clang:
|
||||||
|
name: Test | ${{ matrix.os }} | ${{ matrix.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }}
|
||||||
|
needs: build-2404-clang
|
||||||
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
|
with:
|
||||||
|
archive: ${{ needs.build-2404-clang.outputs.archive }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
reloc: ${{ matrix.reloc }}
|
||||||
|
suite: ${{ matrix.suite }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# Ubuntu 24.04 clang
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: dist-vlt-0}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: dist-vlt-1}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: dist-vlt-2}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: dist-vlt-3}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: vltmt-0}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: vltmt-1}
|
||||||
|
- {os: ubuntu-24.04, cc: clang, reloc: 0, suite: vltmt-2}
|
||||||
|
|
||||||
|
test-2204-gcc:
|
||||||
|
name: Test | ${{ matrix.os }} | ${{ matrix.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }}
|
||||||
|
needs: build-2204-gcc
|
||||||
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
|
with:
|
||||||
|
archive: ${{ needs.build-2204-gcc.outputs.archive }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
reloc: ${{ matrix.reloc }}
|
||||||
|
suite: ${{ matrix.suite }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# Ubuntu 22.04 gcc
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: dist-vlt-0}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: dist-vlt-1}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: dist-vlt-2}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: dist-vlt-3}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: vltmt-0}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: vltmt-1}
|
||||||
|
- {os: ubuntu-22.04, cc: gcc, reloc: 0, suite: vltmt-2}
|
||||||
|
|
||||||
|
test-2204-clang:
|
||||||
|
name: Test | ${{ matrix.os }} | ${{ matrix.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }}
|
||||||
|
needs: build-2204-clang
|
||||||
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
|
with:
|
||||||
|
archive: ${{ needs.build-2204-clang.outputs.archive }}
|
||||||
|
os: ${{ matrix.os }}
|
||||||
|
cc: ${{ matrix.cc }}
|
||||||
|
reloc: ${{ matrix.reloc }}
|
||||||
|
suite: ${{ matrix.suite }}
|
||||||
|
dev-gcov: 0
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
# Ubuntu 22.04 clang, also test relocation
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: dist-vlt-0}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: dist-vlt-1}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: dist-vlt-2}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: dist-vlt-3}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: vltmt-0}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: vltmt-1}
|
||||||
|
- {os: ubuntu-22.04, cc: clang, reloc: 1, suite: vltmt-2}
|
||||||
|
|
||||||
|
lint-py:
|
||||||
|
name: Lint Python
|
||||||
|
uses: ./.github/workflows/reusable-lint-py.yml
|
||||||
|
|
||||||
|
passed:
|
||||||
|
name: Test suite passed
|
||||||
|
if: always()
|
||||||
|
needs:
|
||||||
|
- build-2404-gcc
|
||||||
|
- build-2404-clang
|
||||||
|
- build-2204-gcc
|
||||||
|
- build-2204-clang
|
||||||
|
- build-osx-gcc
|
||||||
|
- build-osx-clang
|
||||||
|
- build-windows
|
||||||
|
- test-2404-gcc
|
||||||
|
- test-2404-clang
|
||||||
|
- test-2204-gcc
|
||||||
|
- test-2204-clang
|
||||||
|
- lint-py
|
||||||
|
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Decide whether the needed jobs succeeded or failed
|
||||||
|
uses: re-actors/alls-green@release/v1
|
||||||
|
with:
|
||||||
|
jobs: ${{ toJSON(needs) }}
|
||||||
@@ -1,181 +0,0 @@
|
|||||||
---
|
|
||||||
# DESCRIPTION: Github actions config
|
|
||||||
# This name is key to badges in README.rst, so we use the name build
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
||||||
|
|
||||||
name: build
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * 0' # weekly
|
|
||||||
|
|
||||||
env:
|
|
||||||
CI_OS_NAME: linux
|
|
||||||
CI_COMMIT: ${{ github.sha }}
|
|
||||||
CCACHE_COMPRESS: 1
|
|
||||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
|
||||||
CCACHE_LIMIT_MULTIPLE: 0.95
|
|
||||||
INSTALL_DIR: ${{ github.workspace }}/install
|
|
||||||
RELOC_DIR: ${{ github.workspace }}/relloc
|
|
||||||
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: bash
|
|
||||||
working-directory: repo
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-24.04, ubuntu-22.04, ubuntu-20.04]
|
|
||||||
compiler:
|
|
||||||
- {cc: clang, cxx: clang++}
|
|
||||||
- {cc: gcc, cxx: g++}
|
|
||||||
include:
|
|
||||||
# Build GCC 10 on ubuntu-20.04
|
|
||||||
- os: ubuntu-20.04
|
|
||||||
compiler: {cc: gcc-10, cxx: g++-10}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
name: Build | ${{ matrix.os }} | ${{ matrix.compiler.cc }}
|
|
||||||
env:
|
|
||||||
CI_BUILD_STAGE_NAME: build
|
|
||||||
CI_RUNS_ON: ${{ matrix.os }}
|
|
||||||
CC: ${{ matrix.compiler.cc }}
|
|
||||||
CXX: ${{ matrix.compiler.cxx }}
|
|
||||||
CACHE_BASE_KEY: build-${{ matrix.os }}-${{ matrix.compiler.cc }}
|
|
||||||
CCACHE_MAXSIZE: 1000M # Per build matrix entry (* 5 = 5000M in total)
|
|
||||||
VERILATOR_ARCHIVE: verilator-${{ github.sha }}-${{ matrix.os }}-${{ matrix.compiler.cc }}.tar.gz
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
path: repo
|
|
||||||
|
|
||||||
- name: Cache $CCACHE_DIR
|
|
||||||
uses: actions/cache@v4
|
|
||||||
env:
|
|
||||||
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache
|
|
||||||
with:
|
|
||||||
path: ${{ env.CCACHE_DIR }}
|
|
||||||
key: ${{ env.CACHE_KEY }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ env.CACHE_KEY }}-
|
|
||||||
|
|
||||||
- name: Install packages for build
|
|
||||||
run: ./ci/ci-install.bash
|
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: ./ci/ci-script.bash
|
|
||||||
|
|
||||||
- name: Tar up repository
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo
|
|
||||||
|
|
||||||
- name: Upload tar archive
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
name: ${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
|
|
||||||
test:
|
|
||||||
needs: build
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
os: [ubuntu-22.04, ubuntu-20.04]
|
|
||||||
compiler:
|
|
||||||
- {cc: clang, cxx: clang++}
|
|
||||||
- {cc: gcc, cxx: g++}
|
|
||||||
reloc: [0]
|
|
||||||
suite: [dist-vlt-0, dist-vlt-1, dist-vlt-2, dist-vlt-3, vltmt-0, vltmt-1]
|
|
||||||
include:
|
|
||||||
# Test with GCC 10 on ubuntu-20.04, also test relocation
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-0}
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-1}
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-2}
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: dist-vlt-3}
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: vltmt-0}
|
|
||||||
- {os: ubuntu-20.04, compiler: {cc: gcc-10, cxx: g++-10}, reloc: 1, suite: vltmt-1}
|
|
||||||
# Ubuntu 24.04 only on GCC; not passing on clang yet
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-0}
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-1}
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-2}
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: dist-vlt-3}
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: vltmt-0}
|
|
||||||
- {os: ubuntu-24.04, compiler: {cc: gcc, cxx: g++}, suite: vltmt-1}
|
|
||||||
runs-on: ${{ matrix.os }}
|
|
||||||
name: Test | ${{ matrix.os }} | ${{ matrix.compiler.cc }} | ${{ matrix.reloc && 'reloc | ' || '' }} ${{ matrix.suite }}
|
|
||||||
env:
|
|
||||||
CI_BUILD_STAGE_NAME: test
|
|
||||||
CI_RUNS_ON: ${{ matrix.os }}
|
|
||||||
CI_RELOC: ${{ matrix.reloc }}
|
|
||||||
CC: ${{ matrix.compiler.cc }}
|
|
||||||
CXX: ${{ matrix.compiler.cxx }}
|
|
||||||
CACHE_BASE_KEY: test-${{ matrix.os }}-${{ matrix.compiler.cc }}-${{ matrix.reloc }}-${{ matrix.suite }}
|
|
||||||
CCACHE_MAXSIZE: 100M # Per build per suite (* 5 * 5 = 2500M in total)
|
|
||||||
VERILATOR_ARCHIVE: verilator-${{ github.sha }}-${{ matrix.os }}-${{ matrix.compiler.cc }}.tar.gz
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Download tar archive
|
|
||||||
uses: actions/download-artifact@v4
|
|
||||||
with:
|
|
||||||
name: ${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
path: ${{ github.workspace }}
|
|
||||||
|
|
||||||
- name: Unpack tar archive
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
|
|
||||||
- name: Cache $CCACHE_DIR
|
|
||||||
uses: actions/cache@v4
|
|
||||||
env:
|
|
||||||
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache2
|
|
||||||
with:
|
|
||||||
path: ${{ env.CCACHE_DIR }}
|
|
||||||
key: ${{ env.CACHE_KEY }}-${{ github.sha }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ env.CACHE_KEY }}-
|
|
||||||
|
|
||||||
- name: Install test dependencies
|
|
||||||
run: ./ci/ci-install.bash
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
env:
|
|
||||||
TESTS: ${{ matrix.suite }}
|
|
||||||
run: ./ci/ci-script.bash
|
|
||||||
|
|
||||||
lint-py:
|
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
name: Lint Python
|
|
||||||
env:
|
|
||||||
CI_BUILD_STAGE_NAME: build
|
|
||||||
CI_RUNS_ON: ubuntu-22.04
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
path: repo
|
|
||||||
|
|
||||||
- name: Install packages for build
|
|
||||||
run: ./ci/ci-install.bash
|
|
||||||
|
|
||||||
# We use specific version numbers, otherwise a Python package
|
|
||||||
# update may add a warning and break our build
|
|
||||||
- name: Install packages for lint
|
|
||||||
run: sudo pip3 install pylint==3.0.2 ruff==0.1.3 clang sphinx sphinx_rtd_theme sphinxcontrib-spelling breathe ruff
|
|
||||||
|
|
||||||
- name: Configure
|
|
||||||
run: autoconf && ./configure --enable-longtests --enable-ccwarn
|
|
||||||
|
|
||||||
- name: Lint
|
|
||||||
run: make -k lint-py
|
|
||||||
@@ -5,12 +5,16 @@
|
|||||||
name: Contributor Agreement
|
name: Contributor Agreement
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- 'dependabot/**' # Avoid duplicates: only run the PR, not the push
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
jobs:
|
jobs:
|
||||||
Test:
|
Test:
|
||||||
name: "'docs/CONTRIBUTORS' was signed"
|
name: "'docs/CONTRIBUTORS' was signed"
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
- run: test_regress/t/t_dist_contributors.py
|
- run: test_regress/t/t_dist_contributors.py
|
||||||
|
|||||||
+186
-64
@@ -2,91 +2,213 @@
|
|||||||
# DESCRIPTION: Github actions config
|
# DESCRIPTION: Github actions config
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
name: coverage
|
name: Code coverage
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * 0' # weekly
|
- cron: '0 0 * * 0' # weekly
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened, labeled, unlabeled]
|
||||||
|
|
||||||
env:
|
permissions:
|
||||||
CI_OS_NAME: linux
|
contents: read
|
||||||
CI_COMMIT: ${{ github.sha }}
|
|
||||||
COVERAGE: 1
|
|
||||||
VERILATOR_ARCHIVE: verilator-coverage-${{ github.sha }}.tar.gz
|
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
working-directory: repo
|
|
||||||
|
concurrency:
|
||||||
|
# At most 1 job per branch. Auto cancel all but scheduled jobs
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.event_name != 'schedule' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
Build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
name: Build
|
||||||
env:
|
# Only run scheduled jobs if explicitly enabled for that repo (e.g.: not on forks)
|
||||||
CI_BUILD_STAGE_NAME: build
|
# Only run pull request jobs if labelled as needing an coverage run
|
||||||
CI_RUNS_ON: ubuntu-22.04
|
# Always run workflow dispatch jobs
|
||||||
steps:
|
if: |
|
||||||
|
(github.event_name == 'schedule'
|
||||||
|
&& vars.ENABLE_SCHEDULED_JOBS == 'true') ||
|
||||||
|
(github.event_name == 'pull_request'
|
||||||
|
&& contains(github.event.pull_request.labels.*.name, 'pr: dev-coverage')) ||
|
||||||
|
(github.event_name == 'workflow_dispatch')
|
||||||
|
uses: ./.github/workflows/reusable-build.yml
|
||||||
|
with:
|
||||||
|
# For pull requests, build the head of the pull request branch, not the
|
||||||
|
# merge commit, otherwise patch coverage would include the changes
|
||||||
|
# between the root of the pull request and the target branch
|
||||||
|
sha: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
|
||||||
|
os: ubuntu-24.04
|
||||||
|
os-name: linux
|
||||||
|
cc: gcc
|
||||||
|
dev-asan: 0
|
||||||
|
dev-gcov: 1
|
||||||
|
|
||||||
- name: Checkout
|
test:
|
||||||
uses: actions/checkout@v4
|
name: Test | ${{ matrix.test }}${{ matrix.num }}
|
||||||
with:
|
needs: build
|
||||||
path: repo
|
uses: ./.github/workflows/reusable-test.yml
|
||||||
|
with:
|
||||||
- name: Install packages for build
|
archive: ${{ needs.build.outputs.archive }}
|
||||||
run: ./ci/ci-install.bash
|
os: ubuntu-24.04
|
||||||
|
cc: gcc
|
||||||
- name: Build
|
reloc: 0
|
||||||
run: ./ci/ci-script.bash
|
suite: ${{ matrix.test }}${{ matrix.num }}
|
||||||
|
dev-gcov: 1
|
||||||
- name: Tar up repository
|
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: tar --posix -c -z -f ${{ env.VERILATOR_ARCHIVE }} repo
|
|
||||||
|
|
||||||
- name: Upload tar archive
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
path: ${{ github.workspace }}/${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
name: ${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
|
|
||||||
Test:
|
|
||||||
needs: Build
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
test: [vlt-, vltmt-]
|
test: [coverage-vlt-, coverage-vltmt-]
|
||||||
num: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
num: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
|
||||||
include:
|
include:
|
||||||
- {test: dist, num: ''}
|
- {test: coverage-dist, num: ''}
|
||||||
runs-on: ubuntu-22.04
|
|
||||||
name: test-${{ matrix.test }}${{ matrix.num }}
|
|
||||||
env:
|
|
||||||
CI_BUILD_STAGE_NAME: test
|
|
||||||
CI_RUNS_ON: ubuntu-22.04
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Download tar archive
|
publish-codecov:
|
||||||
uses: actions/download-artifact@v4
|
name: Publish results to codecov.io
|
||||||
|
needs: test
|
||||||
|
if: ${{ contains(needs.*.result, 'success') && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
|
- name: Download code coverage data
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
with:
|
with:
|
||||||
name: ${{ env.VERILATOR_ARCHIVE }}
|
pattern: code-coverage-*
|
||||||
|
path: obj_coverage
|
||||||
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: List files
|
||||||
|
id: list-files
|
||||||
|
run: |
|
||||||
|
ls -lsha obj_coverage
|
||||||
|
find obj_coverage -type f | paste -sd, | sed "s/^/files=/" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Upload to codecov.io
|
||||||
|
uses: codecov/codecov-action@v6
|
||||||
|
with:
|
||||||
|
disable_file_fixes: true
|
||||||
|
disable_search: true
|
||||||
|
fail_ci_if_error: true
|
||||||
|
files: ${{ steps.list-files.outputs.files }}
|
||||||
|
plugins: noop
|
||||||
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
verbose: true
|
||||||
|
|
||||||
|
prepare-report:
|
||||||
|
name: Prepare HTML report
|
||||||
|
needs: [build, test]
|
||||||
|
if: ${{ contains(needs.*.result, 'success') && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
echo 'set man-db/auto-update false' | sudo debconf-communicate >/dev/null
|
||||||
|
sudo dpkg-reconfigure man-db
|
||||||
|
sudo apt install lcov || \
|
||||||
|
sudo apt install lcov
|
||||||
|
|
||||||
|
- name: Download repository archive
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: ${{ needs.build.outputs.archive }}
|
||||||
path: ${{ github.workspace }}
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Unpack tar archive
|
- name: Unpack repository archive
|
||||||
working-directory: ${{ github.workspace }}
|
|
||||||
run: tar -x -z -f ${{ env.VERILATOR_ARCHIVE }}
|
|
||||||
|
|
||||||
- name: Install test dependencies
|
|
||||||
run: ./ci/ci-install.bash
|
|
||||||
|
|
||||||
- name: Test
|
|
||||||
env:
|
|
||||||
TESTS: coverage-${{ matrix.test }}${{ matrix.num }}
|
|
||||||
run: ./ci/ci-script.bash
|
|
||||||
|
|
||||||
- name: Upload coverage data to Codecov
|
|
||||||
env:
|
|
||||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
find . -name '*.gcno' -exec rm {} \;
|
tar -x -z -f ${{ needs.build.outputs.archive }}
|
||||||
./ci/codecov -v upload-process -Z --sha ${{ github.sha }} -f nodist/obj_dir/coverage/app_total.info
|
ls -lsha
|
||||||
|
|
||||||
|
- name: Download code coverage data
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
pattern: code-coverage-*
|
||||||
|
path: repo/obj_coverage
|
||||||
|
merge-multiple: true
|
||||||
|
|
||||||
|
- name: Create report
|
||||||
|
working-directory: repo
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
run: |
|
||||||
|
ls -lsha obj_coverage
|
||||||
|
# Combine reports from test jobs
|
||||||
|
nodist/fastcov.py -C obj_coverage/verilator-*.info --lcov -o obj_coverage/verilator.info
|
||||||
|
# For a PR, report patch coverage against the merge-base between the head of the PR and the target branch
|
||||||
|
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
|
||||||
|
COVERAGE_BASE=$(git rev-parse --short $(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}))
|
||||||
|
make coverage-report COVERAGE_BASE=${COVERAGE_BASE} |& tee ${{ github.workspace }}/make-coverage-report.log
|
||||||
|
else
|
||||||
|
make coverage-report
|
||||||
|
fi
|
||||||
|
# Remove data files
|
||||||
|
rm -f obj_coverage/verilator*.info
|
||||||
|
# Some extra work for PRs only
|
||||||
|
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
|
||||||
|
# Save PR number in report
|
||||||
|
echo ${{ github.event.number }} > obj_coverage/pr-number.txt
|
||||||
|
# Generate notification comment content
|
||||||
|
mkdir -p notification
|
||||||
|
echo ${{ github.event.number }} > notification/pr-number.txt
|
||||||
|
NUM=$(gh run view ${{ github.run_id }} --json number --jq ".number")
|
||||||
|
URL=$(gh run view ${{ github.run_id }} --json url --jq ".url")
|
||||||
|
echo "Patch coverage from PR workflow [#$NUM]($URL) (code coverage of lines changed relative to ${COVERAGE_BASE}):" > notification/body.txt
|
||||||
|
if [[ ! -f obj_coverage/empty-patch ]]; then
|
||||||
|
echo "<pre>" >> notification/body.txt
|
||||||
|
grep -E "(lines|branches)\.*:" ${{ github.workspace }}/make-coverage-report.log | sed "s/\.*:/:/" >> notification/body.txt || true
|
||||||
|
echo "</pre>" >> notification/body.txt
|
||||||
|
echo "Report: [${{ github.run_id }}](https://${{ github.repository_owner }}.github.io/verilator/coverage-reports/${{ github.run_id }}/index.html)" >> notification/body.txt
|
||||||
|
else
|
||||||
|
echo "Patch contains no code changes" >> notification/body.txt
|
||||||
|
fi
|
||||||
|
cat notification/body.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
- name: Upload report
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: repo/obj_coverage
|
||||||
|
name: coverage-report
|
||||||
|
|
||||||
|
- name: Upload notification
|
||||||
|
if: ${{ github.event_name == 'pull_request' }}
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: repo/notification
|
||||||
|
name: coverage-pr-notification
|
||||||
|
|
||||||
|
# Create GitHub issue for failed scheduled jobs
|
||||||
|
# This should always be the last job (we want an issue if anything breaks)
|
||||||
|
create-issue:
|
||||||
|
name: Create issue on failure
|
||||||
|
needs: [publish-codecov, prepare-report]
|
||||||
|
if: ${{ github.event_name == 'schedule' && github.repository == 'verilator/verilator' && github.run_attempt == 1 && failure() && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
# Creating issues requires elevated privilege
|
||||||
|
- name: Generate access token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.VERILATOR_CI_ID }}
|
||||||
|
private-key: ${{ secrets.VERILATOR_CI_KEY }}
|
||||||
|
owner: verilator
|
||||||
|
repositories: verilator
|
||||||
|
permission-issues: write
|
||||||
|
- name: Create issue
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
|
run: |-
|
||||||
|
echo "This issue was created automatically by the GitHub Actions CI due to the failure of a scheduled Code coverage run." >> body.txt
|
||||||
|
echo "" >> body.txt
|
||||||
|
echo "Workflow status: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> body.txt
|
||||||
|
gh issue --repo ${{ github.repository }} create \
|
||||||
|
--title "Code coverage run #${{ github.run_number }} Failed" \
|
||||||
|
--body-file body.txt \
|
||||||
|
--label new \
|
||||||
|
--assignee gezalore,wsnyder
|
||||||
|
|||||||
@@ -22,11 +22,14 @@ on:
|
|||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -36,7 +39,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Extract context variables
|
- name: Extract context variables
|
||||||
run: |
|
run: |
|
||||||
@@ -51,7 +54,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Docker meta
|
- name: Docker meta
|
||||||
id: docker_meta
|
id: docker_meta
|
||||||
uses: docker/metadata-action@v4
|
uses: docker/metadata-action@v6
|
||||||
with:
|
with:
|
||||||
images: |
|
images: |
|
||||||
${{ vars.DOCKER_HUB_NAMESPACE }}/${{ env.image_name }}
|
${{ vars.DOCKER_HUB_NAMESPACE }}/${{ env.image_name }}
|
||||||
@@ -61,26 +64,26 @@ jobs:
|
|||||||
type=raw,value=latest,enable=${{ inputs.add_latest_tag == true }}
|
type=raw,value=latest,enable=${{ inputs.add_latest_tag == true }}
|
||||||
|
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v2
|
uses: docker/setup-qemu-action@v4
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v2
|
uses: docker/setup-buildx-action@v4
|
||||||
with:
|
with:
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_HUB_USER }}
|
username: ${{ secrets.DOCKER_HUB_USER }}
|
||||||
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Build and Push to Docker
|
- name: Build and Push to Docker
|
||||||
uses: docker/build-push-action@v4
|
uses: docker/build-push-action@v7
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
|
||||||
with:
|
with:
|
||||||
context: ${{ env.build_context }}
|
context: ${{ env.build_context }}
|
||||||
build-args: SOURCE_COMMIT=${{ env.git_tag }}
|
build-args: SOURCE_COMMIT=${{ env.git_tag }}
|
||||||
platforms: linux/arm64,linux/amd64
|
platforms: linux/arm64,linux/amd64
|
||||||
push: ${{ !env.ACT && startsWith(github.ref, 'refs/tags/v') }}
|
push: ${{ !env.ACT && (startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch') }}
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
|
|||||||
@@ -5,37 +5,43 @@
|
|||||||
name: format
|
name: format
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request_target:
|
branches-ignore:
|
||||||
workflow_dispatch:
|
- 'dependabot/**' # Avoid duplicates: only run the PR, not the push
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-24.04
|
||||||
name: Ubuntu 22.04 | format
|
name: Ubuntu 24.04 | format
|
||||||
env:
|
env:
|
||||||
CI_OS_NAME: linux
|
CI_OS_NAME: linux
|
||||||
CI_RUNS_ON: ubuntu-22.04
|
CI_RUNS_ON: ubuntu-24.04
|
||||||
CI_COMMIT: ${{ github.sha }}
|
CI_COMMIT: ${{ github.sha }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
- name: Install packages for build
|
- name: Install packages for build
|
||||||
env:
|
env:
|
||||||
CI_BUILD_STAGE_NAME: build
|
CI_BUILD_STAGE_NAME: build
|
||||||
run: |
|
run: |
|
||||||
bash ci/ci-install.bash &&
|
sudo apt install clang-format-18 || \
|
||||||
sudo apt-get install clang-format-14 yapf3 &&
|
sudo apt install clang-format-18
|
||||||
git config --global user.email "[email protected]" &&
|
git config --global user.email "[email protected]"
|
||||||
git config --global user.name "github action"
|
git config --global user.name "github action"
|
||||||
- name: Format code
|
- name: Format code
|
||||||
run: |
|
run: |
|
||||||
autoconf &&
|
autoconf
|
||||||
./configure &&
|
./configure
|
||||||
make -j 2 format CLANGFORMAT=clang-format-14 &&
|
make venv
|
||||||
|
source .venv/bin/activate
|
||||||
|
make -j 2 format CLANGFORMAT=clang-format-18
|
||||||
git status
|
git status
|
||||||
- name: Push
|
- name: Push
|
||||||
run: |
|
run: |-
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
git commit . -m "Apply 'make format'" &&
|
git commit . -m "Apply 'make format'" &&
|
||||||
git push origin
|
git push origin
|
||||||
|
|||||||
@@ -1,50 +0,0 @@
|
|||||||
---
|
|
||||||
# DESCRIPTION: Github actions config
|
|
||||||
# This name is key to badges in README.rst, so we use the name build
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
||||||
#
|
|
||||||
name: msbuild
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
|
||||||
schedule:
|
|
||||||
- cron: 0 0 * * 0 # weekly
|
|
||||||
env:
|
|
||||||
CI_OS_NAME: win
|
|
||||||
CI_COMMIT: ${{ github.sha }}
|
|
||||||
CCACHE_COMPRESS: 1
|
|
||||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
|
||||||
CCACHE_LIMIT_MULTIPLE: 0.95
|
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
working-directory: repo
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
jobs:
|
|
||||||
windows:
|
|
||||||
name: run on windows
|
|
||||||
runs-on: windows-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
path: repo
|
|
||||||
- name: Cache $CCACHE_DIR
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: ${{ env.CCACHE_DIR }}
|
|
||||||
key: msbuild-msvc-cmake
|
|
||||||
- name: compile
|
|
||||||
env:
|
|
||||||
WIN_FLEX_BISON: ${{ github.workspace }}/.ccache
|
|
||||||
run: ./ci/ci-win-compile.ps1
|
|
||||||
- name: test build
|
|
||||||
run: ./ci/ci-win-test.ps1
|
|
||||||
- name: Zip up repository
|
|
||||||
run: Compress-Archive -LiteralPath install -DestinationPath verilator.zip
|
|
||||||
- name: Upload zip archive
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
path: ${{ github.workspace }}/repo/verilator.zip
|
|
||||||
name: verilator-win.zip
|
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
# Block PRs against stable branch
|
||||||
|
name: "Check PR not against 'stable'"
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
branches: [stable]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
block-pr:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Fail and block PR
|
||||||
|
run: |-
|
||||||
|
echo "Error: Pull requests directly to 'stable' are not allowed. Please PR against 'master'."
|
||||||
|
exit 1
|
||||||
@@ -0,0 +1,87 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: Pages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
paths: ["ci/**", ".github/workflows"]
|
||||||
|
workflow_dispatch:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["Code coverage"]
|
||||||
|
types: [completed]
|
||||||
|
|
||||||
|
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: write
|
||||||
|
|
||||||
|
# Allow only one concurrent deployment, skipping runs queued between the run
|
||||||
|
# in-progress and latest queued. However, do NOT cancel in-progress runs as we
|
||||||
|
# want to allow these deployments to complete.
|
||||||
|
concurrency:
|
||||||
|
group: "pages"
|
||||||
|
cancel-in-progress: false
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build content
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
outputs:
|
||||||
|
coverage-pr-run-ids: ${{ steps.build.outputs.coverage-pr-run-ids }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
- name: Build pages
|
||||||
|
id: build
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ github.token }}
|
||||||
|
run: |
|
||||||
|
bash -x ./ci/ci-pages.bash
|
||||||
|
ls -lsha
|
||||||
|
tree -L 3 pages
|
||||||
|
- name: Upload pages artifact
|
||||||
|
uses: actions/upload-pages-artifact@v5
|
||||||
|
with:
|
||||||
|
path: pages
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
name: Deploy
|
||||||
|
needs: build
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
environment:
|
||||||
|
name: github-pages
|
||||||
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
steps:
|
||||||
|
- name: Deploy to GitHub Pages
|
||||||
|
uses: actions/deploy-pages@v5
|
||||||
|
|
||||||
|
notify:
|
||||||
|
name: Notify
|
||||||
|
needs: [build, deploy]
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
if: ${{ github.repository == 'verilator/verilator' }}
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
# Use the Verilator CI app to post the comment
|
||||||
|
- name: Generate access token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.VERILATOR_CI_ID }}
|
||||||
|
private-key: ${{ secrets.VERILATOR_CI_KEY }}
|
||||||
|
permission-actions: write
|
||||||
|
permission-pull-requests: write
|
||||||
|
- name: Comment on PR
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
|
COVERAGE_PR_RUN_IDS: ${{ needs.build.outputs.coverage-pr-run-ids }}
|
||||||
|
run: bash -x ./ci/ci-pages-notify.bash
|
||||||
@@ -0,0 +1,99 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: reusable-build
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
sha:
|
||||||
|
description: "Commit SHA to build"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
os: # e.g. ubuntu-24.04
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
cc: # 'clang' or 'gcc'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
os-name: # 'linux' or 'osx'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
dev-asan:
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
dev-gcov:
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
outputs:
|
||||||
|
archive:
|
||||||
|
description: "Name of the built repository archive artifact"
|
||||||
|
value: ${{ jobs.build.outputs.archive }}
|
||||||
|
|
||||||
|
env:
|
||||||
|
CI_OS_NAME: ${{ inputs.os-name }}
|
||||||
|
CCACHE_COMPRESS: 1
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
CCACHE_LIMIT_MULTIPLE: 0.95
|
||||||
|
INSTALL_DIR: ${{ github.workspace }}/install
|
||||||
|
RELOC_DIR: ${{ github.workspace }}/relloc
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
working-directory: repo
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: Build
|
||||||
|
runs-on: ${{ inputs.os }}
|
||||||
|
outputs:
|
||||||
|
archive: ${{ steps.create-archive.outputs.archive }}
|
||||||
|
env:
|
||||||
|
CI_BUILD_STAGE_NAME: build
|
||||||
|
CI_DEV_ASAN: ${{ inputs.dev-asan }}
|
||||||
|
CI_DEV_GCOV: ${{ inputs.dev-gcov }}
|
||||||
|
CI_RUNS_ON: ${{ inputs.os }}
|
||||||
|
CXX: ${{ inputs.cc == 'clang' && 'clang++' || 'g++' }}
|
||||||
|
CACHE_BASE_KEY: build-${{ inputs.os }}-${{ inputs.cc }}
|
||||||
|
CCACHE_MAXSIZE: 1000M # Per build matrix entry (* 5 = 5000M in total)
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
path: repo
|
||||||
|
ref: ${{ inputs.sha }}
|
||||||
|
fetch-depth: ${{ inputs.dev-gcov && '0' || '1' }} # Coverage flow needs full history
|
||||||
|
|
||||||
|
- name: Cache $CCACHE_DIR
|
||||||
|
uses: actions/cache@v5
|
||||||
|
env:
|
||||||
|
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache
|
||||||
|
with:
|
||||||
|
path: ${{ env.CCACHE_DIR }}
|
||||||
|
key: ${{ env.CACHE_KEY }}-${{ inputs.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ env.CACHE_KEY }}-
|
||||||
|
|
||||||
|
- name: Install packages for build
|
||||||
|
run: ./ci/ci-install.bash
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: ./ci/ci-script.bash
|
||||||
|
|
||||||
|
- name: Create repository archive
|
||||||
|
id: create-archive
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
# Name of the archive must be unique based on the build parameters
|
||||||
|
ARCHIVE=verilator-${{ inputs.sha }}-${{ inputs.os }}-${{ inputs.cc }}-${{ inputs.dev-asan }}-${{ inputs.dev-gcov }}.tar.gz
|
||||||
|
tar --posix -c -z -f $ARCHIVE repo
|
||||||
|
echo "archive=$ARCHIVE" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Upload repository archive
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: ${{ github.workspace }}/${{ steps.create-archive.outputs.archive }}
|
||||||
|
name: ${{ steps.create-archive.outputs.archive }}
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: reusable-lint-py
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
|
||||||
|
env:
|
||||||
|
CI_OS_NAME: linux
|
||||||
|
CI_BUILD_STAGE_NAME: build
|
||||||
|
CI_RUNS_ON: ubuntu-22.04
|
||||||
|
CCACHE_COMPRESS: 1
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
CCACHE_LIMIT_MULTIPLE: 0.95
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
working-directory: repo
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
lint-py:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
name: Sub-lint | Python
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
path: repo
|
||||||
|
|
||||||
|
- name: Install packages for build
|
||||||
|
run: ./ci/ci-install.bash
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: |
|
||||||
|
autoconf
|
||||||
|
./configure --enable-longtests --enable-ccwarn
|
||||||
|
|
||||||
|
- name: Install python dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt install python3-clang || \
|
||||||
|
sudo apt install python3-clang
|
||||||
|
make venv
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: |-
|
||||||
|
source .venv/bin/activate
|
||||||
|
make -k lint-py
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: reusable-rtlmeter-build
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
runs-on:
|
||||||
|
description: "Runner to use, e.g.: ubuntu-24.04"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
cc:
|
||||||
|
description: "Compiler to use: 'gcc' or 'clang'"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/ccache
|
||||||
|
CCACHE_MAXSIZE: 512M
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ${{ inputs.runs-on }}
|
||||||
|
name: Build
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
echo "path-exclude /usr/share/doc/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
echo "path-exclude /usr/share/man/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
echo "path-exclude /usr/share/info/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
sudo apt update || \
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install ccache mold help2man libfl-dev libjemalloc-dev libsystemc-dev || \
|
||||||
|
sudo apt install ccache mold help2man libfl-dev libjemalloc-dev libsystemc-dev
|
||||||
|
|
||||||
|
- name: Use saved ccache
|
||||||
|
uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: ccache
|
||||||
|
key: rtlmeter-build-ccache-${{ inputs.runs-on }}-${{ inputs.cc }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
restore-keys: rtlmeter-build-ccache-${{ inputs.runs-on }}-${{ inputs.cc }}
|
||||||
|
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
path: repo
|
||||||
|
fetch-depth: 0 # Required for 'git describe' used for 'verilator --version'
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
working-directory: repo
|
||||||
|
run: |
|
||||||
|
autoconf
|
||||||
|
./configure --prefix=${{ github.workspace }}/install CXX=${{ inputs.cc == 'clang' && 'clang++' || 'g++' }}
|
||||||
|
|
||||||
|
- name: Make
|
||||||
|
working-directory: repo
|
||||||
|
run: make -j $(nproc)
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
working-directory: repo
|
||||||
|
run: make install
|
||||||
|
|
||||||
|
- name: Tar up installation
|
||||||
|
run: tar --posix -c -z -f verilator-rtlmeter.tar.gz install
|
||||||
|
|
||||||
|
- name: Upload Verilator installation archive
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: verilator-rtlmeter.tar.gz
|
||||||
|
name: verilator-rtlmeter-${{ inputs.runs-on }}-${{ inputs.cc }}
|
||||||
|
overwrite: true
|
||||||
@@ -0,0 +1,130 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: reusable-rtlmeter-run
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: "Unique identifier for storing results"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
runs-on:
|
||||||
|
description: "Runner to use, e.g.: ubuntu-24.04"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
cc:
|
||||||
|
description: "Compiler to use: 'gcc' or 'clang'"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
# Note: The combination of 'cases' and 'run-name' must be unique for all
|
||||||
|
# invocations of this workflow within a run of the parent workflow.
|
||||||
|
# These two are used together to generate a unique results file name.
|
||||||
|
cases:
|
||||||
|
description: "RTLMeter cases to run"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
run-name:
|
||||||
|
description: "Run name (identifier) to add to collated results"
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
compileArgs:
|
||||||
|
description: "Additional Verilator command line arguments"
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
executeArgs:
|
||||||
|
description: "Additional simulator command line arguments"
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/ccache
|
||||||
|
CCACHE_MAXSIZE: 512M
|
||||||
|
CCACHE_DISABLE: 1
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
run:
|
||||||
|
runs-on: ${{ inputs.runs-on }}
|
||||||
|
name: Run
|
||||||
|
steps:
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
echo "path-exclude /usr/share/doc/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
echo "path-exclude /usr/share/man/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
echo "path-exclude /usr/share/info/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
|
sudo apt update || \
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install ccache mold libfl-dev libjemalloc-dev libsystemc-dev || \
|
||||||
|
sudo apt install ccache mold libfl-dev libjemalloc-dev libsystemc-dev
|
||||||
|
|
||||||
|
- name: Download Verilator installation archive
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: verilator-rtlmeter-${{ inputs.runs-on }}-${{ inputs.cc }}
|
||||||
|
|
||||||
|
- name: Unpack Verilator installation archive
|
||||||
|
run: |
|
||||||
|
tar -x -z -f verilator-rtlmeter.tar.gz
|
||||||
|
echo "${{ github.workspace }}/install/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Use saved ccache
|
||||||
|
if: ${{ env.CCACHE_DISABLE == 0 }}
|
||||||
|
uses: actions/cache@v5
|
||||||
|
with:
|
||||||
|
path: ${{ env.CCACHE_DIR }}
|
||||||
|
key: rtlmeter-run-ccache-${{ inputs.runs-on }}-${{ inputs.cc }}-${{ inputs.cases }}-${{ inputs.compileArgs }}-${{ github.run_id }}-${{ github.run_attempt }}
|
||||||
|
restore-keys: rtlmeter-run-ccache-${{ inputs.runs-on }}-${{ inputs.cc }}-${{ inputs.cases }}-${{ inputs.compileArgs }}
|
||||||
|
|
||||||
|
- name: Checkout RTLMeter
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
repository: "verilator/rtlmeter"
|
||||||
|
path: rtlmeter
|
||||||
|
|
||||||
|
- name: Setup RTLMeter venv
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: make venv
|
||||||
|
|
||||||
|
- name: Compile cases
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |
|
||||||
|
./rtlmeter run --timeout 60 --verbose --cases='${{inputs.cases}}' --compileArgs='${{inputs.compileArgs}}' --executeArgs='${{inputs.executeArgs}}' --nExecute=0
|
||||||
|
|
||||||
|
- name: Execute cases
|
||||||
|
working-directory: rtlmeter
|
||||||
|
continue-on-error: true # Do not fail on error, so we can at least save the successful results
|
||||||
|
run: |
|
||||||
|
./rtlmeter run --timeout 60 --verbose --cases='${{inputs.cases}}' --compileArgs='${{inputs.compileArgs}}' --executeArgs='${{inputs.executeArgs}}'
|
||||||
|
|
||||||
|
- name: Collate results
|
||||||
|
id: results
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |
|
||||||
|
# Use 'inputs.cases' and 'inputs.run-name' to generate a unique file name
|
||||||
|
hash=$(md5sum <<< '${{ inputs.cases }} ${{ inputs.run-name }}' | awk '{print $1}')
|
||||||
|
echo "hash=${hash}" >> $GITHUB_OUTPUT
|
||||||
|
./rtlmeter collate --runName "${{ inputs.run-name }}" > ../results-${hash}.json
|
||||||
|
|
||||||
|
- name: Report results
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |
|
||||||
|
./rtlmeter report --steps '*' --metrics '*' ../results-${{ steps.results.outputs.hash }}.json
|
||||||
|
|
||||||
|
- name: Upload results
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: results-${{ steps.results.outputs.hash }}.json
|
||||||
|
name: rtlmeter-${{ inputs.tag }}-results-${{ steps.results.outputs.hash }}
|
||||||
|
overwrite: true
|
||||||
|
retention-days: 2
|
||||||
|
|
||||||
|
- name: Report status
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |- # This will fail the job if any of the runs failed
|
||||||
|
./rtlmeter run --verbose --cases='${{inputs.cases}}' --compileArgs='${{inputs.compileArgs}}' --executeArgs='${{inputs.executeArgs}}'
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: reusable-test
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
archive:
|
||||||
|
description: "Name of the repository archive artifact from reusable-build"
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
os: # e.g. ubuntu-24.04
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
cc: # gcc or clang
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
reloc: # 0 or 1
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
suite: # e.g. dist-vlt-0
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
dev-gcov:
|
||||||
|
required: true
|
||||||
|
type: number
|
||||||
|
|
||||||
|
env:
|
||||||
|
CI_OS_NAME: linux
|
||||||
|
CCACHE_COMPRESS: 1
|
||||||
|
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||||
|
CCACHE_LIMIT_MULTIPLE: 0.95
|
||||||
|
INSTALL_DIR: ${{ github.workspace }}/install
|
||||||
|
RELOC_DIR: ${{ github.workspace }}/relloc
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
working-directory: repo
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
test:
|
||||||
|
runs-on: ${{ inputs.os }}
|
||||||
|
name: Test
|
||||||
|
env:
|
||||||
|
CI_BUILD_STAGE_NAME: test
|
||||||
|
CI_RUNS_ON: ${{ inputs.os }}
|
||||||
|
CI_RELOC: ${{inputs.reloc }}
|
||||||
|
CXX: ${{ inputs.cc == 'clang' && 'clang++' || 'g++' }}
|
||||||
|
CACHE_BASE_KEY: test-${{ inputs.os }}-${{ inputs.cc }}-${{inputs.reloc }}-${{ inputs.suite }}
|
||||||
|
CCACHE_MAXSIZE: 100M # Per build per suite (* 5 * 5 = 2500M in total)
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: Download repository archive
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: ${{ inputs.archive }}
|
||||||
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
|
- name: Unpack repository archive
|
||||||
|
working-directory: ${{ github.workspace }}
|
||||||
|
run: |
|
||||||
|
tar -x -z -f ${{ inputs.archive }}
|
||||||
|
ls -lsha
|
||||||
|
|
||||||
|
- name: Cache $CCACHE_DIR
|
||||||
|
uses: actions/cache@v5
|
||||||
|
env:
|
||||||
|
CACHE_KEY: ${{ env.CACHE_BASE_KEY }}-ccache2
|
||||||
|
with:
|
||||||
|
path: ${{ env.CCACHE_DIR }}
|
||||||
|
key: ${{ env.CACHE_KEY }}-${{ github.sha }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ env.CACHE_KEY }}-
|
||||||
|
|
||||||
|
- name: Install test dependencies
|
||||||
|
run: |
|
||||||
|
./ci/ci-install.bash
|
||||||
|
make venv
|
||||||
|
|
||||||
|
- name: Test
|
||||||
|
id: run-test
|
||||||
|
continue-on-error: true
|
||||||
|
env:
|
||||||
|
TESTS: ${{ inputs.suite }}
|
||||||
|
run: |
|
||||||
|
source .venv/bin/activate
|
||||||
|
./ci/ci-script.bash
|
||||||
|
|
||||||
|
- name: Combine code coverage data
|
||||||
|
if: ${{ inputs.dev-gcov }}
|
||||||
|
run: |
|
||||||
|
make coverage-combine
|
||||||
|
mv obj_coverage/verilator.info obj_coverage/verilator-${{ inputs.suite }}.info
|
||||||
|
ls -lsha obj_coverage
|
||||||
|
|
||||||
|
- name: Upload code coverage data
|
||||||
|
if: ${{ inputs.dev-gcov }}
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: ${{ github.workspace }}/repo/obj_coverage/verilator-${{ inputs.suite }}.info
|
||||||
|
name: code-coverage-${{ inputs.suite }}
|
||||||
|
|
||||||
|
- name: Fail job if a test failed
|
||||||
|
if: ${{ steps.run-test.outcome == 'failure' && !cancelled() }}
|
||||||
|
run: |-
|
||||||
|
echo "Click on '> Tests' arrow above (or on other steps), to expand it, and see the failure reasons"
|
||||||
|
exit 1
|
||||||
@@ -0,0 +1,48 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# This name is key to badges in README.rst, so we use the name build
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: RTLMeter PR results
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: [RTLMeter]
|
||||||
|
types: [completed]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
name: Publish
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: ${{ github.event.workflow_run.event == 'pull_request' && github.event.workflow_run.conclusion == 'success' }}
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
pull-requests: write
|
||||||
|
steps:
|
||||||
|
- name: Download report
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: rtlmeter-pr-results
|
||||||
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Download PR number
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: pr-number
|
||||||
|
run-id: ${{ github.event.workflow_run.id }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
# Use the Verilator CI app to post the comment
|
||||||
|
- name: Generate access token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.VERILATOR_CI_ID }}
|
||||||
|
private-key: ${{ secrets.VERILATOR_CI_KEY }}
|
||||||
|
permission-pull-requests: write
|
||||||
|
- name: Comment on PR
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
|
run: |-
|
||||||
|
ls -la
|
||||||
|
cat report.txt
|
||||||
|
gh pr --repo ${{ github.repository }} comment $(cat pr-number.txt) --body-file report.txt
|
||||||
@@ -0,0 +1,415 @@
|
|||||||
|
---
|
||||||
|
# DESCRIPTION: Github actions config
|
||||||
|
# This name is key to badges in README.rst, so we use the name build
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
name: RTLMeter
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 2 * * *' # Daily, starting at 02:00 UTC
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened, labeled, unlabeled]
|
||||||
|
push:
|
||||||
|
branches: ['ci-rtlmeter/**']
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
# At most 1 job per branch. Auto cancel all but scheduled jobs
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: ${{ github.event_name != 'schedule' }}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
start:
|
||||||
|
name: Start
|
||||||
|
# Only run scheduled jobs if explicitly enabled for that repo (e.g.: not on forks)
|
||||||
|
# Only run pull request jobs if labelled as needing an RTLMeter run
|
||||||
|
# Always run workflow dispatch jobs
|
||||||
|
if: |
|
||||||
|
(github.event_name == 'schedule'
|
||||||
|
&& vars.ENABLE_SCHEDULED_JOBS == 'true') ||
|
||||||
|
(github.event_name == 'pull_request'
|
||||||
|
&& contains(github.event.pull_request.labels.*.name, 'pr: rtlmeter')) ||
|
||||||
|
(github.event_name == 'workflow_dispatch') ||
|
||||||
|
(github.event_name == 'push')
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Startup
|
||||||
|
run: echo
|
||||||
|
|
||||||
|
build-gcc:
|
||||||
|
name: Build GCC
|
||||||
|
needs: start
|
||||||
|
uses: ./.github/workflows/reusable-rtlmeter-build.yml
|
||||||
|
with:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
cc: gcc
|
||||||
|
|
||||||
|
build-clang:
|
||||||
|
name: Build Clang
|
||||||
|
needs: start
|
||||||
|
uses: ./.github/workflows/reusable-rtlmeter-build.yml
|
||||||
|
with:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
cc: clang
|
||||||
|
|
||||||
|
run-gcc:
|
||||||
|
name: Run GCC | ${{ matrix.cases }}
|
||||||
|
needs: build-gcc
|
||||||
|
uses: ./.github/workflows/reusable-rtlmeter-run.yml
|
||||||
|
with:
|
||||||
|
tag: gcc
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
cc: gcc
|
||||||
|
cases: ${{ matrix.cases }}
|
||||||
|
run-name: "gcc"
|
||||||
|
compileArgs: ""
|
||||||
|
executeArgs: ""
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: ${{ github.event == 'schedule' && 2 || 7 }}
|
||||||
|
matrix:
|
||||||
|
cases:
|
||||||
|
- "BlackParrot:1x1:*"
|
||||||
|
- "BlackParrot:4x4:*"
|
||||||
|
- "Caliptra:default:*"
|
||||||
|
- "NVDLA:*"
|
||||||
|
- "OpenPiton:1x1:*"
|
||||||
|
- "OpenPiton:4x4:*"
|
||||||
|
- "OpenTitan:*"
|
||||||
|
- "VeeR-EH1:asic*"
|
||||||
|
- "VeeR-EH1:default*"
|
||||||
|
- "VeeR-EH1:hiperf*"
|
||||||
|
- "VeeR-EH2:asic*"
|
||||||
|
- "VeeR-EH2:default*"
|
||||||
|
- "VeeR-EH2:hiperf*"
|
||||||
|
- "VeeR-EL2:asic*"
|
||||||
|
- "VeeR-EL2:default*"
|
||||||
|
- "VeeR-EL2:hiperf*"
|
||||||
|
- "Vortex:mini:*"
|
||||||
|
- "Vortex:sane:*"
|
||||||
|
- "XiangShan:default-chisel3:* !*:linux"
|
||||||
|
- "XiangShan:default-chisel6:* !*:linux"
|
||||||
|
- "XiangShan:mini-chisel3:* !*:linux"
|
||||||
|
- "XiangShan:mini-chisel6:* !*:linux"
|
||||||
|
- "XuanTie-E902:*"
|
||||||
|
- "XuanTie-E906:*"
|
||||||
|
- "XuanTie-C906:*"
|
||||||
|
- "XuanTie-C910:*"
|
||||||
|
|
||||||
|
run-clang:
|
||||||
|
name: Run Clang | ${{ matrix.cases }}
|
||||||
|
needs: build-clang
|
||||||
|
uses: ./.github/workflows/reusable-rtlmeter-run.yml
|
||||||
|
with:
|
||||||
|
tag: clang
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
cc: clang
|
||||||
|
cases: ${{ matrix.cases }}
|
||||||
|
run-name: "clang --threads 4"
|
||||||
|
compileArgs: "--threads 4"
|
||||||
|
executeArgs: ""
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: ${{ github.event == 'schedule' && 2 || 7 }}
|
||||||
|
matrix:
|
||||||
|
cases:
|
||||||
|
- "BlackParrot:1x1:*"
|
||||||
|
- "BlackParrot:4x4:*"
|
||||||
|
- "Caliptra:default:*"
|
||||||
|
- "NVDLA:*"
|
||||||
|
- "OpenPiton:1x1:*"
|
||||||
|
- "OpenPiton:4x4:*"
|
||||||
|
- "OpenTitan:*"
|
||||||
|
- "VeeR-EH1:asic*"
|
||||||
|
- "VeeR-EH1:default*"
|
||||||
|
- "VeeR-EH1:hiperf*"
|
||||||
|
- "VeeR-EH2:asic*"
|
||||||
|
- "VeeR-EH2:default*"
|
||||||
|
- "VeeR-EH2:hiperf*"
|
||||||
|
- "VeeR-EL2:asic*"
|
||||||
|
- "VeeR-EL2:default*"
|
||||||
|
- "VeeR-EL2:hiperf*"
|
||||||
|
- "Vortex:mini:*"
|
||||||
|
- "Vortex:sane:*"
|
||||||
|
- "XiangShan:default-chisel3:* !*:linux"
|
||||||
|
- "XiangShan:default-chisel6:* !*:linux"
|
||||||
|
- "XiangShan:mini-chisel3:* !*:linux"
|
||||||
|
- "XiangShan:mini-chisel6:* !*:linux"
|
||||||
|
- "XuanTie-E902:*"
|
||||||
|
- "XuanTie-E906:*"
|
||||||
|
- "XuanTie-C906:*"
|
||||||
|
- "XuanTie-C910:*"
|
||||||
|
|
||||||
|
run-gcc-hier:
|
||||||
|
name: Run GCC hier | ${{ matrix.cases }}
|
||||||
|
needs: build-gcc
|
||||||
|
uses: ./.github/workflows/reusable-rtlmeter-run.yml
|
||||||
|
with:
|
||||||
|
tag: gcc-hier
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
cc: gcc
|
||||||
|
cases: ${{ matrix.cases }}
|
||||||
|
run-name: "gcc --hierarchical"
|
||||||
|
compileArgs: "--hierarchical"
|
||||||
|
executeArgs: ""
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
max-parallel: ${{ github.event == 'schedule' && 2 || 7 }}
|
||||||
|
matrix:
|
||||||
|
cases:
|
||||||
|
- "BlackParrot:1x1:* !-hier"
|
||||||
|
- "BlackParrot:4x4:* !-hier"
|
||||||
|
- "NVDLA:* !-hier"
|
||||||
|
- "OpenPiton:1x1:* !-hier"
|
||||||
|
- "OpenPiton:4x4:* !-hier"
|
||||||
|
- "OpenPiton:8x8:* !-hier"
|
||||||
|
- "OpenPiton:16x16:dhry !-hier"
|
||||||
|
- "XuanTie-C910:* !-hier"
|
||||||
|
|
||||||
|
combine-results:
|
||||||
|
name: Combine results
|
||||||
|
needs: [run-gcc, run-clang, run-gcc-hier]
|
||||||
|
# Run if any of the dependencies have run, even if failed.
|
||||||
|
# That is: do not run if all skipped, or the workflow was cancelled.
|
||||||
|
if: ${{ (contains(needs.*.result, 'success') || contains(needs.*.result, 'failure')) && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
tag: [gcc, clang, gcc-hier]
|
||||||
|
steps:
|
||||||
|
- name: Checkout RTLMeter
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
repository: "verilator/rtlmeter"
|
||||||
|
path: rtlmeter
|
||||||
|
- name: Setup RTLMeter venv
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: make venv
|
||||||
|
- name: Download all results
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
pattern: rtlmeter-${{ matrix.tag }}-results-*
|
||||||
|
path: all-results-${{ matrix.tag }}
|
||||||
|
merge-multiple: true
|
||||||
|
- name: Combine results
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |
|
||||||
|
./rtlmeter collate ../all-results-${{ matrix.tag }}/*.json > ../all-results-${{ matrix.tag }}.json
|
||||||
|
- name: Upload combined results
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: all-results-${{ matrix.tag }}.json
|
||||||
|
name: all-results-${{ matrix.tag }}
|
||||||
|
overwrite: true
|
||||||
|
retention-days: 30
|
||||||
|
|
||||||
|
publish-scheduled-results:
|
||||||
|
name: Publish results to verilator/verilator-rtlmeter-results
|
||||||
|
needs: combine-results
|
||||||
|
# Only run on scheduled builds on the main repository. We also restrict
|
||||||
|
# the publishing to run only on the first run_attempt. This is required
|
||||||
|
# to prevent multiple uploads the same day (if rerunning), as the
|
||||||
|
# dashboard UI currently assumes there is only one data point per
|
||||||
|
# calendar day. Results from reruns can be imported manually if needed.
|
||||||
|
if: ${{ github.event_name == 'schedule' && github.repository == 'verilator/verilator' && github.run_attempt == 1 && contains(needs.*.result, 'success') && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Download combined results
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
pattern: all-results-*
|
||||||
|
path: results
|
||||||
|
merge-multiple: true
|
||||||
|
- name: Upload published results
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: results/*.json
|
||||||
|
name: published-results
|
||||||
|
# Pushing to verilator/verilator-rtlmeter-results requires elevated permissions
|
||||||
|
- name: Generate access token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.VERILATOR_CI_ID }}
|
||||||
|
private-key: ${{ secrets.VERILATOR_CI_KEY }}
|
||||||
|
owner: verilator
|
||||||
|
repositories: verilator-rtlmeter-results
|
||||||
|
permission-contents: write
|
||||||
|
- name: Checkout verilator-rtlmeter-results
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
repository: "verilator/verilator-rtlmeter-results"
|
||||||
|
token: ${{ steps.generate-token.outputs.token }}
|
||||||
|
path: verilator-rtlmeter-results
|
||||||
|
- name: Import results
|
||||||
|
id: import-results
|
||||||
|
working-directory: verilator-rtlmeter-results
|
||||||
|
run: |
|
||||||
|
for f in $(find ../results -name "*.json"); do \
|
||||||
|
echo "Importing $f"; \
|
||||||
|
./bin/add-rtlmeter-result $f; \
|
||||||
|
done
|
||||||
|
test -z "$(git status --porcelain)" || echo "valid=1" >> "$GITHUB_OUTPUT"
|
||||||
|
- name: Push to verilator-rtlmeter-results
|
||||||
|
if: ${{ steps.import-results.outputs.valid }}
|
||||||
|
working-directory: verilator-rtlmeter-results
|
||||||
|
run: |
|
||||||
|
git config --global user.email "[email protected]"
|
||||||
|
git config --global user.name "github action"
|
||||||
|
git add .
|
||||||
|
git commit -m "Verilator CI: Results of 'RTLMeter' workflow run #${{ github.run_number }}"
|
||||||
|
git push origin
|
||||||
|
|
||||||
|
prepare-pr-results:
|
||||||
|
name: Prepare Pull Request results
|
||||||
|
needs: combine-results
|
||||||
|
if: ${{ github.event_name == 'pull_request' && github.repository == 'verilator/verilator' && contains(needs.*.result, 'success') && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
steps:
|
||||||
|
- name: Checkout RTLMeter
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
repository: "verilator/rtlmeter"
|
||||||
|
path: rtlmeter
|
||||||
|
- name: Setup RTLMeter venv
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: make venv
|
||||||
|
- name: Download combined results
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
pattern: all-results-*
|
||||||
|
path: all-results
|
||||||
|
merge-multiple: true
|
||||||
|
- name: Get scheduled run info
|
||||||
|
id: scheduled-info
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
ID=$(gh run --repo ${{ github.repository }} list --workflow RTLMeter --event schedule --status success --limit 1 --json databaseId --jq ".[0].databaseId")
|
||||||
|
echo "id=$ID" >> $GITHUB_OUTPUT
|
||||||
|
URL=$(gh run --repo ${{ github.repository }} view $ID --json url --jq ".url")
|
||||||
|
echo "url=$URL" >> $GITHUB_OUTPUT
|
||||||
|
NUM=$(gh run --repo ${{ github.repository }} view $ID --json number --jq ".number")
|
||||||
|
echo "num=$NUM" >> $GITHUB_OUTPUT
|
||||||
|
DATE=$(gh run --repo ${{ github.repository }} view $ID --json createdAt --jq ".createdAt")
|
||||||
|
echo "date=$DATE" >> $GITHUB_OUTPUT
|
||||||
|
- name: Download scheduled run results
|
||||||
|
uses: actions/download-artifact@v8
|
||||||
|
with:
|
||||||
|
name: published-results
|
||||||
|
path: nightly-results
|
||||||
|
run-id: ${{ steps.scheduled-info.outputs.id }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
- name: Compare results
|
||||||
|
working-directory: rtlmeter
|
||||||
|
run: |
|
||||||
|
for tag in gcc clang gcc-hier; do
|
||||||
|
ADATA=../nightly-results/all-results-${tag}.json
|
||||||
|
BDATA=../all-results/all-results-${tag}.json
|
||||||
|
touch ../verilate-${tag}.txt
|
||||||
|
touch ../execute-${tag}.txt
|
||||||
|
touch ../cppbuild-${tag}.txt
|
||||||
|
if [[ ! -e $ADATA ]]; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
./rtlmeter compare --cases '* !Example:* !*:hello' --steps "verilate" --metrics "elapsed memory" $ADATA $BDATA > ../verilate-${tag}.txt
|
||||||
|
cat ../verilate-${tag}.txt
|
||||||
|
./rtlmeter compare --cases '* !Example:* !*:hello' --steps "execute" --metrics "speed memory elapsed" $ADATA $BDATA > ../execute-${tag}.txt
|
||||||
|
cat ../execute-${tag}.txt
|
||||||
|
./rtlmeter compare --cases '* !Example:* !*:hello' --steps "cppbuild" --metrics "elapsed memory cpu codeSize" $ADATA $BDATA > ../cppbuild-${tag}.txt
|
||||||
|
cat ../cppbuild-${tag}.txt
|
||||||
|
done
|
||||||
|
- name: Create report
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
run: |
|
||||||
|
set -x
|
||||||
|
NUM=$(gh run --repo ${{ github.repository }} view ${{ github.run_id }} --json number --jq ".number")
|
||||||
|
URL=$(gh run --repo ${{ github.repository }} view ${{ github.run_id }} --json url --jq ".url")
|
||||||
|
echo -n "Performance metrics for PR workflow [#$NUM]($URL) (B) compared to scheduled run" > report.txt
|
||||||
|
echo -n " [#${{ steps.scheduled-info.outputs.num }}](${{ steps.scheduled-info.outputs.url }}) (A)" >> report.txt
|
||||||
|
echo " from ${{ steps.scheduled-info.outputs.date }}" >> report.txt
|
||||||
|
for tag in gcc clang gcc-hier; do
|
||||||
|
echo "" >> report.txt
|
||||||
|
if [[ $tag == "gcc" ]]; then
|
||||||
|
echo "<details open>" >> report.txt
|
||||||
|
else
|
||||||
|
echo "<details>" >> report.txt
|
||||||
|
fi
|
||||||
|
echo -n "<summary><strong><em>" >> report.txt
|
||||||
|
jq -rj ".[0].runName" all-results/all-results-${tag}.json >> report.txt
|
||||||
|
echo "</em></strong></summary>" >> report.txt
|
||||||
|
awk -v RS= -v tag=${tag} '{print > sprintf("frag-%02d-verilate-%s.txt",NR,tag)}' verilate-${tag}.txt
|
||||||
|
awk -v RS= -v tag=${tag} '{print > sprintf("frag-%02d-execute-%s.txt" ,NR,tag)}' execute-${tag}.txt
|
||||||
|
awk -v RS= -v tag=${tag} '{print > sprintf("frag-$02d-cppbuild-%s.txt",NR,tag)}' cppbuild-${tag}.txt
|
||||||
|
for f in $(ls -1 frag-*-verilate-${tag}.txt | sort) $(ls -1 frag-*-execute-${tag}.txt | sort) $(ls -1 frag-*-cppbuild-${tag}.txt | sort); do
|
||||||
|
if [[ $f == frag-01-verilate-${tag}.txt || $f == frag-01-execute-${tag}.txt ]]; then
|
||||||
|
echo "<details open>" >> report.txt
|
||||||
|
else
|
||||||
|
echo "<details>" >> report.txt
|
||||||
|
fi
|
||||||
|
echo -n "<summary>" >> report.txt
|
||||||
|
head -n 1 $f | tr -d '\n' >> report.txt
|
||||||
|
echo "</summary>" >> report.txt
|
||||||
|
echo '<pre>' >> report.txt
|
||||||
|
tail -n +2 $f >> report.txt
|
||||||
|
echo '</pre>' >> report.txt
|
||||||
|
echo "</details>" >> report.txt
|
||||||
|
done
|
||||||
|
echo "</details>" >> report.txt
|
||||||
|
done
|
||||||
|
cat report.txt
|
||||||
|
- name: Upload report
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: report.txt
|
||||||
|
name: rtlmeter-pr-results
|
||||||
|
- name: Save PR number
|
||||||
|
run: echo ${{ github.event.number }} > pr-number.txt
|
||||||
|
- name: Upload PR number
|
||||||
|
uses: actions/upload-artifact@v7
|
||||||
|
with:
|
||||||
|
path: pr-number.txt
|
||||||
|
name: pr-number
|
||||||
|
|
||||||
|
# Create GitHub issue for failed scheduled jobs
|
||||||
|
# This should always be the last job (we want an issue if anything breaks)
|
||||||
|
create-issue:
|
||||||
|
name: Create issue on failure
|
||||||
|
needs: publish-scheduled-results
|
||||||
|
if: ${{ github.event_name == 'schedule' && github.repository == 'verilator/verilator' && github.run_attempt == 1 && failure() && !cancelled() }}
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
# Creating issues requires elevated privilege
|
||||||
|
- name: Generate access token
|
||||||
|
id: generate-token
|
||||||
|
uses: actions/[email protected]
|
||||||
|
with:
|
||||||
|
app-id: ${{ vars.VERILATOR_CI_ID }}
|
||||||
|
private-key: ${{ secrets.VERILATOR_CI_KEY }}
|
||||||
|
owner: verilator
|
||||||
|
repositories: verilator
|
||||||
|
permission-issues: write
|
||||||
|
- name: Create issue
|
||||||
|
env:
|
||||||
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||||
|
run: |-
|
||||||
|
echo "This issue was created automatically by the GitHub Actions CI due to the failure of a scheduled RTLMeter run." >> body.txt
|
||||||
|
echo "" >> body.txt
|
||||||
|
echo "Workflow status: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> body.txt
|
||||||
|
gh issue --repo ${{ github.repository }} create \
|
||||||
|
--title "RTLMeter run #${{ github.run_number }} Failed" \
|
||||||
|
--body-file body.txt \
|
||||||
|
--label new \
|
||||||
|
--assignee gezalore,wsnyder
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
*.pdf
|
*.pdf
|
||||||
/Makefile
|
/Makefile
|
||||||
/.ccache
|
/.ccache
|
||||||
|
/.venv/
|
||||||
/artifact/
|
/artifact/
|
||||||
README
|
README
|
||||||
TAGS
|
TAGS
|
||||||
@@ -44,6 +45,7 @@ verilator_coverage_bin*
|
|||||||
/.vscode/
|
/.vscode/
|
||||||
/.idea/
|
/.idea/
|
||||||
/cmake-build-*/
|
/cmake-build-*/
|
||||||
|
/obj_coverage/
|
||||||
/test_regress/snapshot/
|
/test_regress/snapshot/
|
||||||
xmverilog.*
|
xmverilog.*
|
||||||
xrun.history
|
xrun.history
|
||||||
|
|||||||
@@ -1,197 +0,0 @@
|
|||||||
Artistic License 2.0
|
|
||||||
|
|
||||||
Copyright (c) 2000-2006, The Perl Foundation.
|
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies of this
|
|
||||||
license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
********
|
|
||||||
|
|
||||||
This license establishes the terms under which a given free software
|
|
||||||
Package may be copied, modified, distributed, and/or redistributed. The
|
|
||||||
intent is that the Copyright Holder maintains some artistic control over
|
|
||||||
the development of that Package while still keeping the Package
|
|
||||||
available as open source and free software.
|
|
||||||
|
|
||||||
You are always permitted to make arrangements wholly outside of this
|
|
||||||
license directly with the Copyright Holder of a given Package. If the
|
|
||||||
terms of this license do not permit the full use that you propose to
|
|
||||||
make of the Package, you should contact the Copyright Holder and seek a
|
|
||||||
different licensing arrangement.
|
|
||||||
|
|
||||||
Definitions
|
|
||||||
***********
|
|
||||||
|
|
||||||
"Copyright Holder" means the individual(s) or organization(s) named in
|
|
||||||
the copyright notice for the entire Package.
|
|
||||||
|
|
||||||
"Contributor" means any party that has contributed code or other
|
|
||||||
material to the Package, in accordance with the Copyright Holder's
|
|
||||||
procedures.
|
|
||||||
|
|
||||||
"You" and "your" means any person who would like to copy, distribute, or
|
|
||||||
modify the Package.
|
|
||||||
|
|
||||||
"Package" means the collection of files distributed by the Copyright
|
|
||||||
Holder, and derivatives of that collection and/or of those files. A
|
|
||||||
given Package may consist of either the Standard Version, or a Modified
|
|
||||||
Version.
|
|
||||||
|
|
||||||
"Distribute" means providing a copy of the Package or making it
|
|
||||||
accessible to anyone else, or in the case of a company or organization,
|
|
||||||
to others outside of your company or organization.
|
|
||||||
|
|
||||||
"Distributor Fee" means any fee that you charge for Distributing this
|
|
||||||
Package or providing support for this Package to another party. It does
|
|
||||||
not mean licensing fees.
|
|
||||||
|
|
||||||
"Standard Version" refers to the Package if it has not been modified, or
|
|
||||||
has been modified only in ways explicitly requested by the Copyright
|
|
||||||
Holder.
|
|
||||||
|
|
||||||
"Modified Version" means the Package, if it has been changed, and such
|
|
||||||
changes were not explicitly requested by the Copyright Holder.
|
|
||||||
|
|
||||||
"Original License" means this Artistic License as Distributed with the
|
|
||||||
Standard Version of the Package, in its current version or as it may be
|
|
||||||
modified by The Perl Foundation in the future.
|
|
||||||
|
|
||||||
"Source" form means the source code, documentation source, and
|
|
||||||
configuration files for the Package.
|
|
||||||
|
|
||||||
"Compiled" form means the compiled bytecode, object code, binary, or any
|
|
||||||
other form resulting from mechanical transformation or translation of
|
|
||||||
the Source form.
|
|
||||||
|
|
||||||
Permission for Use and Modification Without Distribution
|
|
||||||
********************************************************
|
|
||||||
|
|
||||||
(1) You are permitted to use the Standard Version and create and use
|
|
||||||
Modified Versions for any purpose without restriction, provided that you
|
|
||||||
do not Distribute the Modified Version.
|
|
||||||
|
|
||||||
Permissions for Redistribution of the Standard Version
|
|
||||||
******************************************************
|
|
||||||
|
|
||||||
(2) You may Distribute verbatim copies of the Source form of the
|
|
||||||
Standard Version of this Package in any medium without restriction,
|
|
||||||
either gratis or for a Distributor Fee, provided that you duplicate all
|
|
||||||
of the original copyright notices and associated disclaimers. At your
|
|
||||||
discretion, such verbatim copies may or may not include a Compiled form
|
|
||||||
of the Package.
|
|
||||||
|
|
||||||
(3) You may apply any bug fixes, portability changes, and other
|
|
||||||
modifications made available from the Copyright Holder. The resulting
|
|
||||||
Package will still be considered the Standard Version, and as such will
|
|
||||||
be subject to the Original License.
|
|
||||||
|
|
||||||
Distribution of Modified Versions of the Package as Source
|
|
||||||
**********************************************************
|
|
||||||
|
|
||||||
(4) You may Distribute your Modified Version as Source (either gratis or
|
|
||||||
for a Distributor Fee, and with or without a Compiled form of the
|
|
||||||
Modified Version) provided that you clearly document how it differs from
|
|
||||||
the Standard Version, including, but not limited to, documenting any
|
|
||||||
non-standard features, executables, or modules, and provided that you do
|
|
||||||
at least ONE of the following:
|
|
||||||
|
|
||||||
(a) make the Modified Version available to the Copyright Holder of the
|
|
||||||
Standard Version, under the Original License, so that the Copyright
|
|
||||||
Holder may include your modifications in the Standard Version.
|
|
||||||
|
|
||||||
(b) ensure that installation of your Modified Version does not prevent
|
|
||||||
the user installing or running the Standard Version. In addition, the
|
|
||||||
Modified Version must bear a name that is different from the name of the
|
|
||||||
Standard Version.
|
|
||||||
|
|
||||||
(c) allow anyone who receives a copy of the Modified Version to make the
|
|
||||||
Source form of the Modified Version available to others under
|
|
||||||
|
|
||||||
(i) the Original License or
|
|
||||||
|
|
||||||
(ii) a license that permits the licensee to freely copy, modify and
|
|
||||||
redistribute the Modified Version using the same licensing terms that
|
|
||||||
apply to the copy that the licensee received, and requires that the
|
|
||||||
Source form of the Modified Version, and of any works derived from it,
|
|
||||||
be made freely available in that license fees are prohibited but
|
|
||||||
Distributor Fees are allowed.
|
|
||||||
|
|
||||||
Distribution of Compiled Forms of the Standard Version or Modified
|
|
||||||
******************************************************************
|
|
||||||
Versions without the Source
|
|
||||||
***************************
|
|
||||||
|
|
||||||
(5) You may Distribute Compiled forms of the Standard Version without
|
|
||||||
the Source, provided that you include complete instructions on how to
|
|
||||||
get the Source of the Standard Version. Such instructions must be valid
|
|
||||||
at the time of your distribution. If these instructions, at any time
|
|
||||||
while you are carrying out such distribution, become invalid, you must
|
|
||||||
provide new instructions on demand or cease further distribution. If
|
|
||||||
you provide valid instructions or cease distribution within thirty days
|
|
||||||
after you become aware that the instructions are invalid, then you do
|
|
||||||
not forfeit any of your rights under this license.
|
|
||||||
|
|
||||||
(6) You may Distribute a Modified Version in Compiled form without the
|
|
||||||
Source, provided that you comply with Section 4 with respect to the
|
|
||||||
Source of the Modified Version.
|
|
||||||
|
|
||||||
Aggregating or Linking the Package
|
|
||||||
**********************************
|
|
||||||
|
|
||||||
(7) You may aggregate the Package (either the Standard Version or
|
|
||||||
Modified Version) with other packages and Distribute the resulting
|
|
||||||
aggregation provided that you do not charge a licensing fee for the
|
|
||||||
Package. Distributor Fees are permitted, and licensing fees for other
|
|
||||||
components in the aggregation are permitted. The terms of this license
|
|
||||||
apply to the use and Distribution of the Standard or Modified Versions
|
|
||||||
as included in the aggregation.
|
|
||||||
|
|
||||||
(8) You are permitted to link Modified and Standard Versions with other
|
|
||||||
works, to embed the Package in a larger work of your own, or to build
|
|
||||||
stand-alone binary or bytecode versions of applications that include the
|
|
||||||
Package, and Distribute the result without restriction, provided the
|
|
||||||
result does not expose a direct interface to the Package.
|
|
||||||
|
|
||||||
Items That are Not Considered Part of a Modified Version
|
|
||||||
********************************************************
|
|
||||||
|
|
||||||
(9) Works (including, but not limited to, modules and scripts) that
|
|
||||||
merely extend or make use of the Package, do not, by themselves, cause
|
|
||||||
the Package to be a Modified Version. In addition, such works are not
|
|
||||||
considered parts of the Package itself, and are not subject to the terms
|
|
||||||
of this license.
|
|
||||||
|
|
||||||
General Provisions
|
|
||||||
******************
|
|
||||||
|
|
||||||
(10) Any use, modification, and distribution of the Standard or Modified
|
|
||||||
Versions is governed by this Artistic License. By using, modifying or
|
|
||||||
distributing the Package, you accept this license. Do not use, modify,
|
|
||||||
or distribute the Package, if you do not accept this license.
|
|
||||||
|
|
||||||
(11) If your Modified Version has been derived from a Modified Version
|
|
||||||
made by someone other than you, you are nevertheless required to ensure
|
|
||||||
that your Modified Version complies with the requirements of this
|
|
||||||
license.
|
|
||||||
|
|
||||||
(12) This license does not grant you the right to use any trademark,
|
|
||||||
service mark, tradename, or logo of the Copyright Holder.
|
|
||||||
|
|
||||||
(13) This license includes the non-exclusive, worldwide, free-of-charge
|
|
||||||
patent license to make, have made, use, offer to sell, sell, import and
|
|
||||||
otherwise transfer the Package with respect to any patent claims
|
|
||||||
licensable by the Copyright Holder that are necessarily infringed by the
|
|
||||||
Package. If you institute patent litigation (including a cross-claim or
|
|
||||||
counterclaim) against any party alleging that the Package constitutes
|
|
||||||
direct or contributory patent infringement, then this Artistic License
|
|
||||||
to you shall terminate on the date that such litigation is filed.
|
|
||||||
|
|
||||||
(14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT
|
|
||||||
HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED
|
|
||||||
WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT
|
|
||||||
PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT
|
|
||||||
HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
+5
-4
@@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
# See https://citation-file-format.github.io/
|
# See https://citation-file-format.github.io/
|
||||||
cff-version: 1.2.0
|
cff-version: 1.2.0
|
||||||
title: Verilator
|
title: Verilator
|
||||||
@@ -14,14 +15,14 @@ authors:
|
|||||||
family-names: Wasson
|
family-names: Wasson
|
||||||
- given-names: Duane
|
- given-names: Duane
|
||||||
family-names: Galbi
|
family-names: Galbi
|
||||||
|
- given-names: Geza
|
||||||
|
family-names: Lore
|
||||||
- name: 'et al'
|
- name: 'et al'
|
||||||
repository-code: 'https://github.com/verilator/verilator'
|
repository-code: 'https://github.com/verilator/verilator'
|
||||||
url: 'https://verilator.org'
|
url: 'https://verilator.org'
|
||||||
abstract: >-
|
abstract: >-
|
||||||
The Verilator package converts Verilog and SystemVerilog hardware
|
The Verilator package converts Verilog and SystemVerilog hardware
|
||||||
description language (HDL) designs into a fast C++ or SystemC model
|
description language (HDL) designs into a fast C++ or SystemC model
|
||||||
that, after compiling, can be executed. Verilator is not a
|
that, after compiling, can be executed. Verilator is not only a
|
||||||
traditional simulator but a compiler.
|
traditional simulator but a compiler.
|
||||||
license:
|
license: [LGPL-3.0-only, Artistic-2.0]
|
||||||
- LGPL-3.0-only
|
|
||||||
- Artistic-2.0
|
|
||||||
|
|||||||
+18
-10
@@ -4,10 +4,10 @@
|
|||||||
#
|
#
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2003-2025 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
#
|
#
|
||||||
#****************************************************************************/
|
#****************************************************************************/
|
||||||
@@ -16,11 +16,16 @@ cmake_minimum_required(VERSION 3.15)
|
|||||||
cmake_policy(SET CMP0091 NEW) # Use MSVC_RUNTIME_LIBRARY to select the runtime
|
cmake_policy(SET CMP0091 NEW) # Use MSVC_RUNTIME_LIBRARY to select the runtime
|
||||||
project(
|
project(
|
||||||
Verilator
|
Verilator
|
||||||
VERSION 5.030
|
VERSION 5.048
|
||||||
HOMEPAGE_URL https://verilator.org
|
HOMEPAGE_URL https://verilator.org
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Set default build type to Release if not specified
|
||||||
|
if(NOT CMAKE_BUILD_TYPE)
|
||||||
|
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type" FORCE)
|
||||||
|
endif()
|
||||||
|
|
||||||
option(
|
option(
|
||||||
DEBUG_AND_RELEASE_AND_COVERAGE
|
DEBUG_AND_RELEASE_AND_COVERAGE
|
||||||
"Builds both the debug and release binaries, overriding CMAKE_BUILD_TYPE. Not supported under MSBuild."
|
"Builds both the debug and release binaries, overriding CMAKE_BUILD_TYPE. Not supported under MSBuild."
|
||||||
@@ -44,8 +49,13 @@ if(WIN32)
|
|||||||
if(DEFINED ENV{WIN_FLEX_BISON})
|
if(DEFINED ENV{WIN_FLEX_BISON})
|
||||||
set(WIN_FLEX_BISON "$ENV{WIN_FLEX_BISON}")
|
set(WIN_FLEX_BISON "$ENV{WIN_FLEX_BISON}")
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS ${WIN_FLEX_BISON})
|
if(IS_DIRECTORY ${WIN_FLEX_BISON})
|
||||||
list(APPEND CMAKE_PREFIX_PATH ${WIN_FLEX_BISON})
|
list(APPEND CMAKE_PREFIX_PATH ${WIN_FLEX_BISON})
|
||||||
|
else()
|
||||||
|
message(
|
||||||
|
FATAL_ERROR
|
||||||
|
"The path specified by WIN_FLEX_BISON environment variable is not an existing folder: ${WIN_FLEX_BISON}"
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
if(NOT WIN_FLEX_BISON)
|
if(NOT WIN_FLEX_BISON)
|
||||||
message(
|
message(
|
||||||
@@ -129,10 +139,7 @@ configure_package_config_file(
|
|||||||
INSTALL_DESTINATION .
|
INSTALL_DESTINATION .
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/verilator-config.cmake DESTINATION .)
|
||||||
FILES ${CMAKE_CURRENT_BINARY_DIR}/verilator-config.cmake
|
|
||||||
DESTINATION .
|
|
||||||
)
|
|
||||||
|
|
||||||
configure_package_config_file(
|
configure_package_config_file(
|
||||||
verilator-config-version.cmake.in
|
verilator-config-version.cmake.in
|
||||||
@@ -173,6 +180,7 @@ install(
|
|||||||
PATTERN "include/verilated_config.h"
|
PATTERN "include/verilated_config.h"
|
||||||
PATTERN "include/*.[chv]"
|
PATTERN "include/*.[chv]"
|
||||||
PATTERN "include/*.cpp"
|
PATTERN "include/*.cpp"
|
||||||
|
PATTERN "include/*.vlt"
|
||||||
PATTERN "include/*.sv"
|
PATTERN "include/*.sv"
|
||||||
PATTERN "include/gtkwave/*.[chv]*"
|
PATTERN "include/gtkwave/*.[chv]*"
|
||||||
PATTERN "include/vltstd/*.[chv]*"
|
PATTERN "include/vltstd/*.[chv]*"
|
||||||
|
|||||||
@@ -1,165 +1,304 @@
|
|||||||
GNU LESSER GENERAL PUBLIC LICENSE
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
Version 3, 29 June 2007
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
This version of the GNU Lesser General Public License incorporates
|
This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
|
||||||
the terms and conditions of version 3 of the GNU General Public
|
|
||||||
License, supplemented by the additional permissions listed below.
|
|
||||||
|
|
||||||
0. Additional Definitions.
|
0. Additional Definitions.
|
||||||
|
|
||||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License.
|
||||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
|
||||||
General Public License.
|
|
||||||
|
|
||||||
"The Library" refers to a covered work governed by this License,
|
"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
|
||||||
other than an Application or a Combined Work as defined below.
|
|
||||||
|
|
||||||
An "Application" is any work that makes use of an interface provided
|
An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
|
||||||
by the Library, but which is not otherwise based on the Library.
|
|
||||||
Defining a subclass of a class defined by the Library is deemed a mode
|
|
||||||
of using an interface provided by the Library.
|
|
||||||
|
|
||||||
A "Combined Work" is a work produced by combining or linking an
|
A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version".
|
||||||
Application with the Library. The particular version of the Library
|
|
||||||
with which the Combined Work was made is also called the "Linked
|
|
||||||
Version".
|
|
||||||
|
|
||||||
The "Minimal Corresponding Source" for a Combined Work means the
|
The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
|
||||||
Corresponding Source for the Combined Work, excluding any source code
|
|
||||||
for portions of the Combined Work that, considered in isolation, are
|
|
||||||
based on the Application, and not on the Linked Version.
|
|
||||||
|
|
||||||
The "Corresponding Application Code" for a Combined Work means the
|
The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
|
||||||
object code and/or source code for the Application, including any data
|
|
||||||
and utility programs needed for reproducing the Combined Work from the
|
|
||||||
Application, but excluding the System Libraries of the Combined Work.
|
|
||||||
|
|
||||||
1. Exception to Section 3 of the GNU GPL.
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
You may convey a covered work under sections 3 and 4 of this License
|
2. Conveying Modified Versions.
|
||||||
without being bound by section 3 of the GNU GPL.
|
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
|
||||||
|
|
||||||
2. Conveying Modified Versions.
|
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
If you modify a copy of the Library, and, in your modifications, a
|
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
|
||||||
facility refers to a function or data to be supplied by an Application
|
|
||||||
that uses the facility (other than as an argument passed when the
|
|
||||||
facility is invoked), then you may convey a copy of the modified
|
|
||||||
version:
|
|
||||||
|
|
||||||
a) under this License, provided that you make a good faith effort to
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
ensure that, in the event an Application does not supply the
|
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
|
||||||
function or data, the facility still operates, and performs
|
|
||||||
whatever part of its purpose remains meaningful, or
|
|
||||||
|
|
||||||
b) under the GNU GPL, with none of the additional permissions of
|
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
|
||||||
this License applicable to that copy.
|
|
||||||
|
|
||||||
3. Object Code Incorporating Material from Library Header Files.
|
b) Accompany the object code with a copy of the GNU GPL and this license document.
|
||||||
|
|
||||||
The object code form of an Application may incorporate material from
|
4. Combined Works.
|
||||||
a header file that is part of the Library. You may convey such object
|
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
|
||||||
code under terms of your choice, provided that, if the incorporated
|
|
||||||
material is not limited to numerical parameters, data structure
|
|
||||||
layouts and accessors, or small macros, inline functions and templates
|
|
||||||
(ten or fewer lines in length), you do both of the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the object code that the
|
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
|
||||||
Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
|
||||||
document.
|
|
||||||
|
|
||||||
4. Combined Works.
|
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
You may convey a Combined Work under terms of your choice that,
|
d) Do one of the following:
|
||||||
taken together, effectively do not restrict modification of the
|
|
||||||
portions of the Library contained in the Combined Work and reverse
|
|
||||||
engineering for debugging such modifications, if you also do each of
|
|
||||||
the following:
|
|
||||||
|
|
||||||
a) Give prominent notice with each copy of the Combined Work that
|
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
|
||||||
the Library is used in it and that the Library and its use are
|
|
||||||
covered by this License.
|
|
||||||
|
|
||||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
|
||||||
document.
|
|
||||||
|
|
||||||
c) For a Combined Work that displays copyright notices during
|
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
|
||||||
execution, include the copyright notice for the Library among
|
|
||||||
these notices, as well as a reference directing the user to the
|
|
||||||
copies of the GNU GPL and this license document.
|
|
||||||
|
|
||||||
d) Do one of the following:
|
5. Combined Libraries.
|
||||||
|
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
|
||||||
|
|
||||||
0) Convey the Minimal Corresponding Source under the terms of this
|
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
|
||||||
License, and the Corresponding Application Code in a form
|
|
||||||
suitable for, and under terms that permit, the user to
|
|
||||||
recombine or relink the Application with a modified version of
|
|
||||||
the Linked Version to produce a modified Combined Work, in the
|
|
||||||
manner specified by section 6 of the GNU GPL for conveying
|
|
||||||
Corresponding Source.
|
|
||||||
|
|
||||||
1) Use a suitable shared library mechanism for linking with the
|
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
||||||
Library. A suitable mechanism is one that (a) uses at run time
|
|
||||||
a copy of the Library already present on the user's computer
|
|
||||||
system, and (b) will operate properly with a modified version
|
|
||||||
of the Library that is interface-compatible with the Linked
|
|
||||||
Version.
|
|
||||||
|
|
||||||
e) Provide Installation Information, but only if you would otherwise
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
be required to provide such information under section 6 of the
|
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
GNU GPL, and only to the extent that such information is
|
|
||||||
necessary to install and execute a modified version of the
|
|
||||||
Combined Work produced by recombining or relinking the
|
|
||||||
Application with a modified version of the Linked Version. (If
|
|
||||||
you use option 4d0, the Installation Information must accompany
|
|
||||||
the Minimal Corresponding Source and Corresponding Application
|
|
||||||
Code. If you use option 4d1, you must provide the Installation
|
|
||||||
Information in the manner specified by section 6 of the GNU GPL
|
|
||||||
for conveying Corresponding Source.)
|
|
||||||
|
|
||||||
5. Combined Libraries.
|
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
You may place library facilities that are a work based on the
|
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall
|
||||||
Library side by side in a single library together with other library
|
apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
|
||||||
facilities that are not Applications and are not covered by this
|
|
||||||
License, and convey such a combined library under terms of your
|
|
||||||
choice, if you do both of the following:
|
|
||||||
|
|
||||||
a) Accompany the combined library with a copy of the same work based
|
GNU GENERAL PUBLIC LICENSE
|
||||||
on the Library, uncombined with any other library facilities,
|
Version 3, 29 June 2007
|
||||||
conveyed under the terms of this License.
|
|
||||||
|
|
||||||
b) Give prominent notice with the combined library that part of it
|
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
is a work based on the Library, and explaining where to find the
|
|
||||||
accompanying uncombined form of the same work.
|
|
||||||
|
|
||||||
6. Revised Versions of the GNU Lesser General Public License.
|
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions
|
Preamble
|
||||||
of the GNU Lesser General Public License from time to time. Such new
|
|
||||||
versions will be similar in spirit to the present version, but may
|
|
||||||
differ in detail to address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
The GNU General Public License is a free, copyleft license for software and other kinds of works.
|
||||||
Library as you received it specifies that a certain numbered version
|
|
||||||
of the GNU Lesser General Public License "or any later version"
|
|
||||||
applies to it, you have the option of following the terms and
|
|
||||||
conditions either of that published version or of any later version
|
|
||||||
published by the Free Software Foundation. If the Library as you
|
|
||||||
received it does not specify a version number of the GNU Lesser
|
|
||||||
General Public License, you may choose any version of the GNU Lesser
|
|
||||||
General Public License ever published by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Library as you received it specifies that a proxy can decide
|
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
|
||||||
whether future versions of the GNU Lesser General Public License shall
|
|
||||||
apply, that proxy's public statement of acceptance of any version is
|
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||||
permanent authorization for you to choose that version for the
|
|
||||||
Library.
|
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
“This License” refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||||
|
|
||||||
|
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
|
||||||
|
|
||||||
|
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
|
||||||
|
|
||||||
|
A “covered work” means either the unmodified Program or a work based on the Program.
|
||||||
|
|
||||||
|
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
|
||||||
|
|
||||||
|
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||||
|
|
||||||
|
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||||
|
|
||||||
|
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
|
||||||
|
|
||||||
|
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
||||||
|
|
||||||
|
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
|
|||||||
@@ -0,0 +1,73 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
The Artistic License 2.0
|
||||||
|
|
||||||
|
Copyright (c) 2000-2006, The Perl Foundation.
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software.
|
||||||
|
|
||||||
|
You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement.
|
||||||
|
|
||||||
|
Definitions
|
||||||
|
|
||||||
|
"Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package.
|
||||||
|
|
||||||
|
"Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures.
|
||||||
|
|
||||||
|
"You" and "your" means any person who would like to copy, distribute, or modify the Package.
|
||||||
|
|
||||||
|
"Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version.
|
||||||
|
|
||||||
|
"Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization.
|
||||||
|
|
||||||
|
"Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees.
|
||||||
|
|
||||||
|
"Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder.
|
||||||
|
|
||||||
|
"Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder.
|
||||||
|
|
||||||
|
"Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future.
|
||||||
|
|
||||||
|
"Source" form means the source code, documentation source, and configuration files for the Package.
|
||||||
|
|
||||||
|
"Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form.
|
||||||
|
|
||||||
|
Permission for Use and Modification Without Distribution
|
||||||
|
|
||||||
|
(1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version.
|
||||||
|
|
||||||
|
Permissions for Redistribution of the Standard Version
|
||||||
|
|
||||||
|
(2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package.
|
||||||
|
|
||||||
|
(3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License.
|
||||||
|
|
||||||
|
Distribution of Modified Versions of the Package as Source
|
||||||
|
|
||||||
|
(4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following:
|
||||||
|
|
||||||
|
(a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version.
|
||||||
|
(b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version.
|
||||||
|
(c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under
|
||||||
|
|
||||||
|
(i) the Original License or
|
||||||
|
(ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed.
|
||||||
|
|
||||||
|
Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source
|
||||||
|
|
||||||
|
(5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license.
|
||||||
|
|
||||||
|
(6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version.
|
||||||
|
|
||||||
|
Aggregating or Linking the Package
|
||||||
|
|
||||||
|
(7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation.
|
||||||
|
|
||||||
|
(8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package.
|
||||||
|
|
||||||
|
Items That are Not Considered Part of a Modified Version
|
||||||
|
|
||||||
|
(9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license.
|
||||||
|
|
||||||
|
General Provisions
|
||||||
|
|
||||||
|
(10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license.
|
||||||
|
|
||||||
|
(11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license.
|
||||||
|
|
||||||
|
(12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder.
|
||||||
|
|
||||||
|
(13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed.
|
||||||
|
|
||||||
|
(14) Disclaimer of Warranty:
|
||||||
|
THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
Copyright (c) <year> <owner>
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
Copyright (c) <year> <owner>.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
||||||
|
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
@@ -0,0 +1,121 @@
|
|||||||
|
Creative Commons Legal Code
|
||||||
|
|
||||||
|
CC0 1.0 Universal
|
||||||
|
|
||||||
|
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
|
||||||
|
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
|
||||||
|
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
|
||||||
|
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
|
||||||
|
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
|
||||||
|
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
|
||||||
|
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
|
||||||
|
HEREUNDER.
|
||||||
|
|
||||||
|
Statement of Purpose
|
||||||
|
|
||||||
|
The laws of most jurisdictions throughout the world automatically confer
|
||||||
|
exclusive Copyright and Related Rights (defined below) upon the creator
|
||||||
|
and subsequent owner(s) (each and all, an "owner") of an original work of
|
||||||
|
authorship and/or a database (each, a "Work").
|
||||||
|
|
||||||
|
Certain owners wish to permanently relinquish those rights to a Work for
|
||||||
|
the purpose of contributing to a commons of creative, cultural and
|
||||||
|
scientific works ("Commons") that the public can reliably and without fear
|
||||||
|
of later claims of infringement build upon, modify, incorporate in other
|
||||||
|
works, reuse and redistribute as freely as possible in any form whatsoever
|
||||||
|
and for any purposes, including without limitation commercial purposes.
|
||||||
|
These owners may contribute to the Commons to promote the ideal of a free
|
||||||
|
culture and the further production of creative, cultural and scientific
|
||||||
|
works, or to gain reputation or greater distribution for their Work in
|
||||||
|
part through the use and efforts of others.
|
||||||
|
|
||||||
|
For these and/or other purposes and motivations, and without any
|
||||||
|
expectation of additional consideration or compensation, the person
|
||||||
|
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
|
||||||
|
is an owner of Copyright and Related Rights in the Work, voluntarily
|
||||||
|
elects to apply CC0 to the Work and publicly distribute the Work under its
|
||||||
|
terms, with knowledge of his or her Copyright and Related Rights in the
|
||||||
|
Work and the meaning and intended legal effect of CC0 on those rights.
|
||||||
|
|
||||||
|
1. Copyright and Related Rights. A Work made available under CC0 may be
|
||||||
|
protected by copyright and related or neighboring rights ("Copyright and
|
||||||
|
Related Rights"). Copyright and Related Rights include, but are not
|
||||||
|
limited to, the following:
|
||||||
|
|
||||||
|
i. the right to reproduce, adapt, distribute, perform, display,
|
||||||
|
communicate, and translate a Work;
|
||||||
|
ii. moral rights retained by the original author(s) and/or performer(s);
|
||||||
|
iii. publicity and privacy rights pertaining to a person's image or
|
||||||
|
likeness depicted in a Work;
|
||||||
|
iv. rights protecting against unfair competition in regards to a Work,
|
||||||
|
subject to the limitations in paragraph 4(a), below;
|
||||||
|
v. rights protecting the extraction, dissemination, use and reuse of data
|
||||||
|
in a Work;
|
||||||
|
vi. database rights (such as those arising under Directive 96/9/EC of the
|
||||||
|
European Parliament and of the Council of 11 March 1996 on the legal
|
||||||
|
protection of databases, and under any national implementation
|
||||||
|
thereof, including any amended or successor version of such
|
||||||
|
directive); and
|
||||||
|
vii. other similar, equivalent or corresponding rights throughout the
|
||||||
|
world based on applicable law or treaty, and any national
|
||||||
|
implementations thereof.
|
||||||
|
|
||||||
|
2. Waiver. To the greatest extent permitted by, but not in contravention
|
||||||
|
of, applicable law, Affirmer hereby overtly, fully, permanently,
|
||||||
|
irrevocably and unconditionally waives, abandons, and surrenders all of
|
||||||
|
Affirmer's Copyright and Related Rights and associated claims and causes
|
||||||
|
of action, whether now known or unknown (including existing as well as
|
||||||
|
future claims and causes of action), in the Work (i) in all territories
|
||||||
|
worldwide, (ii) for the maximum duration provided by applicable law or
|
||||||
|
treaty (including future time extensions), (iii) in any current or future
|
||||||
|
medium and for any number of copies, and (iv) for any purpose whatsoever,
|
||||||
|
including without limitation commercial, advertising or promotional
|
||||||
|
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
|
||||||
|
member of the public at large and to the detriment of Affirmer's heirs and
|
||||||
|
successors, fully intending that such Waiver shall not be subject to
|
||||||
|
revocation, rescission, cancellation, termination, or any other legal or
|
||||||
|
equitable action to disrupt the quiet enjoyment of the Work by the public
|
||||||
|
as contemplated by Affirmer's express Statement of Purpose.
|
||||||
|
|
||||||
|
3. Public License Fallback. Should any part of the Waiver for any reason
|
||||||
|
be judged legally invalid or ineffective under applicable law, then the
|
||||||
|
Waiver shall be preserved to the maximum extent permitted taking into
|
||||||
|
account Affirmer's express Statement of Purpose. In addition, to the
|
||||||
|
extent the Waiver is so judged Affirmer hereby grants to each affected
|
||||||
|
person a royalty-free, non transferable, non sublicensable, non exclusive,
|
||||||
|
irrevocable and unconditional license to exercise Affirmer's Copyright and
|
||||||
|
Related Rights in the Work (i) in all territories worldwide, (ii) for the
|
||||||
|
maximum duration provided by applicable law or treaty (including future
|
||||||
|
time extensions), (iii) in any current or future medium and for any number
|
||||||
|
of copies, and (iv) for any purpose whatsoever, including without
|
||||||
|
limitation commercial, advertising or promotional purposes (the
|
||||||
|
"License"). The License shall be deemed effective as of the date CC0 was
|
||||||
|
applied by Affirmer to the Work. Should any part of the License for any
|
||||||
|
reason be judged legally invalid or ineffective under applicable law, such
|
||||||
|
partial invalidity or ineffectiveness shall not invalidate the remainder
|
||||||
|
of the License, and in such case Affirmer hereby affirms that he or she
|
||||||
|
will not (i) exercise any of his or her remaining Copyright and Related
|
||||||
|
Rights in the Work or (ii) assert any associated claims and causes of
|
||||||
|
action with respect to the Work, in either case contrary to Affirmer's
|
||||||
|
express Statement of Purpose.
|
||||||
|
|
||||||
|
4. Limitations and Disclaimers.
|
||||||
|
|
||||||
|
a. No trademark or patent rights held by Affirmer are waived, abandoned,
|
||||||
|
surrendered, licensed or otherwise affected by this document.
|
||||||
|
b. Affirmer offers the Work as-is and makes no representations or
|
||||||
|
warranties of any kind concerning the Work, express, implied,
|
||||||
|
statutory or otherwise, including without limitation warranties of
|
||||||
|
title, merchantability, fitness for a particular purpose, non
|
||||||
|
infringement, or the absence of latent or other defects, accuracy, or
|
||||||
|
the present or absence of errors, whether or not discoverable, all to
|
||||||
|
the greatest extent permissible under applicable law.
|
||||||
|
c. Affirmer disclaims responsibility for clearing rights of other persons
|
||||||
|
that may apply to the Work or any use thereof, including without
|
||||||
|
limitation any person's Copyright and Related Rights in the Work.
|
||||||
|
Further, Affirmer disclaims responsibility for obtaining any necessary
|
||||||
|
consents, permissions or other rights required for any use of the
|
||||||
|
Work.
|
||||||
|
d. Affirmer understands and acknowledges that Creative Commons is not a
|
||||||
|
party to this document and has no duty or obligation with respect to
|
||||||
|
this CC0 or use of the Work.
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
ISC License:
|
||||||
|
|
||||||
|
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
Copyright (c) 1995-2003 by Internet Software Consortium
|
||||||
|
|
||||||
|
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
@@ -0,0 +1,304 @@
|
|||||||
|
GNU LESSER GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.
|
||||||
|
|
||||||
|
0. Additional Definitions.
|
||||||
|
|
||||||
|
As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.
|
||||||
|
|
||||||
|
An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.
|
||||||
|
|
||||||
|
A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version".
|
||||||
|
|
||||||
|
The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.
|
||||||
|
|
||||||
|
The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.
|
||||||
|
|
||||||
|
1. Exception to Section 3 of the GNU GPL.
|
||||||
|
You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL.
|
||||||
|
|
||||||
|
2. Conveying Modified Versions.
|
||||||
|
If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version:
|
||||||
|
|
||||||
|
a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or
|
||||||
|
|
||||||
|
b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy.
|
||||||
|
|
||||||
|
3. Object Code Incorporating Material from Library Header Files.
|
||||||
|
The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the object code with a copy of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
4. Combined Works.
|
||||||
|
You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following:
|
||||||
|
|
||||||
|
a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License.
|
||||||
|
|
||||||
|
b) Accompany the Combined Work with a copy of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document.
|
||||||
|
|
||||||
|
d) Do one of the following:
|
||||||
|
|
||||||
|
0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
|
||||||
|
|
||||||
|
1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version.
|
||||||
|
|
||||||
|
e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.)
|
||||||
|
|
||||||
|
5. Combined Libraries.
|
||||||
|
You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following:
|
||||||
|
|
||||||
|
a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License.
|
||||||
|
|
||||||
|
b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work.
|
||||||
|
|
||||||
|
6. Revised Versions of the GNU Lesser General Public License.
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall
|
||||||
|
apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
“This License” refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
|
||||||
|
|
||||||
|
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
|
||||||
|
|
||||||
|
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
|
||||||
|
|
||||||
|
A “covered work” means either the unmodified Program or a work based on the Program.
|
||||||
|
|
||||||
|
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
|
||||||
|
|
||||||
|
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
|
||||||
|
|
||||||
|
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
|
||||||
|
|
||||||
|
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
|
||||||
|
|
||||||
|
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
|
||||||
|
|
||||||
|
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
<program> Copyright (C) <year> <name of author>
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
This Verilog file was developed by Altera Corporation. It may be
|
||||||
|
freely copied and/or distributed at no cost. Any persons using this
|
||||||
|
file for any purpose do so at their own risk, and are responsible for
|
||||||
|
the results of such use. Altera Corporation does not guarantee that
|
||||||
|
this file is complete, correct, or fit for any particular purpose.
|
||||||
|
NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. This notice must
|
||||||
|
accompany any copy of this file.
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
This license is used on IEEE files where there is a permitted use of
|
||||||
|
standards, including copying strictly necessary to implement normative
|
||||||
|
interfaces defined by the standard. Refer to IEEE SA Operations Manual
|
||||||
|
Clause 6.1 and IEEE Standards Permission policies.
|
||||||
|
|
||||||
|
--
|
||||||
|
|
||||||
|
Copyright 2024 by The Institute of Electrical and Electronics Engineers, Inc.
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
IEEE, 802, and POSIX are registered trademarks in the U.S. Patent &
|
||||||
|
Trademark Office, owned by The Institute of Electrical and Electronics
|
||||||
|
Engineers, Incorporated.
|
||||||
|
|
||||||
|
IEEE draft and approved standards are copyrighted by IEEE under US and
|
||||||
|
international copyright laws. They are made available by IEEE and are
|
||||||
|
adopted for a wide variety of both public and private uses. These include
|
||||||
|
both use, by reference, in laws and regulations, and use in private
|
||||||
|
self-regulation, standardization, and the promotion of engineering
|
||||||
|
practices and methods. By making these documents available for use and
|
||||||
|
adoption by public authorities and private users, neither IEEE nor its
|
||||||
|
licensors waive any rights in copyright to the documents.
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
MIT License
|
||||||
|
|
||||||
|
Copyright (c) <year> <copyright holders>
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
|
||||||
|
associated documentation files (the "Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
|
||||||
|
following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or substantial
|
||||||
|
portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
|
||||||
|
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
|
||||||
|
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
||||||
|
USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
This is free and unencumbered software released into the public domain.
|
||||||
|
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
|
||||||
|
|
||||||
|
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and
|
||||||
|
successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
For more information, please refer to <http://unlicense.org/>
|
||||||
+419
-166
@@ -7,10 +7,10 @@
|
|||||||
#
|
#
|
||||||
#*****************************************************************************
|
#*****************************************************************************
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2025-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
#
|
#
|
||||||
#****************************************************************************/
|
#****************************************************************************/
|
||||||
@@ -91,6 +91,7 @@ datarootdir = @datarootdir@
|
|||||||
# Compile options
|
# Compile options
|
||||||
CFG_WITH_CCWARN = @CFG_WITH_CCWARN@
|
CFG_WITH_CCWARN = @CFG_WITH_CCWARN@
|
||||||
CFG_WITH_DEFENV = @CFG_WITH_DEFENV@
|
CFG_WITH_DEFENV = @CFG_WITH_DEFENV@
|
||||||
|
CFG_WITH_DEV_GCOV = @CFG_WITH_DEV_GCOV@
|
||||||
CFG_WITH_LONGTESTS = @CFG_WITH_LONGTESTS@
|
CFG_WITH_LONGTESTS = @CFG_WITH_LONGTESTS@
|
||||||
CFG_WITH_SOLVER = @CFG_WITH_SOLVER@
|
CFG_WITH_SOLVER = @CFG_WITH_SOLVER@
|
||||||
PACKAGE_VERSION = @PACKAGE_VERSION@
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
||||||
@@ -104,45 +105,45 @@ PACKAGE_VERSION = @PACKAGE_VERSION@
|
|||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
SUBDIRS = docs src test_regress \
|
SUBDIRS = docs src test_regress \
|
||||||
examples/cmake_hello_c \
|
examples/cmake_hello_c \
|
||||||
examples/cmake_hello_sc \
|
examples/cmake_hello_sc \
|
||||||
examples/cmake_tracing_c \
|
examples/cmake_tracing_c \
|
||||||
examples/cmake_tracing_sc \
|
examples/cmake_tracing_sc \
|
||||||
examples/cmake_protect_lib \
|
examples/cmake_protect_lib \
|
||||||
examples/make_hello_binary \
|
examples/make_hello_binary \
|
||||||
examples/make_hello_c \
|
examples/make_hello_c \
|
||||||
examples/make_hello_sc \
|
examples/make_hello_sc \
|
||||||
examples/make_tracing_c \
|
examples/make_tracing_c \
|
||||||
examples/make_tracing_sc \
|
examples/make_tracing_sc \
|
||||||
examples/make_protect_lib \
|
examples/make_protect_lib \
|
||||||
examples/json_py \
|
examples/json_py \
|
||||||
|
|
||||||
INFOS = verilator.html verilator.pdf
|
INFOS = verilator.html verilator.pdf
|
||||||
|
|
||||||
INFOS_OLD = README README.html README.pdf
|
INFOS_OLD = README README.html README.pdf
|
||||||
|
|
||||||
EXAMPLES_FIRST = \
|
EXAMPLES_FIRST = \
|
||||||
examples/make_hello_c \
|
examples/make_hello_c \
|
||||||
examples/make_hello_sc \
|
examples/make_hello_sc \
|
||||||
|
|
||||||
EXAMPLES = $(EXAMPLES_FIRST) $(filter-out $(EXAMPLES_FIRST), $(sort $(wildcard examples/*)))
|
EXAMPLES = $(EXAMPLES_FIRST) $(filter-out $(EXAMPLES_FIRST), $(sort $(wildcard examples/*)))
|
||||||
|
|
||||||
# See uninstall also - don't put wildcards in this variable, it might uninstall other stuff
|
# See uninstall also - don't put wildcards in this variable, it might uninstall other stuff
|
||||||
# No verilator_ccache_report.1, verilator_difftree.1 as those are not bin/ installed
|
# No verilator_ccache_report.1, verilator_difftree.1 as those are not bin/ installed
|
||||||
VL_INST_MAN_FILES = \
|
VL_INST_MAN_FILES = \
|
||||||
verilator.1 \
|
verilator.1 \
|
||||||
verilator_coverage.1 \
|
verilator_coverage.1 \
|
||||||
verilator_gantt.1 \
|
verilator_gantt.1 \
|
||||||
verilator_profcfunc.1 \
|
verilator_profcfunc.1 \
|
||||||
|
|
||||||
default: all
|
default: all
|
||||||
all: all_nomsg msg_test
|
all: all_nomsg msg_test
|
||||||
all_nomsg: verilator_exe $(VL_INST_MAN_FILES)
|
all_nomsg: verilator_exe $(VL_INST_MAN_FILES)
|
||||||
|
|
||||||
.PHONY:verilator_exe
|
.PHONY: verilator_exe
|
||||||
.PHONY:verilator_bin$(EXEEXT)
|
.PHONY: verilator_bin$(EXEEXT)
|
||||||
.PHONY:verilator_bin_dbg$(EXEEXT)
|
.PHONY: verilator_bin_dbg$(EXEEXT)
|
||||||
.PHONY:verilator_coverage_bin_dbg$(EXEEXT)
|
.PHONY: verilator_coverage_bin_dbg$(EXEEXT)
|
||||||
verilator_exe verilator_bin$(EXEEXT) verilator_bin_dbg$(EXEEXT) verilator_coverage_bin_dbg$(EXEEXT):
|
verilator_exe verilator_bin$(EXEEXT) verilator_bin_dbg$(EXEEXT) verilator_coverage_bin_dbg$(EXEEXT):
|
||||||
@echo ------------------------------------------------------------
|
@echo ------------------------------------------------------------
|
||||||
@echo "making verilator in src"
|
@echo "making verilator in src"
|
||||||
@@ -151,7 +152,7 @@ verilator_exe verilator_bin$(EXEEXT) verilator_bin_dbg$(EXEEXT) verilator_covera
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Tests
|
# Tests
|
||||||
|
|
||||||
.PHONY:msg_test
|
.PHONY: msg_test
|
||||||
msg_test: all_nomsg
|
msg_test: all_nomsg
|
||||||
@echo "Build complete!"
|
@echo "Build complete!"
|
||||||
@echo
|
@echo
|
||||||
@@ -185,14 +186,14 @@ test-snap test-diff:
|
|||||||
|
|
||||||
examples: all_nomsg
|
examples: all_nomsg
|
||||||
for p in $(EXAMPLES) ; do \
|
for p in $(EXAMPLES) ; do \
|
||||||
$(MAKE) -C $$p VERILATOR_ROOT=`pwd` || exit 10; \
|
$(MAKE) -C $$p VERILATOR_ROOT=`pwd` || exit 10; \
|
||||||
done
|
done
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Docs
|
# Docs
|
||||||
|
|
||||||
.PHONY: docs
|
.PHONY: docs
|
||||||
docs: info
|
docs: info $(VL_INST_MAN_FILES)
|
||||||
|
|
||||||
info: $(INFOS)
|
info: $(INFOS)
|
||||||
|
|
||||||
@@ -201,7 +202,8 @@ verilator.1: ${srcdir}/bin/verilator
|
|||||||
verilator_coverage.1: ${srcdir}/bin/verilator_coverage
|
verilator_coverage.1: ${srcdir}/bin/verilator_coverage
|
||||||
pod2man $< $@
|
pod2man $< $@
|
||||||
%.1: ${srcdir}/bin/%
|
%.1: ${srcdir}/bin/%
|
||||||
help2man --no-info --no-discard-stderr --version-string=- $< -o $@
|
help2man --no-info --no-discard-stderr --version-string=- \
|
||||||
|
-n "$(shell $< --help | head -n 3 | tail -n 1)" $< -o $@
|
||||||
|
|
||||||
.PHONY: verilator.html
|
.PHONY: verilator.html
|
||||||
verilator.html:
|
verilator.html:
|
||||||
@@ -212,8 +214,8 @@ verilator.html:
|
|||||||
verilator.pdf: Makefile
|
verilator.pdf: Makefile
|
||||||
$(MAKE) -C docs verilator.pdf
|
$(MAKE) -C docs verilator.pdf
|
||||||
|
|
||||||
TAGFILES=${srcdir}/*/*.cpp ${srcdir}/*/*.h ${srcdir}/*/*.in \
|
TAGFILES = ${srcdir}/*/*.cpp ${srcdir}/*/*.h ${srcdir}/*/*.in \
|
||||||
${srcdir}/*.in ${srcdir}/*.pod
|
${srcdir}/*.in ${srcdir}/*.pod
|
||||||
|
|
||||||
TAGS: $(TAGFILES)
|
TAGS: $(TAGFILES)
|
||||||
etags $(TAGFILES)
|
etags $(TAGFILES)
|
||||||
@@ -223,41 +225,49 @@ TAGS: $(TAGFILES)
|
|||||||
doxygen:
|
doxygen:
|
||||||
$(MAKE) -C docs doxygen
|
$(MAKE) -C docs doxygen
|
||||||
|
|
||||||
|
.PHONY: spelling
|
||||||
|
spelling:
|
||||||
|
$(MAKE) -C docs spelling
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
# Public executables intended to be invoked directly by the user
|
# Public executables intended to be invoked directly by the user
|
||||||
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
||||||
VL_INST_PUBLIC_SCRIPT_FILES = verilator \
|
VL_INST_PUBLIC_SCRIPT_FILES = \
|
||||||
verilator_coverage \
|
verilator \
|
||||||
verilator_gantt \
|
verilator_coverage \
|
||||||
verilator_profcfunc \
|
verilator_gantt \
|
||||||
|
verilator_profcfunc \
|
||||||
|
|
||||||
VL_INST_PUBLIC_BIN_FILES = verilator_bin$(EXEEXT) \
|
VL_INST_PUBLIC_BIN_FILES = \
|
||||||
verilator_bin_dbg$(EXEEXT) \
|
verilator_bin$(EXEEXT) \
|
||||||
verilator_coverage_bin_dbg$(EXEEXT) \
|
verilator_bin_dbg$(EXEEXT) \
|
||||||
|
verilator_coverage_bin_dbg$(EXEEXT) \
|
||||||
|
|
||||||
# Private executabels intended to be invoked by internals
|
# Private executabels intended to be invoked by internals
|
||||||
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
# Don't put wildcards in these variables, it might cause an uninstall of other stuff
|
||||||
VL_INST_PRIVATE_SCRIPT_FILES = verilator_ccache_report \
|
VL_INST_PRIVATE_SCRIPT_FILES = \
|
||||||
verilator_includer \
|
verilator_ccache_report \
|
||||||
|
verilator_includer \
|
||||||
|
|
||||||
VL_INST_INC_BLDDIR_FILES = \
|
VL_INST_INC_BLDDIR_FILES = \
|
||||||
include/verilated_config.h \
|
include/verilated_config.h \
|
||||||
include/verilated.mk \
|
include/verilated.mk \
|
||||||
|
|
||||||
# Files under srcdir, instead of build time
|
# Files under srcdir, instead of build time
|
||||||
VL_INST_INC_SRCDIR_FILES = \
|
VL_INST_INC_SRCDIR_FILES = \
|
||||||
include/*.[chv]* \
|
include/*.[chv]* \
|
||||||
include/*.sv \
|
include/*.vlt \
|
||||||
include/gtkwave/*.[chv]* \
|
include/*.sv \
|
||||||
include/vltstd/*.[chv]* \
|
include/gtkwave/*.[chv]* \
|
||||||
|
include/vltstd/*.[chv]* \
|
||||||
|
|
||||||
VL_INST_DATA_SRCDIR_FILES = \
|
VL_INST_DATA_SRCDIR_FILES = \
|
||||||
examples/*/*.[chv]* \
|
examples/*/*.[chv]* \
|
||||||
examples/*/CMakeLists.txt \
|
examples/*/CMakeLists.txt \
|
||||||
examples/*/Makefile* \
|
examples/*/Makefile* \
|
||||||
examples/*/vl_* \
|
examples/*/vl_* \
|
||||||
|
|
||||||
mkbindirs:
|
mkbindirs:
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/bin
|
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/bin
|
||||||
@@ -266,7 +276,7 @@ mkbindirs:
|
|||||||
installbin: | mkbindirs
|
installbin: | mkbindirs
|
||||||
cd $(srcdir)/bin; \
|
cd $(srcdir)/bin; \
|
||||||
for p in $(VL_INST_PUBLIC_SCRIPT_FILES) ; do \
|
for p in $(VL_INST_PUBLIC_SCRIPT_FILES) ; do \
|
||||||
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
|
||||||
done
|
done
|
||||||
perl -p -i -e 'use File::Spec;' \
|
perl -p -i -e 'use File::Spec;' \
|
||||||
-e' $$path = File::Spec->abs2rel("$(realpath $(DESTDIR)$(pkgdatadir))", "$(realpath $(DESTDIR)$(bindir))");' \
|
-e' $$path = File::Spec->abs2rel("$(realpath $(DESTDIR)$(pkgdatadir))", "$(realpath $(DESTDIR)$(bindir))");' \
|
||||||
@@ -274,11 +284,11 @@ installbin: | mkbindirs
|
|||||||
-- "$(DESTDIR)/$(bindir)/verilator"
|
-- "$(DESTDIR)/$(bindir)/verilator"
|
||||||
cd bin; \
|
cd bin; \
|
||||||
for p in $(VL_INST_PUBLIC_BIN_FILES) ; do \
|
for p in $(VL_INST_PUBLIC_BIN_FILES) ; do \
|
||||||
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/$$p; \
|
||||||
done
|
done
|
||||||
cd $(srcdir)/bin; \
|
cd $(srcdir)/bin; \
|
||||||
for p in $(VL_INST_PRIVATE_SCRIPT_FILES) ; do \
|
for p in $(VL_INST_PRIVATE_SCRIPT_FILES) ; do \
|
||||||
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkgdatadir)/bin/$$p; \
|
$(INSTALL_PROGRAM) $$p $(DESTDIR)$(pkgdatadir)/bin/$$p; \
|
||||||
done
|
done
|
||||||
|
|
||||||
installredirect: installbin | mkbindirs
|
installredirect: installbin | mkbindirs
|
||||||
@@ -288,7 +298,7 @@ installredirect: installbin | mkbindirs
|
|||||||
-e 's/RELPATH.*/"$$path";/g' -- "${srcdir}/bin/redirect.tmp"
|
-e 's/RELPATH.*/"$$path";/g' -- "${srcdir}/bin/redirect.tmp"
|
||||||
cd $(srcdir)/bin; \
|
cd $(srcdir)/bin; \
|
||||||
for p in $(VL_INST_PUBLIC_SCRIPT_FILES) $(VL_INST_PUBLIC_BIN_FILES) ; do \
|
for p in $(VL_INST_PUBLIC_SCRIPT_FILES) $(VL_INST_PUBLIC_BIN_FILES) ; do \
|
||||||
$(INSTALL_PROGRAM) redirect.tmp $(DESTDIR)$(pkgdatadir)/bin/$$p; \
|
$(INSTALL_PROGRAM) redirect.tmp $(DESTDIR)$(pkgdatadir)/bin/$$p; \
|
||||||
done
|
done
|
||||||
rm ${srcdir}/bin/redirect.tmp
|
rm ${srcdir}/bin/redirect.tmp
|
||||||
|
|
||||||
@@ -297,14 +307,14 @@ installredirect: installbin | mkbindirs
|
|||||||
installman: $(VL_INST_MAN_FILES)
|
installman: $(VL_INST_MAN_FILES)
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
|
$(MKINSTALLDIRS) $(DESTDIR)$(mandir)/man1
|
||||||
for p in $^ ; do \
|
for p in $^ ; do \
|
||||||
$(INSTALL_DATA) $$p $(DESTDIR)$(mandir)/man1/$$p; \
|
$(INSTALL_DATA) $$p $(DESTDIR)$(mandir)/man1/$$p; \
|
||||||
done
|
done
|
||||||
|
|
||||||
installdata:
|
installdata:
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/include/gtkwave
|
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/include/gtkwave
|
||||||
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/include/vltstd
|
$(MKINSTALLDIRS) $(DESTDIR)$(pkgdatadir)/include/vltstd
|
||||||
for p in $(VL_INST_INC_BLDDIR_FILES) ; do \
|
for p in $(VL_INST_INC_BLDDIR_FILES) ; do \
|
||||||
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
$(INSTALL_DATA) $$p $(DESTDIR)$(pkgdatadir)/$$p; \
|
||||||
done
|
done
|
||||||
cd $(srcdir) \
|
cd $(srcdir) \
|
||||||
; for p in $(VL_INST_INC_SRCDIR_FILES) ; do \
|
; for p in $(VL_INST_INC_SRCDIR_FILES) ; do \
|
||||||
@@ -383,55 +393,60 @@ install-msg:
|
|||||||
######################################################################
|
######################################################################
|
||||||
# Format/Lint
|
# Format/Lint
|
||||||
|
|
||||||
# Use --xml flag to see the cppcheck code to use for suppression
|
CPPCHECK_VERILATOR_CPP = $(wildcard $(srcdir)/src/V3*.cpp $(srcdir)/src/Verilator*.cpp)
|
||||||
CPPCHECK1_CPP = $(wildcard $(srcdir)/include/*.cpp)
|
CPPCHECK_RUNTIME_CPP = $(wildcard $(srcdir)/include/*.cpp)
|
||||||
CPPCHECK2_CPP = $(wildcard $(srcdir)/examples/*/*.cpp)
|
CPPCHECK_VLC_CPP = $(wildcard $(srcdir)/src/Vlc*.cpp)
|
||||||
CPPCHECK3_CPP = $(wildcard $(srcdir)/src/Vlc*.cpp)
|
CPPCHECK_EXAMPLES_CPP = $(wildcard $(srcdir)/examples/*/*.cpp)
|
||||||
CPPCHECK4_CPP = $(wildcard $(srcdir)/src/V3[A-D]*.cpp $(srcdir)/src/Verilator*.cpp)
|
CHECK_CPP = $(CPPCHECK_VERILATOR_CPP) $(CPPCHECK_RUNTIME_CPP) $(CPPCHECK_VLC_CPP) $(CPPCHECK_EXAMPLES_CPP)
|
||||||
CPPCHECK5_CPP = $(wildcard $(srcdir)/src/V3[E-I]*.cpp)
|
CHECK_H = $(filter-out \
|
||||||
CPPCHECK6_CPP = $(wildcard $(srcdir)/src/V3[P-Z]*.cpp)
|
$(srcdir)/src/config_package.h \
|
||||||
CPPCHECK7_CPP = $(wildcard $(srcdir)/src/V3[L-R]*.cpp)
|
$(srcdir)/src/config_rev.h, \
|
||||||
CPPCHECK8_CPP = $(wildcard $(srcdir)/src/V3[S-Z]*.cpp)
|
$(wildcard \
|
||||||
CHECK_CPP = $(CPPCHECK1_CPP) $(CPPCHECK2_CPP) $(CPPCHECK3_CPP) $(CPPCHECK4_CPP) \
|
$(srcdir)/include/*.h \
|
||||||
$(CPPCHECK5_CPP) $(CPPCHECK6_CPP) $(CPPCHECK7_CPP) $(CPPCHECK8_CPP)
|
$(srcdir)/src/*.h ))
|
||||||
CHECK_H = $(wildcard \
|
|
||||||
$(srcdir)/include/*.h \
|
|
||||||
$(srcdir)/src/*.h )
|
|
||||||
CHECK_YL = $(wildcard \
|
CHECK_YL = $(wildcard \
|
||||||
$(srcdir)/src/*.y \
|
$(srcdir)/src/*.y \
|
||||||
$(srcdir)/src/*.l )
|
$(srcdir)/src/*.l )
|
||||||
CPPCHECK = src/cppcheck_filtered cppcheck
|
CPPCHECK = cppcheck
|
||||||
CPPCHECK_FLAGS = --enable=all --inline-suppr \
|
CPPCHECK_JOBS = $(shell nproc)
|
||||||
--suppress=cstyleCast --suppress=useInitializationList \
|
CPPCHECK_CACHE = $(srcdir)/src/obj_dbg/cppcheck-cache
|
||||||
--suppress=nullPointer --suppress=nullPointerRedundantCheck --suppress=ctunullpointer \
|
CPPCHECK_FLAGS = --enable=all
|
||||||
--suppress=unusedFunction --suppress=unusedScopedObject \
|
CPPCHECK_FLAGS += --inline-suppr
|
||||||
--suppress=useStlAlgorithm
|
CPPCHECK_FLAGS += --suppressions-list=$(srcdir)/src/cppcheck-suppressions.txt
|
||||||
CPPCHECK_FLAGS += --xml
|
CPPCHECK_FLAGS += --cppcheck-build-dir=$(CPPCHECK_CACHE)
|
||||||
CPPCHECK_DEP = $(subst .cpp,.cppcheck,$(CHECK_CPP))
|
CPPCHECK_FLAGS += -DVL_DEBUG=1 -DVL_CPPCHECK=1 -DINFILTER_PIPE=1 -D__GNUC__=1
|
||||||
CPPCHECK_INC = -I$(srcdir)/include -I$(srcdir)/include/gtkwave -I$(srcdir)/include/vltstd -I$(srcdir)/src/obj_dbg -I$(srcdir)/src
|
CPPCHECK_FLAGS += -j$(CPPCHECK_JOBS)
|
||||||
|
CPPCHECK_INC = -I$(srcdir)/include
|
||||||
|
CPPCHECK_INC += -I$(srcdir)/include/gtkwave
|
||||||
|
CPPCHECK_INC += -I$(srcdir)/include/vltstd
|
||||||
|
CPPCHECK_INC += -I$(srcdir)/src/obj_dbg
|
||||||
|
CPPCHECK_INC += -I$(srcdir)/src
|
||||||
|
|
||||||
cppcheck: cppcheck-1 cppcheck-2 cppcheck-3 cppcheck-4 cppcheck-5 cppcheck-6 cppcheck-7 cppcheck-8
|
$(CPPCHECK_CACHE): $(CHECK_CPP) $(CHECK_H) $(CHECK_YL)
|
||||||
cppcheck-1:
|
/bin/rm -rf $@
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK1_CPP)
|
/bin/mkdir -p $@
|
||||||
cppcheck-2:
|
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK2_CPP)
|
cppcheck-verilator: | $(CPPCHECK_CACHE)
|
||||||
cppcheck-3:
|
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CPPCHECK_INC) $(CPPCHECK_VERILATOR_CPP)
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK3_CPP)
|
cppcheck-runtime: | $(CPPCHECK_CACHE)
|
||||||
cppcheck-4:
|
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CPPCHECK_INC) $(CPPCHECK_RUNTIME_CPP)
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK4_CPP)
|
cppcheck-vlc: | $(CPPCHECK_CACHE)
|
||||||
cppcheck-5:
|
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CPPCHECK_INC) $(CPPCHECK_VLC_CPP)
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK5_CPP)
|
cppcheck-examples: | $(CPPCHECK_CACHE)
|
||||||
cppcheck-6:
|
$(CPPCHECK) $(CPPCHECK_FLAGS) $(CPPCHECK_INC) $(CPPCHECK_EXAMPLES_CPP)
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK6_CPP)
|
|
||||||
cppcheck-7:
|
cppcheck:
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK7_CPP)
|
$(MAKE) cppcheck-vlc
|
||||||
cppcheck-8:
|
$(MAKE) cppcheck-examples
|
||||||
$(CPPCHECK) $(CPPCHECK_FLAGS) -DVL_DEBUG=1 -DVL_CPPCHECK=1 $(CPPCHECK_INC) $(CPPCHECK8_CPP)
|
$(MAKE) cppcheck-runtime
|
||||||
|
$(MAKE) cppcheck-verilator
|
||||||
|
|
||||||
CLANGTIDY = clang-tidy
|
CLANGTIDY = clang-tidy
|
||||||
CLANGTIDY_FLAGS = -config='' \
|
CLANGTIDY_FLAGS = -config='' \
|
||||||
-header-filter='.*' \
|
-header-filter='.*' \
|
||||||
-checks='-fuchsia-*,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-init-variables,-cppcoreguidelines-avoid-goto,-modernize-avoid-c-arrays,-readability-magic-numbers,-readability-simplify-boolean-expr,-cppcoreguidelines-macro-usage' \
|
-checks='*,-abseil-*,-fuchsia-*,-cppcoreguidelines-avoid-c-arrays,-cppcoreguidelines-init-variables,-cppcoreguidelines-avoid-goto,-modernize-avoid-c-arrays,-readability-magic-numbers,-readability-simplify-boolean-expr,-cppcoreguidelines-macro-usage' \
|
||||||
|
|
||||||
|
# Good checks: -checks='-*,bugprone-assignment-in-if-condition,google-build-using-namespace,google-readability-casting,modernize-use-default-member-init,modernize-use-emplace,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-nullptr,performance-faster-string-find,readability-isolate-declaration,readability-redundant-control-flow,readability-redundant-member-init,readability-redundant-string-cstr,readability-uppercase-literal-suffix
|
||||||
|
|
||||||
CLANGTIDY_DEP = $(subst .cpp,.cpp.tidy,$(CHECK_CPP))
|
CLANGTIDY_DEP = $(subst .cpp,.cpp.tidy,$(CHECK_CPP))
|
||||||
CLANGTIDY_DEFS = -DVL_DEBUG=1 -DVL_CPPCHECK=1
|
CLANGTIDY_DEFS = -DVL_DEBUG=1 -DVL_CPPCHECK=1
|
||||||
@@ -450,82 +465,151 @@ analyzer-include:
|
|||||||
-rm -rf examples/*/obj*
|
-rm -rf examples/*/obj*
|
||||||
scan-build $(MAKE) -k examples
|
scan-build $(MAKE) -k examples
|
||||||
|
|
||||||
format:
|
# Bash/sh files
|
||||||
$(MAKE) -j 4 clang-format yapf format-exec
|
BASH_FILES = \
|
||||||
|
ci/ci-install.bash \
|
||||||
CLANGFORMAT = clang-format-14
|
ci/ci-pages-notify.bash \
|
||||||
CLANGFORMAT_FLAGS = -i
|
ci/ci-pages.bash \
|
||||||
CLANGFORMAT_FILES = $(CHECK_CPP) $(CHECK_H) $(CHECK_YL) test_regress/t/*.c* test_regress/t/*.h
|
ci/ci-script.bash \
|
||||||
|
ci/docker/run/hooks/post_push \
|
||||||
clang-format:
|
ci/docker/run/verilator-docker \
|
||||||
@$(CLANGFORMAT) --version | egrep 14.0 > /dev/null \
|
ci/docker/run/verilator-wrap.sh \
|
||||||
|| echo "*** You are not using clang-format-14, indents may differ from master's ***"
|
nodist/fuzzer/all \
|
||||||
$(CLANGFORMAT) $(CLANGFORMAT_FLAGS) $(CLANGFORMAT_FILES)
|
nodist/fuzzer/run \
|
||||||
|
nodist/fuzzer/setup_root \
|
||||||
YAMLFIX = YAMLFIX_WHITELINES=1 YAMLFIX_LINE_LENGTH=130 YAMLFIX_preserve_quotes=true yamlfix
|
nodist/fuzzer/setup_user \
|
||||||
|
|
||||||
yamlfix:
|
|
||||||
$(YAMLFIX) .
|
|
||||||
|
|
||||||
# CMake files
|
# CMake files
|
||||||
CMAKE_FILES = \
|
CMAKE_FILES = \
|
||||||
CMakeLists.txt \
|
CMakeLists.txt \
|
||||||
examples/*/CMakeLists.txt \
|
examples/*/CMakeLists.txt \
|
||||||
src/CMakeLists.txt \
|
src/CMakeLists.txt \
|
||||||
test_regress/CMakeLists.txt \
|
test_regress/CMakeLists.txt \
|
||||||
*.cmake.in \
|
*.cmake.in \
|
||||||
|
|
||||||
|
# Makefiles
|
||||||
|
MAKE_FILES = \
|
||||||
|
Makefile*.in \
|
||||||
|
docs/Makefile* \
|
||||||
|
include/verilated.mk.in \
|
||||||
|
examples/*/Makefile* \
|
||||||
|
src/Makefile*.in \
|
||||||
|
test_regress/Makefile* \
|
||||||
|
|
||||||
|
# Perl programs
|
||||||
|
PERL_PROGRAMS = \
|
||||||
|
bin/redirect \
|
||||||
|
bin/verilator \
|
||||||
|
bin/verilator_coverage \
|
||||||
|
|
||||||
# Python programs, subject to format and lint
|
# Python programs, subject to format and lint
|
||||||
PY_PROGRAMS = \
|
PY_PROGRAMS = \
|
||||||
bin/verilator_ccache_report \
|
bin/verilator_ccache_report \
|
||||||
bin/verilator_difftree \
|
bin/verilator_difftree \
|
||||||
bin/verilator_gantt \
|
bin/verilator_gantt \
|
||||||
bin/verilator_includer \
|
bin/verilator_includer \
|
||||||
bin/verilator_profcfunc \
|
bin/verilator_profcfunc \
|
||||||
examples/json_py/vl_file_copy \
|
docs/bin/vl_sphinx_extract \
|
||||||
examples/json_py/vl_hier_graph \
|
docs/bin/vl_sphinx_fix \
|
||||||
docs/guide/conf.py \
|
docs/guide/conf.py \
|
||||||
docs/bin/vl_sphinx_extract \
|
examples/json_py/vl_file_copy \
|
||||||
docs/bin/vl_sphinx_fix \
|
examples/json_py/vl_hier_graph \
|
||||||
src/astgen \
|
nodist/clang_check_attributes \
|
||||||
src/bisonpre \
|
nodist/dot_importer \
|
||||||
src/config_rev \
|
nodist/fuzzer/actual_fail \
|
||||||
src/cppcheck_filtered \
|
nodist/fuzzer/generate_dictionary \
|
||||||
src/flexfix \
|
nodist/install_test \
|
||||||
src/vlcovgen \
|
nodist/lint_py_test_filter \
|
||||||
src/.gdbinit.py \
|
nodist/log_changes \
|
||||||
test_regress/*.py \
|
nodist/uvm_pkg_packer \
|
||||||
test_regress/t/*.pf \
|
nodist/verilator_bisect \
|
||||||
nodist/clang_check_attributes \
|
nodist/verilator_saif_diff \
|
||||||
nodist/code_coverage \
|
src/.gdbinit.py \
|
||||||
nodist/dot_importer \
|
src/astgen \
|
||||||
nodist/fuzzer/actual_fail \
|
src/bisonpre \
|
||||||
nodist/fuzzer/generate_dictionary \
|
src/config_rev \
|
||||||
nodist/install_test \
|
src/flexfix \
|
||||||
nodist/log_changes \
|
src/vlcovgen \
|
||||||
|
test_regress/*.py \
|
||||||
|
test_regress/t/*.pf \
|
||||||
|
|
||||||
# Python files, subject to format but not lint
|
# Python files, subject to format but not lint
|
||||||
PY_FILES = \
|
PY_FILES = \
|
||||||
$(PY_PROGRAMS) \
|
$(PY_PROGRAMS) \
|
||||||
nodist/code_coverage.dat \
|
test_regress/t/*.py \
|
||||||
test_regress/t/*.py \
|
|
||||||
|
|
||||||
# Python files, test_regress tests
|
# Python files, test_regress tests
|
||||||
PY_TEST_FILES = \
|
PY_TEST_FILES = test_regress/t/*.py
|
||||||
test_regress/t/*.py \
|
|
||||||
|
|
||||||
YAPF = yapf3
|
# YAML files
|
||||||
YAPF_FLAGS = -i --parallel
|
YAML_FILES = \
|
||||||
|
.*.yaml \
|
||||||
|
.*.yml \
|
||||||
|
.github/*.yml \
|
||||||
|
.github/*/*.yml \
|
||||||
|
CITATION.cff \
|
||||||
|
|
||||||
yapf:
|
######################################################################
|
||||||
$(YAPF) $(YAPF_FLAGS) $(PY_FILES)
|
# Format
|
||||||
|
|
||||||
|
format:
|
||||||
|
$(MAKE) -j 5 format-c format-cmake format-exec format-py format-yaml
|
||||||
|
|
||||||
|
BEAUTYSH = beautysh
|
||||||
|
BEAUTYSH_FLAGS = --indent-size 2
|
||||||
|
|
||||||
|
format-bash:
|
||||||
|
$(BEAUTYSH) --version
|
||||||
|
$(BEAUTYSH) $(BEAUTYSH_FLAGS) $(BASH_FILES)
|
||||||
|
|
||||||
|
CLANGFORMAT = clang-format-18
|
||||||
|
CLANGFORMAT_FLAGS = -i
|
||||||
|
CLANGFORMAT_FILES = $(CHECK_CPP) $(CHECK_H) $(CHECK_YL) test_regress/t/*.c* test_regress/t/*.h
|
||||||
|
|
||||||
|
format-c clang-format:
|
||||||
|
$(CLANGFORMAT) --version
|
||||||
|
@$(CLANGFORMAT) --version | fgrep 'version 18' > /dev/null \
|
||||||
|
|| echo "*** You are not using clang-format-18, indents may differ from master's ***"
|
||||||
|
$(CLANGFORMAT) $(CLANGFORMAT_FLAGS) $(CLANGFORMAT_FILES)
|
||||||
|
|
||||||
GERSEMI = gersemi
|
GERSEMI = gersemi
|
||||||
GERSEMI_FLAGS = -i
|
GERSEMI_FLAGS = -i --no-warn-about-unknown-commands
|
||||||
|
|
||||||
format-cmake:
|
format-cmake:
|
||||||
|
$(GERSEMI) --version
|
||||||
$(GERSEMI) $(GERSEMI_FLAGS) $(CMAKE_FILES)
|
$(GERSEMI) $(GERSEMI_FLAGS) $(CMAKE_FILES)
|
||||||
|
|
||||||
|
MBAKE = mbake
|
||||||
|
MBAKE_FLAGS = format --config ./.bake.toml
|
||||||
|
|
||||||
|
format-exec:
|
||||||
|
-chmod a+x test_regress/t/t_*.py
|
||||||
|
-chmod a-x test_regress/t/*.v
|
||||||
|
|
||||||
|
format-make mbake:
|
||||||
|
$(MBAKE) --version
|
||||||
|
$(MBAKE) $(MBAKE_FLAGS) $(MAKE_FILES)
|
||||||
|
|
||||||
|
YAPF = yapf
|
||||||
|
YAPF_FLAGS = -i --parallel
|
||||||
|
|
||||||
|
format-py yapf:
|
||||||
|
$(YAPF) --version
|
||||||
|
$(YAPF) $(YAPF_FLAGS) $(PY_FILES)
|
||||||
|
|
||||||
|
YAMLFIX = YAMLFIX_WHITELINES=1 YAMLFIX_LINE_LENGTH=200 YAMLFIX_preserve_quotes=true yamlfix
|
||||||
|
YAMLFIX_FLAGS =
|
||||||
|
|
||||||
|
format-yaml yamlfix:
|
||||||
|
$(YAMLFIX) --version
|
||||||
|
$(YAMLFIX) $(YAMLFIX_FLAGS) $(YAML_FILES)
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Lint
|
||||||
|
|
||||||
|
MYPY = mypy
|
||||||
|
MYPY_FLAGS = --strict --no-error-summary
|
||||||
|
|
||||||
PYLINT = pylint
|
PYLINT = pylint
|
||||||
PYLINT_FLAGS = --recursive=n --score=n --disable=R0801
|
PYLINT_FLAGS = --recursive=n --score=n --disable=R0801
|
||||||
PYLINT_TEST_FLAGS = $(PYLINT_FLAGS) --disable=C0103,C0114,C0116,C0209,C0411,C0413,C0301,R0801,R0912,R0915,R0916,R1702,W0511,W0621
|
PYLINT_TEST_FLAGS = $(PYLINT_FLAGS) --disable=C0103,C0114,C0116,C0209,C0411,C0413,C0301,R0801,R0912,R0915,R0916,R1702,W0511,W0621
|
||||||
@@ -535,7 +619,16 @@ RUFF_FLAGS = check --ignore=E402,E501,E701
|
|||||||
|
|
||||||
# "make -k" so can see all tool result errors
|
# "make -k" so can see all tool result errors
|
||||||
lint-py:
|
lint-py:
|
||||||
$(MAKE) -k lint-py-pylint lint-py-pylint-tests lint-py-ruff
|
$(MAKE) -k lint-py-mypy lint-py-mypy-none lint-py-pylint lint-py-pylint-tests lint-py-ruff
|
||||||
|
|
||||||
|
lint-py-mypy:
|
||||||
|
for filename in `fgrep -l '# mypy' $(PY_PROGRAMS)`; do \
|
||||||
|
echo "$(MYPY) $(MYPY_FLAGS) $$filename" ; \
|
||||||
|
$(MYPY) $(MYPY_FLAGS) $$filename ; \
|
||||||
|
done
|
||||||
|
|
||||||
|
lint-py-mypy-none:
|
||||||
|
@echo "mypy not checking: " `fgrep -L '# mypy' $(PY_PROGRAMS)`
|
||||||
|
|
||||||
lint-py-pylint:
|
lint-py-pylint:
|
||||||
$(PYLINT) $(PYLINT_FLAGS) $(PY_PROGRAMS)
|
$(PYLINT) $(PYLINT_FLAGS) $(PY_PROGRAMS)
|
||||||
@@ -546,9 +639,6 @@ lint-py-pylint-tests:
|
|||||||
lint-py-ruff:
|
lint-py-ruff:
|
||||||
$(RUFF) $(RUFF_FLAGS) $(PY_PROGRAMS)
|
$(RUFF) $(RUFF_FLAGS) $(PY_PROGRAMS)
|
||||||
|
|
||||||
format-exec:
|
|
||||||
-chmod a+x test_regress/t/*.py
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Configure
|
# Configure
|
||||||
|
|
||||||
@@ -571,6 +661,149 @@ else
|
|||||||
autoconf
|
autoconf
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Coverage collection and reporting
|
||||||
|
|
||||||
|
COVERAGE_DIR := obj_coverage
|
||||||
|
|
||||||
|
ifeq ($(CFG_WITH_DEV_GCOV),yes)
|
||||||
|
|
||||||
|
# Figure out base and head refs for coverage report
|
||||||
|
COVERAGE_REF_BASE := $(if $(COVERAGE_BASE),$(shell git rev-parse --short $(COVERAGE_BASE)))
|
||||||
|
COVERAGE_REF_HEAD := $(shell git rev-parse --short HEAD)
|
||||||
|
override undefine COVERAGE_BASE # Use the above variabels instead
|
||||||
|
|
||||||
|
# 'fastcov' setup
|
||||||
|
FASTCOV := nodist/fastcov.py
|
||||||
|
FASTCOV_OPT := -j $(shell nproc)
|
||||||
|
FASTCOV_OPT += --lcov
|
||||||
|
FASTCOV_OPT += --process-gcno
|
||||||
|
FASTCOV_OPT += --branch-coverage
|
||||||
|
FASTCOV_OPT += --dump-statistic
|
||||||
|
# Files matching the following glob patterns will be excluded from coverage
|
||||||
|
FASTCOV_OPT += --exclude-glob
|
||||||
|
FASTCOV_OPT += '/usr/*'
|
||||||
|
FASTCOV_OPT += '*examples/*'
|
||||||
|
FASTCOV_OPT += '*include/gtkwave/*'
|
||||||
|
FASTCOV_OPT += '*src/obj_dbg/*'
|
||||||
|
FASTCOV_OPT += '*src/obj_opt/*.yy.cpp'
|
||||||
|
FASTCOV_OPT += '*src/obj_opt/V3Ast*'
|
||||||
|
FASTCOV_OPT += '*src/obj_opt/V3Dfg*'
|
||||||
|
FASTCOV_OPT += '*src/obj_opt/V3ParseBison.c'
|
||||||
|
FASTCOV_OPT += '*test_regress/*'
|
||||||
|
# Lines *containing* these substrings will be excluded from *all* coverage
|
||||||
|
FASTCOV_OPT += --custom-exclusion-marker
|
||||||
|
FASTCOV_OPT += ASTGEN_MEMBERS
|
||||||
|
FASTCOV_OPT += ERROR_RSVD_WORD
|
||||||
|
FASTCOV_OPT += LCOV_EXCL_LINE
|
||||||
|
FASTCOV_OPT += V3ERROR_NA
|
||||||
|
FASTCOV_OPT += VL_DEFINE_DEBUG_FUNCTIONS
|
||||||
|
FASTCOV_OPT += VL_FATAL
|
||||||
|
FASTCOV_OPT += VL_RTTI_IMPL
|
||||||
|
FASTCOV_OPT += VL_UNREACHABLE
|
||||||
|
FASTCOV_OPT += v3fatalSrc
|
||||||
|
# Lines *starting* with these substrings will be ecluded from *branch* coverage
|
||||||
|
FASTCOV_OPT += --exclude-br-lines-starting-with
|
||||||
|
FASTCOV_OPT += BROKEN_BASE_RTN
|
||||||
|
FASTCOV_OPT += BROKEN_RTN
|
||||||
|
FASTCOV_OPT += NUM_ASSERT
|
||||||
|
FASTCOV_OPT += SELF_CHECK
|
||||||
|
FASTCOV_OPT += UASSERT
|
||||||
|
FASTCOV_OPT += UINFO
|
||||||
|
FASTCOV_OPT += assert
|
||||||
|
FASTCOV_OPT += 'if (VL_UNCOVERABLE'
|
||||||
|
FASTCOV_OPT += '} else if (VL_UNCOVERABLE'
|
||||||
|
|
||||||
|
# 'genhtml' setup
|
||||||
|
GENHTML := genhtml
|
||||||
|
GENHTML_OPT := -j $(shell nproc)
|
||||||
|
GENHTML_OPT += --branch-coverage
|
||||||
|
GENHTML_OPT += --demangle-cpp
|
||||||
|
GENHTML_OPT += --missed
|
||||||
|
GENHTML_OPT += --rc branch_coverage=1
|
||||||
|
GENHTML_OPT += --rc genhtml_hi_limit=100
|
||||||
|
GENHTML_OPT += --ignore-errors negative
|
||||||
|
ifeq ($(COVERAGE_REF_BASE),)
|
||||||
|
GENHTML_OPT += --header-title "Code coverage for Verilator $(shell git describe --dirty)"
|
||||||
|
else
|
||||||
|
GENHTML_OPT += --header-title "Patch coverage for Verilator $(COVERAGE_REF_BASE)..$(COVERAGE_REF_HEAD)$(if $(shell git status --porcelain),-dirty)"
|
||||||
|
endif
|
||||||
|
GENHTML_OPT += --flat
|
||||||
|
GENHTML_OPT += --precision 2
|
||||||
|
GENHTML_OPT += --legend
|
||||||
|
GENHTML_OPT += --show-proportion
|
||||||
|
GENHTML_OPT += --filter brace,blank,range
|
||||||
|
|
||||||
|
# There are loads (~20k combined), but using this seems fine on modern hardware
|
||||||
|
GCNO_FILES = $(shell find . -name '*.gcno')
|
||||||
|
GCDA_FILES = $(shell find . -name '*.gcda')
|
||||||
|
|
||||||
|
# Combine all .gcda coverage date files into lcov .info file
|
||||||
|
$(COVERAGE_DIR)/verilator.info: $(GCNO_FILES) $(GCDA_FILES)
|
||||||
|
@echo "####################################################################"
|
||||||
|
@echo "# fastcov: combining all .gcda files into lcov .info"
|
||||||
|
@echo "####################################################################"
|
||||||
|
@mkdir -p $(COVERAGE_DIR)
|
||||||
|
/usr/bin/time -f "That took %E" \
|
||||||
|
$(FASTCOV) $(FASTCOV_OPT) --output $@
|
||||||
|
|
||||||
|
# Filter combined .info file for patch coverage
|
||||||
|
$(COVERAGE_DIR)/verilator-patch.info: $(COVERAGE_DIR)/verilator.info
|
||||||
|
@echo "####################################################################"
|
||||||
|
@echo "# fastcov: Filtering for patch coverage"
|
||||||
|
@echo "####################################################################"
|
||||||
|
rm -f $(COVERAGE_DIR)/empty-patch
|
||||||
|
git diff $(COVERAGE_REF_BASE) -- include src > $(COVERAGE_DIR)/filter.patch
|
||||||
|
[ -s $(COVERAGE_DIR)/filter.patch ]] || touch $(COVERAGE_DIR)/empty-patch
|
||||||
|
$(FASTCOV) -C $^ --lcov -o $@ --diff-filter $(COVERAGE_DIR)/filter.patch
|
||||||
|
|
||||||
|
# Build coverage report
|
||||||
|
$(COVERAGE_DIR)/report/index.html: $(COVERAGE_DIR)/verilator$(if $(COVERAGE_REF_BASE),-patch).info
|
||||||
|
@echo "####################################################################"
|
||||||
|
@echo "# genhtml: Generating coverage report"
|
||||||
|
@echo "####################################################################"
|
||||||
|
@rm -rf $(COVERAGE_DIR)/report
|
||||||
|
[ -f $(COVERAGE_DIR)/empty-patch ]] || /usr/bin/time -f "That took %E" \
|
||||||
|
$(GENHTML) $(GENHTML_OPT) --output-directory $(COVERAGE_DIR)/report $^ || true
|
||||||
|
@# Uncommitted changes not tracked, force rebuild on next run if patch coverage
|
||||||
|
@$(if $(COVERAGE_REF_BASE),mv $(COVERAGE_DIR)/verilator-patch.info $(COVERAGE_DIR)/verilator-patch-last.info)
|
||||||
|
|
||||||
|
# Convenience targets
|
||||||
|
.PHONY: coverage-combine
|
||||||
|
coverage-combine: $(COVERAGE_DIR)/verilator.info
|
||||||
|
|
||||||
|
# Via recursive make, so the message is always printed
|
||||||
|
.PHONY: coverage-report
|
||||||
|
coverage-report:
|
||||||
|
@$(MAKE) --no-print-directory $(COVERAGE_DIR)/report/index.html || true
|
||||||
|
@if [ -f $(COVERAGE_DIR)/report/index.html ]; then \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
echo "# Coverage report is at: $(COVERAGE_DIR)/report/index.html"; \
|
||||||
|
echo "# Use 'make coverage-view' to open it in your default browser"; \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
elif [ -f $(COVERAGE_DIR)/empty-patch ]; then \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
echo "# Patch is empty"; \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
else \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
echo "# Failed to create coverage report. Maybe no data, or error?"; \
|
||||||
|
echo "####################################################################"; \
|
||||||
|
false; \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Open covarage report in default web browser
|
||||||
|
.PHONY: coverage-view
|
||||||
|
coverage-view: coverage-report
|
||||||
|
@test -f $(COVERAGE_DIR)/report/index.html && open $(COVERAGE_DIR)/report/index.html || true
|
||||||
|
|
||||||
|
# Deletes all coverage data files (.gcda)
|
||||||
|
.PHONY: coverage-zero
|
||||||
|
coverage-zero: # 'rm $(GCDA_FILES)' might fail with too many args
|
||||||
|
$(FASTCOV) --zerocounters
|
||||||
|
|
||||||
|
endif
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Clean
|
# Clean
|
||||||
|
|
||||||
@@ -581,8 +814,8 @@ maintainer-clean::
|
|||||||
|
|
||||||
clean mostlyclean distclean maintainer-clean maintainer-copy::
|
clean mostlyclean distclean maintainer-clean maintainer-copy::
|
||||||
for dir in $(SUBDIRS); do \
|
for dir in $(SUBDIRS); do \
|
||||||
echo making $@ in $$dir ; \
|
echo making $@ in $$dir ; \
|
||||||
$(MAKE) -C $$dir $@ ; \
|
$(MAKE) -C $$dir $@ ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
clean mostlyclean distclean maintainer-clean::
|
clean mostlyclean distclean maintainer-clean::
|
||||||
@@ -593,13 +826,15 @@ clean mostlyclean distclean maintainer-clean::
|
|||||||
rm -f *.tex
|
rm -f *.tex
|
||||||
rm -rf examples/*/obj_dir* examples/*/logs
|
rm -rf examples/*/obj_dir* examples/*/logs
|
||||||
rm -rf test_*/obj_dir
|
rm -rf test_*/obj_dir
|
||||||
|
rm -rf src/*.tidy include/*.tidy examples/*/*.tidy
|
||||||
|
rm -rf .ruff_cache
|
||||||
rm -rf nodist/fuzzer/dictionary
|
rm -rf nodist/fuzzer/dictionary
|
||||||
rm -rf nodist/obj_dir
|
rm -rf $(COVERAGE_DIR)
|
||||||
rm -rf verilator.txt
|
rm -rf verilator.txt
|
||||||
|
|
||||||
distclean maintainer-clean::
|
distclean maintainer-clean::
|
||||||
rm -f *.info* *.1 $(INFOS) $(INFOS_OLD) $(VL_INST_MAN_FILES)
|
rm -f *.info* *.1 $(INFOS) $(INFOS_OLD) $(VL_INST_MAN_FILES)
|
||||||
rm -f Makefile config.status config.cache config.log TAGS
|
rm -f Makefile config.status config.cache config.log configure~ TAGS
|
||||||
rm -f verilator_bin* verilator_coverage_bin*
|
rm -f verilator_bin* verilator_coverage_bin*
|
||||||
rm -f bin/verilator_bin* bin/verilator_coverage_bin*
|
rm -f bin/verilator_bin* bin/verilator_coverage_bin*
|
||||||
rm -f include/verilated.mk include/verilated_config.h
|
rm -f include/verilated.mk include/verilated_config.h
|
||||||
@@ -624,3 +859,21 @@ preexist:
|
|||||||
|
|
||||||
maintainer-dist: preexist tag
|
maintainer-dist: preexist tag
|
||||||
svnorcvs release $(DISTTAGNAME)
|
svnorcvs release $(DISTTAGNAME)
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Python venv
|
||||||
|
|
||||||
|
VENV_PATH ?= .venv
|
||||||
|
|
||||||
|
.PHONY: venv
|
||||||
|
venv:
|
||||||
|
# Create virtual environment using the python3 picked up by configure
|
||||||
|
[ -e $(VENV_PATH) ] || @PYTHON3@ -m venv --system-site-packages $(VENV_PATH)
|
||||||
|
# Install python3 dependencies, with explicit retry
|
||||||
|
$(VENV_PATH)/bin/pip3 install -r python-dev-requirements.txt || \
|
||||||
|
$(VENV_PATH)/bin/pip3 install -r python-dev-requirements.txt
|
||||||
|
@echo
|
||||||
|
@echo "Installed Python virtual environment, in:"
|
||||||
|
@echo " $(VENV_PATH)"
|
||||||
|
@echo "To activate, run:"
|
||||||
|
@echo " source $(VENV_PATH)/bin/activate"
|
||||||
|
|||||||
+50
-40
@@ -1,24 +1,24 @@
|
|||||||
.. Github doesn't render images unless absolute URL
|
.. Github doesn't render images unless absolute URL
|
||||||
.. Do not know of a conditional tag, "only: github" nor "github display" works
|
.. Do not know of a conditional tag, "only: github" nor "github display" works
|
||||||
|
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
|
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|badge1| |badge2| |badge3| |badge4| |badge5| |badge6| |badge7| |badge8|
|
|badge1| |badge2| |badge3| |badge4| |badge5| |badge7| |badge8|
|
||||||
|
|
||||||
.. |badge1| image:: https://img.shields.io/badge/Website-Verilator.org-181717.svg
|
.. |badge1| image:: https://img.shields.io/badge/Website-Verilator.org-181717.svg
|
||||||
:target: https://verilator.org
|
:target: https://verilator.org
|
||||||
.. |badge2| image:: https://img.shields.io/badge/License-LGPL%20v3-blue.svg
|
.. |badge2| image:: https://img.shields.io/badge/License-LGPL%20v3-blue.svg
|
||||||
:target: https://www.gnu.org/licenses/lgpl-3.0
|
:target: https://www.gnu.org/licenses/lgpl-3.0
|
||||||
.. |badge3| image:: https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg
|
.. |badge3| image:: https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg
|
||||||
:target: https://opensource.org/licenses/Artistic-2.0
|
:target: https://opensource.org/licenses/Artistic-2.0
|
||||||
.. |badge4| image:: https://repology.org/badge/tiny-repos/verilator.svg?header=distro%20packages
|
.. |badge4| image:: https://repology.org/badge/tiny-repos/verilator.svg?header=distro%20packages
|
||||||
:target: https://repology.org/project/verilator/versions
|
:target: https://repology.org/project/verilator/versions
|
||||||
.. |badge5| image:: https://img.shields.io/docker/pulls/verilator/verilator
|
.. |badge5| image:: https://img.shields.io/docker/pulls/verilator/verilator
|
||||||
:target: https://hub.docker.com/r/verilator/verilator
|
:target: https://hub.docker.com/r/verilator/verilator
|
||||||
.. |badge6| image:: https://api.codacy.com/project/badge/Grade/fa78caa433c84a4ab9049c43e9debc6f
|
.. |badge7| image:: https://github.com/verilator/verilator/workflows/build/badge.svg
|
||||||
:target: https://www.codacy.com/gh/verilator/verilator
|
:target: https://github.com/verilator/verilator/actions?query=workflow%3Abuild
|
||||||
.. |badge7| image:: https://codecov.io/gh/verilator/verilator/branch/master/graph/badge.svg
|
.. |badge8| image:: https://img.shields.io/github/actions/workflow/status/verilator/verilator/rtlmeter.yml?branch=master&event=schedule&label=benchmarks
|
||||||
:target: https://codecov.io/gh/verilator/verilator
|
:target: https://verilator.github.io/verilator-rtlmeter-results
|
||||||
.. |badge8| image:: https://github.com/verilator/verilator/workflows/build/badge.svg
|
|
||||||
:target: https://github.com/verilator/verilator/actions?query=workflow%3Abuild
|
|
||||||
|
|
||||||
|
|
||||||
Welcome to Verilator
|
Welcome to Verilator
|
||||||
@@ -30,7 +30,7 @@ Welcome to Verilator
|
|||||||
* Accepts Verilog or SystemVerilog
|
* Accepts Verilog or SystemVerilog
|
||||||
* Performs lint code-quality checks
|
* Performs lint code-quality checks
|
||||||
* Compiles into multithreaded C++, or SystemC
|
* Compiles into multithreaded C++, or SystemC
|
||||||
* Creates XML to front-end your own tools
|
* Creates JSON to front-end your own tools
|
||||||
- |Logo|
|
- |Logo|
|
||||||
* - |verilator multithreaded performance|
|
* - |verilator multithreaded performance|
|
||||||
- **Fast**
|
- **Fast**
|
||||||
@@ -39,6 +39,7 @@ Welcome to Verilator
|
|||||||
* - **Widely Used**
|
* - **Widely Used**
|
||||||
* Wide industry and academic deployment
|
* Wide industry and academic deployment
|
||||||
* Out-of-the-box support from Arm and RISC-V vendor IP
|
* Out-of-the-box support from Arm and RISC-V vendor IP
|
||||||
|
* Over 700 contributors
|
||||||
- |verilator usage|
|
- |verilator usage|
|
||||||
* - |verilator community|
|
* - |verilator community|
|
||||||
- **Community Driven & Openly Licensed**
|
- **Community Driven & Openly Licensed**
|
||||||
@@ -55,36 +56,38 @@ Welcome to Verilator
|
|||||||
What Verilator Does
|
What Verilator Does
|
||||||
===================
|
===================
|
||||||
|
|
||||||
Verilator is invoked with parameters similar to GCC or Synopsys's VCS. It
|
Verilator is invoked with parameters similar to GCC or Synopsys's VCS. It
|
||||||
"Verilates" the specified Verilog or SystemVerilog code by reading it,
|
"Verilates" the specified Verilog or SystemVerilog code by reading it,
|
||||||
performing lint checks, and optionally inserting assertion checks and
|
performing lint checks, and optionally inserting assertion checks and
|
||||||
coverage-analysis points. It outputs single- or multithreaded .cpp and .h
|
coverage-analysis points. It outputs single- or multithreaded .cpp and .h
|
||||||
files, the "Verilated" code.
|
files, the "Verilated" code.
|
||||||
|
|
||||||
These Verilated C++/SystemC files are then compiled by a C++ compiler
|
Verilator can automatically generate a simulator executable (using
|
||||||
(gcc/clang/MSVC++), optionally along with a user's own C++/SystemC wrapper
|
``--binary``), or users can write their own C++/SystemC wrapper to
|
||||||
file, to instantiate the Verilated model. Executing the resulting
|
instantiate the model. The resulting Verilated executable performs the
|
||||||
executable performs the design simulation. Verilator also supports linking
|
design simulation. Verilator also supports linking Verilator-generated
|
||||||
Verilated generated libraries, optionally encrypted, into other simulators.
|
libraries, optionally encrypted, into other simulators.
|
||||||
|
|
||||||
Verilator may not be the best choice if you are expecting a full-featured
|
Verilator supports all design constructs, most verification constructs,
|
||||||
replacement for a closed-source Verilog simulator, need SDF annotation,
|
intra-assignment delays (e.g, `#10`), and events. Tristate-bus (`z`) and
|
||||||
mixed-signal simulation, or are doing a quick class project (we recommend
|
unknowns (`x`) are handled in limited contexts, in a special manor for
|
||||||
`Icarus Verilog`_ for classwork). However, if you are looking for a path
|
performance. It currently may not be the best choice if you are expecting a
|
||||||
to migrate SystemVerilog to C++/SystemC, or want high-speed simulation of
|
full-featured replacement for a closed-source Verilog simulator, performing
|
||||||
designs, Verilator is the tool for you.
|
SDF annotation, or mixed-signal simulation. However, if you are looking for
|
||||||
|
a path to migrate SystemVerilog to C++/SystemC, or want high-speed
|
||||||
|
simulation, Verilator is the tool for you.
|
||||||
|
|
||||||
|
|
||||||
Performance
|
Performance
|
||||||
===========
|
===========
|
||||||
|
|
||||||
Verilator does not directly translate Verilog HDL to C++ or SystemC. Rather,
|
Verilator does not directly translate Verilog HDL to C++ or SystemC.
|
||||||
Verilator compiles your code into a much faster optimized and optionally
|
Rather, Verilator compiles your code into a much faster optimized and
|
||||||
thread-partitioned model, which is in turn wrapped inside a C++/SystemC
|
optionally thread-partitioned model, which is in turn wrapped inside a
|
||||||
module. The results are a compiled Verilog model that executes even on a
|
C++/SystemC module. The results are a compiled Verilog model that executes
|
||||||
single thread over 10x faster than standalone SystemC, and on a single
|
even on a single thread over 10x faster than standalone SystemC, and on a
|
||||||
thread is about 100 times faster than interpreted Verilog simulators such
|
single thread is about 100 times faster than interpreted Verilog simulators
|
||||||
as `Icarus Verilog`_. Another 2-10x speedup might be gained from
|
such as `Icarus Verilog`_. Another 2-10x speedup might be gained from
|
||||||
multithreading (yielding 200-1000x total over interpreted simulators).
|
multithreading (yielding 200-1000x total over interpreted simulators).
|
||||||
|
|
||||||
Verilator has typically similar or better performance versus closed-source
|
Verilator has typically similar or better performance versus closed-source
|
||||||
@@ -102,8 +105,8 @@ For more information:
|
|||||||
- `Verilator installation and package directory structure
|
- `Verilator installation and package directory structure
|
||||||
<https://verilator.org/install>`_
|
<https://verilator.org/install>`_
|
||||||
|
|
||||||
- `Verilator manual (HTML) <https://verilator.org/verilator_doc.html>`_,
|
- `Verilator manual (HTML) <https://verilator.org/verilator_doc.html>`_, or
|
||||||
or `Verilator manual (PDF) <https://verilator.org/verilator_doc.pdf>`_
|
`Verilator manual (PDF) <https://verilator.org/verilator_doc.pdf>`_
|
||||||
|
|
||||||
- `Subscribe to Verilator announcements
|
- `Subscribe to Verilator announcements
|
||||||
<https://github.com/verilator/verilator-announce>`_
|
<https://github.com/verilator/verilator-announce>`_
|
||||||
@@ -133,26 +136,33 @@ organizations; please see `Verilator Commercial Support
|
|||||||
Related Projects
|
Related Projects
|
||||||
================
|
================
|
||||||
|
|
||||||
- `GTKwave <http://gtkwave.sourceforge.net/>`_ - Waveform viewer for
|
- `Cocotb <https://www.cocotb.org/>`_ - A coroutine-based cosimulation
|
||||||
|
library for writing testbenches in Python which officially supports
|
||||||
|
Verilator.
|
||||||
|
|
||||||
|
- `GTKwave <https://gtkwave.sourceforge.net/>`_ - Waveform viewer for
|
||||||
Verilator traces.
|
Verilator traces.
|
||||||
|
|
||||||
- `Icarus Verilog`_ - Icarus is a full-featured interpreted Verilog
|
- `Icarus Verilog`_ - Icarus is a highly-featured interpreted Verilog
|
||||||
simulator. If Verilator does not support your needs, perhaps Icarus may.
|
simulator. If Verilator does not support your needs, perhaps Icarus may.
|
||||||
|
|
||||||
|
- `Surfer <https://surfer-project.org/>`_ - Web or offline waveform viewer
|
||||||
|
for Verilator traces.
|
||||||
|
|
||||||
|
|
||||||
Open License
|
Open License
|
||||||
============
|
============
|
||||||
|
|
||||||
Verilator is Copyright 2003-2024 by Wilson Snyder. (Report bugs to
|
Verilator is Copyright 2003-2026 by Wilson Snyder. (Report bugs to
|
||||||
`Verilator Issues <https://verilator.org/issues>`_.)
|
`Verilator Issues <https://verilator.org/issues>`_.)
|
||||||
|
|
||||||
Verilator is free software; you can redistribute it and/or modify it under
|
Verilator is free software; you can redistribute it and/or modify it under
|
||||||
the terms of either the GNU Lesser General Public License Version 3 or the
|
the terms of either the GNU Lesser General Public License Version 3 or the
|
||||||
Perl Artistic License Version 2.0. See the documentation for more details.
|
Perl Artistic License Version 2.0. See the documentation for more details.
|
||||||
|
|
||||||
.. _CHIPS Alliance: https://chipsalliance.org
|
.. _chips alliance: https://chipsalliance.org
|
||||||
.. _Icarus Verilog: https://steveicarus.github.io/iverilog
|
.. _icarus verilog: https://steveicarus.github.io/iverilog
|
||||||
.. _Linux Foundation: https://www.linuxfoundation.org
|
.. _linux foundation: https://www.linuxfoundation.org
|
||||||
.. |Logo| image:: https://www.veripool.org/img/verilator_256_200_min.png
|
.. |Logo| image:: https://www.veripool.org/img/verilator_256_200_min.png
|
||||||
.. |verilator multithreaded performance| image:: https://www.veripool.org/img/verilator_multithreaded_performance_bg-min.png
|
.. |verilator multithreaded performance| image:: https://www.veripool.org/img/verilator_multithreaded_performance_bg-min.png
|
||||||
.. |verilator usage| image:: https://www.veripool.org/img/verilator_usage_400x200-min.png
|
.. |verilator usage| image:: https://www.veripool.org/img/verilator_usage_400x200-min.png
|
||||||
|
|||||||
+61
@@ -0,0 +1,61 @@
|
|||||||
|
# DESCRIPTION: Verilator default licensing for "reuse lint"
|
||||||
|
|
||||||
|
version = 1
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = [
|
||||||
|
"**/.gitattributes",
|
||||||
|
"**/.gitignore",
|
||||||
|
".clang-format",
|
||||||
|
".clang-tidy",
|
||||||
|
".codacy.yml",
|
||||||
|
".devcontainer/devcontainer.json",
|
||||||
|
".github/**",
|
||||||
|
".pre-commit-hooks.yaml",
|
||||||
|
".style.yapf",
|
||||||
|
"CITATION.cff",
|
||||||
|
"CPPLINT.cfg",
|
||||||
|
"ci/docker/buildenv/wavetools.conf",
|
||||||
|
"docs/CONTRIBUTORS",
|
||||||
|
"docs/spelling.txt",
|
||||||
|
"docs/verilated.dox",
|
||||||
|
"examples/**/*.vc",
|
||||||
|
"install-sh",
|
||||||
|
"test_regress/.gdbinit",
|
||||||
|
"test_regress/input.vc",
|
||||||
|
"test_regress/input.xsim.vc",
|
||||||
|
"test_regress/t/*.dat",
|
||||||
|
"test_regress/t/*.gprof",
|
||||||
|
"test_regress/t/*.mem",
|
||||||
|
"test_regress/t/*.out",
|
||||||
|
"test_regress/t/*.tree",
|
||||||
|
"test_regress/t/*.vc",
|
||||||
|
"test_regress/t/t_lint_bsspace_bad.v",
|
||||||
|
"verilator.pc.in",
|
||||||
|
]
|
||||||
|
SPDX-FileCopyrightText = "2003-2026 Wilson Snyder"
|
||||||
|
SPDX-License-Identifier = "CC0-1.0"
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = [
|
||||||
|
"docs/_static/**",
|
||||||
|
"docs/gen/*.rst",
|
||||||
|
"docs/guide/figures/**",
|
||||||
|
]
|
||||||
|
SPDX-FileCopyrightText = "2003-2026 Wilson Snyder"
|
||||||
|
SPDX-License-Identifier = "LGPL-3.0-only OR Artistic-2.0"
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = "test_regress/t/uvm/**"
|
||||||
|
SPDX-FileCopyrightText = [
|
||||||
|
"2010-2017 Mentor Graphics Corporation",
|
||||||
|
"2010-2013 Synopsys, Inc.",
|
||||||
|
"2010-2018 Cadence Design Systems, Inc.",
|
||||||
|
"2013 NVIDIA Corporation",
|
||||||
|
]
|
||||||
|
SPDX-License-Identifier = "Apache-2.0"
|
||||||
|
|
||||||
|
[[annotations]]
|
||||||
|
path = "include/gtkwave/lz4.*"
|
||||||
|
SPDX-FileCopyrightText = "2011-2023 Yann Collet"
|
||||||
|
SPDX-License-Identifier = "BSD-2-Clause"
|
||||||
+4
-4
@@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
######################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2025-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
#
|
#
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|||||||
+134
-63
@@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
######################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2025-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
#
|
#
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -27,7 +27,23 @@ use vars qw($Debug @Opt_Verilator_Sw);
|
|||||||
autoflush STDOUT 1;
|
autoflush STDOUT 1;
|
||||||
autoflush STDERR 1;
|
autoflush STDERR 1;
|
||||||
|
|
||||||
|
# Guard against unbounded recursive re-entry. Hierarchical / --build flows
|
||||||
|
# legitimately re-enter the wrapper a few levels deep (wrapper -> verilator_bin
|
||||||
|
# -> make -> wrapper -> ...); a misconfigured VERILATOR_BIN, VERILATOR_GDB or
|
||||||
|
# VERILATOR_VALGRIND that points back at this wrapper, however, recurses
|
||||||
|
# without bound and exhausts the OS PID table. Use VERILATOR_RUNNING as a
|
||||||
|
# depth counter and cap it well above any real nesting.
|
||||||
|
my $verilator_running_max = 16;
|
||||||
|
my $verilator_running_depth = ($ENV{VERILATOR_RUNNING} || 0) + 1;
|
||||||
|
if ($verilator_running_depth > $verilator_running_max) {
|
||||||
|
die "%Error: verilator: re-entered $verilator_running_depth levels deep"
|
||||||
|
. " via \$VERILATOR_RUNNING; check that VERILATOR_BIN, VERILATOR_GDB"
|
||||||
|
. " and VERILATOR_VALGRIND do not resolve back to this wrapper script.\n";
|
||||||
|
}
|
||||||
|
$ENV{VERILATOR_RUNNING} = $verilator_running_depth;
|
||||||
|
|
||||||
$Debug = 0;
|
$Debug = 0;
|
||||||
|
my $opt_aslr;
|
||||||
my $opt_gdb;
|
my $opt_gdb;
|
||||||
my $opt_rr;
|
my $opt_rr;
|
||||||
my $opt_gdbbt;
|
my $opt_gdbbt;
|
||||||
@@ -41,6 +57,7 @@ if ($#ARGV < 0) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Insert debugging options up front
|
# Insert debugging options up front
|
||||||
|
# (VERILATOR_TEST_FLAGS is not a documented nor official supported feature)
|
||||||
push @ARGV, (split ' ', $ENV{VERILATOR_TEST_FLAGS} || "");
|
push @ARGV, (split ' ', $ENV{VERILATOR_TEST_FLAGS} || "");
|
||||||
|
|
||||||
# We sneak a look at the flags so we can do some pre-environment checks
|
# We sneak a look at the flags so we can do some pre-environment checks
|
||||||
@@ -56,6 +73,7 @@ if (! GetOptions(
|
|||||||
"debug" => \&debug,
|
"debug" => \&debug,
|
||||||
# "version!" => \&version, # Also passthru'ed
|
# "version!" => \&version, # Also passthru'ed
|
||||||
# Switches
|
# Switches
|
||||||
|
"aslr!" => \$opt_aslr,
|
||||||
"gdb!" => \$opt_gdb,
|
"gdb!" => \$opt_gdb,
|
||||||
"gdbbt!" => \$opt_gdbbt,
|
"gdbbt!" => \$opt_gdbbt,
|
||||||
"quiet!" => \$opt_quiet_exit, # As -quiet implies -quiet-exit
|
"quiet!" => \$opt_quiet_exit, # As -quiet implies -quiet-exit
|
||||||
@@ -97,7 +115,7 @@ my @quoted_sw = map { sh_escape($_) } @Opt_Verilator_Sw;
|
|||||||
if ($opt_gdb) {
|
if ($opt_gdb) {
|
||||||
# Generic GDB interactive
|
# Generic GDB interactive
|
||||||
run (ulimit_stack_unlimited()
|
run (ulimit_stack_unlimited()
|
||||||
. aslr_off()
|
. aslr(0)
|
||||||
. ($ENV{VERILATOR_GDB} || "gdb")
|
. ($ENV{VERILATOR_GDB} || "gdb")
|
||||||
. " " . verilator_bin()
|
. " " . verilator_bin()
|
||||||
# Note, uncomment to set breakpoints before running:
|
# Note, uncomment to set breakpoints before running:
|
||||||
@@ -114,13 +132,13 @@ if ($opt_gdb) {
|
|||||||
} elsif ($opt_rr) {
|
} elsif ($opt_rr) {
|
||||||
# Record with rr
|
# Record with rr
|
||||||
run (ulimit_stack_unlimited()
|
run (ulimit_stack_unlimited()
|
||||||
. aslr_off()
|
. aslr(0)
|
||||||
. "rr record " . verilator_bin()
|
. "rr record " . verilator_bin()
|
||||||
. " " . join(' ', @quoted_sw));
|
. " " . join(' ', @quoted_sw));
|
||||||
} elsif ($opt_gdbbt && $Debug) {
|
} elsif ($opt_gdbbt && $Debug) {
|
||||||
# Run under GDB to get gdbbt
|
# Run under GDB to get gdbbt
|
||||||
run (ulimit_stack_unlimited()
|
run (ulimit_stack_unlimited()
|
||||||
. aslr_off()
|
. aslr(0)
|
||||||
. "gdb"
|
. "gdb"
|
||||||
. " " . verilator_bin()
|
. " " . verilator_bin()
|
||||||
. " --batch --quiet --return-child-result"
|
. " --batch --quiet --return-child-result"
|
||||||
@@ -130,24 +148,24 @@ if ($opt_gdb) {
|
|||||||
} elsif ($opt_valgrind) {
|
} elsif ($opt_valgrind) {
|
||||||
# Run under valgrind
|
# Run under valgrind
|
||||||
my $valgrind_bin = ($ENV{VERILATOR_VALGRIND} || "valgrind --error-exitcode=1 --max-stackframe=2815880"
|
my $valgrind_bin = ($ENV{VERILATOR_VALGRIND} || "valgrind --error-exitcode=1 --max-stackframe=2815880"
|
||||||
# Magic number sugested by valgrind, may need to be increased in future
|
# Magic number suggested by Valgrind, may need to be increased in future
|
||||||
# if you get warnings. See: https://valgrind.org/docs/manual/manual-core.html#opt.max-stackframe
|
# if you get warnings. See: https://valgrind.org/docs/manual/manual-core.html#opt.max-stackframe
|
||||||
);
|
);
|
||||||
|
|
||||||
run (ulimit_stack_unlimited()
|
run (ulimit_stack_unlimited()
|
||||||
. aslr_off()
|
. aslr(0)
|
||||||
. $valgrind_bin
|
. $valgrind_bin
|
||||||
. " " . verilator_bin()
|
. " " . verilator_bin()
|
||||||
. " " . join(' ', @quoted_sw));
|
. " " . join(' ', @quoted_sw));
|
||||||
} elsif ($Debug) {
|
} elsif ($Debug) {
|
||||||
# Debug
|
# Debug
|
||||||
run(ulimit_stack_unlimited()
|
run(ulimit_stack_unlimited()
|
||||||
. aslr_off()
|
. aslr(0)
|
||||||
. verilator_bin()
|
. verilator_bin()
|
||||||
. " " . join(' ', @quoted_sw));
|
. " " . join(' ', @quoted_sw));
|
||||||
} else {
|
} else {
|
||||||
# Normal, non gdb
|
# Normal, non-gdb
|
||||||
run(ulimit_stack_unlimited() . verilator_bin() . " " . join(' ', @quoted_sw));
|
run(ulimit_stack_unlimited() . aslr(1) . verilator_bin() . " " . join(' ', @quoted_sw));
|
||||||
}
|
}
|
||||||
|
|
||||||
#----------------------------------------------------------------------
|
#----------------------------------------------------------------------
|
||||||
@@ -192,21 +210,45 @@ sub gdb_works {
|
|||||||
return $status == 0;
|
return $status == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub aslr_off {
|
sub aslr {
|
||||||
my $ok = `setarch --addr-no-randomize echo ok 2>/dev/null` || "";
|
my $want_on = shift;
|
||||||
if ($ok =~ /ok/) {
|
$want_on = $opt_aslr if defined $opt_aslr;
|
||||||
return "setarch --addr-no-randomize ";
|
if (!$want_on) {
|
||||||
} else {
|
my $ok = `setarch --addr-no-randomize echo ok 2>/dev/null` || "";
|
||||||
return "";
|
if ($ok =~ /ok/) {
|
||||||
|
return "setarch --addr-no-randomize ";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
sub ulimit_stack_unlimited {
|
sub ulimit_stack_unlimited {
|
||||||
return "" if !$opt_unlimited_stack;
|
return "" if !$opt_unlimited_stack;
|
||||||
system("ulimit -s unlimited 2>/dev/null");
|
my $limit = "unlimited";
|
||||||
|
# AddressSanitizer doesn't work with 'ulimit -s unlimted'
|
||||||
|
if (`${\(verilator_bin())} --get-supported DEV_ASAN` eq "1\n") {
|
||||||
|
# Use host 'physical memory / #cores / 8' instead
|
||||||
|
if ($^O eq "darwin") {
|
||||||
|
my $membytes = `sysctl -n hw.memsize`;
|
||||||
|
chomp $membytes;
|
||||||
|
my $ncpu = `sysctl -n hw.ncpu`;
|
||||||
|
chomp $ncpu;
|
||||||
|
$limit = int(int($membytes / 1024) / $ncpu / 8);
|
||||||
|
} else {
|
||||||
|
open(my $fh, "<", "/proc/meminfo") || die "Can't read host memory for asan";
|
||||||
|
while (<$fh>) {
|
||||||
|
if (m/MemTotal:\s+(\d+)\s+kB/) {
|
||||||
|
$limit = int(int($1)/`nproc`/8);
|
||||||
|
last;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close($fh);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
system("ulimit -s $limit 2>/dev/null");
|
||||||
my $status = $?;
|
my $status = $?;
|
||||||
if ($status == 0) {
|
if ($status == 0) {
|
||||||
return "ulimit -s unlimited 2>/dev/null; exec ";
|
return "ulimit -s $limit 2>/dev/null; exec ";
|
||||||
} else {
|
} else {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
@@ -227,17 +269,18 @@ sub run {
|
|||||||
warn "%Error: export VERILATOR_ROOT=" . ($ENV{VERILATOR_ROOT} || "") . "\n";
|
warn "%Error: export VERILATOR_ROOT=" . ($ENV{VERILATOR_ROOT} || "") . "\n";
|
||||||
warn "%Error: $command\n";
|
warn "%Error: $command\n";
|
||||||
}
|
}
|
||||||
if ($status & 127) {
|
my $signal = ($status & 127);
|
||||||
if (($status & 127) == 4 # SIGILL
|
if ($signal) {
|
||||||
|| ($status & 127) == 8 # SIGFPA
|
if ($signal == 4 # SIGILL
|
||||||
|| ($status & 127) == 11) { # SIGSEGV
|
|| $signal == 8 # SIGFPA
|
||||||
|
|| $signal == 11) { # SIGSEGV
|
||||||
warn "%Error: Verilator internal fault, sorry. "
|
warn "%Error: Verilator internal fault, sorry. "
|
||||||
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
||||||
} elsif (($status & 127) == 6) { # SIGABRT
|
} elsif ($signal == 6) { # SIGABRT
|
||||||
warn "%Error: Verilator aborted. "
|
warn "%Error: Verilator aborted. "
|
||||||
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
||||||
} else {
|
} else {
|
||||||
warn "%Error: Verilator threw signal $status. "
|
warn "%Error: Verilator threw signal $signal. "
|
||||||
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
. "Suggest trying --debug --gdbbt\n" if !$Debug;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -245,8 +288,8 @@ sub run {
|
|||||||
warn "%Error: Command Failed $command\n";
|
warn "%Error: Command Failed $command\n";
|
||||||
}
|
}
|
||||||
exit $! if $!; # errno
|
exit $! if $!; # errno
|
||||||
exit $? >> 8 if $? >> 8; # child exit status
|
exit $? >> 8 if $? >> 8; # pass along child exit code
|
||||||
exit 255; # last resort
|
exit 128 + $signal; # last resort
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -256,7 +299,7 @@ sub sh_escape {
|
|||||||
# This is similar to quotemeta() but less aggressive.
|
# This is similar to quotemeta() but less aggressive.
|
||||||
# There's no need to escape hyphens, periods, or forward slashes
|
# There's no need to escape hyphens, periods, or forward slashes
|
||||||
# for the shell as these have no special meaning to the shell.
|
# for the shell as these have no special meaning to the shell.
|
||||||
$arg =~ s/([^0-9a-zA-Z_\-\+\=\.\/])/\\$1/g;
|
$arg =~ s/([^0-9a-zA-Z_\-\+\=\.\/:])/\\$1/g;
|
||||||
return $arg;
|
return $arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -269,8 +312,7 @@ __END__
|
|||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
Verilator - Translate and simulate SystemVerilog code using C++/SystemC
|
Verilator - Lint, compile and simulate SystemVerilog code using C++/SystemC
|
||||||
|
|
||||||
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
@@ -312,8 +354,9 @@ detailed descriptions of these arguments.
|
|||||||
+1800-2012ext+<ext> Use SystemVerilog 2012 with file extension <ext>
|
+1800-2012ext+<ext> Use SystemVerilog 2012 with file extension <ext>
|
||||||
+1800-2017ext+<ext> Use SystemVerilog 2017 with file extension <ext>
|
+1800-2017ext+<ext> Use SystemVerilog 2017 with file extension <ext>
|
||||||
+1800-2023ext+<ext> Use SystemVerilog 2023 with file extension <ext>
|
+1800-2023ext+<ext> Use SystemVerilog 2023 with file extension <ext>
|
||||||
--assert Enable all assertions
|
--no-aslr Disable address space layout randomization
|
||||||
--assert-case Enable unique/unique0/priority case related checks
|
--no-assert Disable all assertions
|
||||||
|
--no-assert-case Disable unique/unique0/priority-case assertions
|
||||||
--autoflush Flush streams after all $displays
|
--autoflush Flush streams after all $displays
|
||||||
--bbox-sys Blackbox unknown $system calls
|
--bbox-sys Blackbox unknown $system calls
|
||||||
--bbox-unsup Blackbox unsupported language features
|
--bbox-unsup Blackbox unsupported language features
|
||||||
@@ -323,12 +366,14 @@ detailed descriptions of these arguments.
|
|||||||
--build-jobs <jobs> Parallelism for --build
|
--build-jobs <jobs> Parallelism for --build
|
||||||
--cc Create C++ output
|
--cc Create C++ output
|
||||||
-CFLAGS <flags> C++ compiler arguments for makefile
|
-CFLAGS <flags> C++ compiler arguments for makefile
|
||||||
--clk <signal-name> Mark specified signal as clock
|
|
||||||
--no-clk <signal-name> Prevent marking specified signal as clock
|
|
||||||
--compiler <compiler-name> Tune for specified C++ compiler
|
--compiler <compiler-name> Tune for specified C++ compiler
|
||||||
--compiler-include Include additional header in the precompiled one
|
--compiler-include Include additional header in the precompiled one
|
||||||
|
--constraint-array-limit <size> Maximum array size for constraint array reduction
|
||||||
--converge-limit <loops> Tune convergence settle time
|
--converge-limit <loops> Tune convergence settle time
|
||||||
--coverage Enable all coverage
|
--coverage Enable all coverage
|
||||||
|
--coverage-expr Enable expression coverage
|
||||||
|
--coverage-expr-max <value> Maximum permutations allowed for an expression
|
||||||
|
--coverage-fsm Enable FSM state/arc coverage
|
||||||
--coverage-line Enable line coverage
|
--coverage-line Enable line coverage
|
||||||
--coverage-max-width <width> Maximum array depth for coverage
|
--coverage-max-width <width> Maximum array depth for coverage
|
||||||
--coverage-toggle Enable toggle coverage
|
--coverage-toggle Enable toggle coverage
|
||||||
@@ -340,24 +385,28 @@ detailed descriptions of these arguments.
|
|||||||
--no-debug-leak Disable leaking memory in --debug mode
|
--no-debug-leak Disable leaking memory in --debug mode
|
||||||
--debugi <level> Enable debugging at a specified level
|
--debugi <level> Enable debugging at a specified level
|
||||||
--debugi-<srcfile> <level> Enable debugging a source file at a level
|
--debugi-<srcfile> <level> Enable debugging a source file at a level
|
||||||
--decorations <level> Set output comment and spacing level
|
|
||||||
--no-decoration Disable comments and lower spacing level
|
--no-decoration Disable comments and lower spacing level
|
||||||
|
--decorations <level> Set output comment and spacing level
|
||||||
--default-language <lang> Default language to parse
|
--default-language <lang> Default language to parse
|
||||||
+define+<var>=<value> Set preprocessor define
|
+define+<var>=<value> Set preprocessor define
|
||||||
|
--diagnostics-sarif Enable SARIF diagnostics output
|
||||||
|
--diagnostics-sarif-output <filename> Set SARIF diagnostics output file
|
||||||
--dpi-hdr-only Only produce the DPI header file
|
--dpi-hdr-only Only produce the DPI header file
|
||||||
|
--dump-<srcfile> Enable dumping everything in source file
|
||||||
--dump-defines Show preprocessor defines with -E
|
--dump-defines Show preprocessor defines with -E
|
||||||
--dump-dfg Enable dumping DfgGraphs to .dot files
|
--dump-dfg Enable dumping DfgGraphs to .dot files
|
||||||
|
--dump-dfg-patterns Enable dumping Dfg pattern statistics
|
||||||
--dump-graph Enable dumping V3Graphs to .dot files
|
--dump-graph Enable dumping V3Graphs to .dot files
|
||||||
|
--dump-inputs Enable dumping preprocessed input files
|
||||||
--dump-tree Enable dumping Ast .tree files
|
--dump-tree Enable dumping Ast .tree files
|
||||||
--dump-tree-addrids Use short identifiers instead of addresses
|
--dump-tree-addrids Use short identifiers instead of addresses
|
||||||
--dump-tree-dot Enable dumping Ast .tree.dot debug files
|
--dump-tree-dot Enable dumping Ast .tree.dot debug files
|
||||||
--dump-tree-json Enable dumping Ast .tree.json files and .tree.meta.json file
|
--dump-tree-json Enable dumping Ast .tree.json files and .tree.meta.json file
|
||||||
--dump-<srcfile> Enable dumping everything in source file
|
--dumpi-<srcfile> <level> Enable dumping everything in source file at level
|
||||||
--dumpi-dfg <level> Enable dumping DfgGraphs to .dot files at level
|
--dumpi-dfg <level> Enable dumping DfgGraphs to .dot files at level
|
||||||
--dumpi-graph <level> Enable dumping V3Graphs to .dot files at level
|
--dumpi-graph <level> Enable dumping V3Graphs to .dot files at level
|
||||||
--dumpi-tree <level> Enable dumping Ast .tree files at level
|
--dumpi-tree <level> Enable dumping Ast .tree files at level
|
||||||
--dumpi-tree-json <level> Enable dumping Ast .tree.json files at level
|
--dumpi-tree-json <level> Enable dumping Ast .tree.json files at level
|
||||||
--dumpi-<srcfile> <level> Enable dumping everything in source file at level
|
|
||||||
-E Preprocess, but do not compile
|
-E Preprocess, but do not compile
|
||||||
--emit-accessors Emit getter and setter methods for model top class
|
--emit-accessors Emit getter and setter methods for model top class
|
||||||
--error-limit <value> Abort after this number of errors
|
--error-limit <value> Abort after this number of errors
|
||||||
@@ -367,6 +416,7 @@ detailed descriptions of these arguments.
|
|||||||
-f <file> Parse arguments from a file
|
-f <file> Parse arguments from a file
|
||||||
-FI <file> Force include of a file
|
-FI <file> Force include of a file
|
||||||
--flatten Force inlining of all modules, tasks and functions
|
--flatten Force inlining of all modules, tasks and functions
|
||||||
|
--func-recursion-depth <value> Maximum recursive constant function depth
|
||||||
--future0 <option> Ignore an option for compatibility
|
--future0 <option> Ignore an option for compatibility
|
||||||
--future1 <option> Ignore an option with argument for compatibility
|
--future1 <option> Ignore an option with argument for compatibility
|
||||||
-fno-<optimization> Disable internal optimization stage
|
-fno-<optimization> Disable internal optimization stage
|
||||||
@@ -375,38 +425,52 @@ detailed descriptions of these arguments.
|
|||||||
--gdb Run Verilator under GDB interactively
|
--gdb Run Verilator under GDB interactively
|
||||||
--gdbbt Run Verilator under GDB for backtrace
|
--gdbbt Run Verilator under GDB for backtrace
|
||||||
--generate-key Create random key for --protect-key
|
--generate-key Create random key for --protect-key
|
||||||
--getenv <var> Get environment variable with defaults
|
|
||||||
--get-supported <feature> Get if feature is supported
|
--get-supported <feature> Get if feature is supported
|
||||||
|
--getenv <var> Get environment variable with defaults
|
||||||
--help Show this help
|
--help Show this help
|
||||||
--hierarchical Enable hierarchical Verilation
|
--hierarchical Enable hierarchical Verilation
|
||||||
--hierarchical-params-file <name> Internal option that specifies parameters file for hier blocks
|
--hierarchical-block <block> Internal use only for --hierarchical
|
||||||
|
--hierarchical-child <block> Internal use only for --hierarchical
|
||||||
|
--hierarchical-params-file <name> Internal option that specifies parameters file for hier blocks
|
||||||
|
--hierarchical-threads <threads> Number of threads for hierarchical scheduling
|
||||||
-I<dir> Directory to search for includes
|
-I<dir> Directory to search for includes
|
||||||
--if-depth <value> Tune IFDEPTH warning
|
--if-depth <value> Tune IFDEPTH warning
|
||||||
+incdir+<dir> Directory to search for includes
|
+incdir+<dir> Directory to search for includes
|
||||||
|
--inline-cfuncs <value> Inline CFuncs with <=value nodes (0=off)
|
||||||
|
--inline-cfuncs-product <value> Inline CFuncs if size*calls <= value
|
||||||
--inline-mult <value> Tune module inlining
|
--inline-mult <value> Tune module inlining
|
||||||
--instr-count-dpi <value> Assumed dynamic instruction count of DPI imports
|
--instr-count-dpi <value> Assumed dynamic instruction count of DPI imports
|
||||||
-j <jobs> Parallelism for --build-jobs/--verilate-jobs
|
-j <jobs> Parallelism for --build-jobs/--verilate-jobs
|
||||||
|
--no-json-edit-nums Don't dump editNum in .tree.json files
|
||||||
|
--no-json-ids Don't use short identifiers instead of addresses/paths in .tree.json
|
||||||
|
--json-only Create JSON parser output (.tree.json and .meta.json)
|
||||||
|
--json-only-meta-output <filename> Set .tree.meta.json output filename
|
||||||
|
--json-only-output <filename> Set .tree.json output filename
|
||||||
--l2-name <value> Verilog scope name of the top module
|
--l2-name <value> Verilog scope name of the top module
|
||||||
--language <lang> Default language standard to parse
|
--language <lang> Default language standard to parse
|
||||||
-LDFLAGS <flags> Linker pre-object arguments for makefile
|
-LDFLAGS <flags> Linker pre-object arguments for makefile
|
||||||
|
-libmap Specify library mapping file
|
||||||
--lib-create <name> Create a DPI library
|
--lib-create <name> Create a DPI library
|
||||||
+libext+<ext>+[ext]... Extensions for finding modules
|
+libext+<ext>+[ext]... Extensions for finding modules
|
||||||
|
+librescan Ignored for compatibility
|
||||||
--lint-only Lint, but do not make output
|
--lint-only Lint, but do not make output
|
||||||
--localize-max-size <value> Tune localize optimization variable size
|
--localize-max-size <value> Tune localize optimization variable size
|
||||||
--make <build-tool> Generate scripts for specified build tool
|
|
||||||
-MAKEFLAGS <flags> Arguments to pass to make during --build
|
|
||||||
--main Generate C++ main() file
|
--main Generate C++ main() file
|
||||||
--main-top-name Specify top name passed to Verilated model in generated C++ main
|
--main-top-name Specify top name passed to Verilated model in generated C++ main
|
||||||
|
--make <build-tool> Generate scripts for specified build tool
|
||||||
|
-MAKEFLAGS <flags> Arguments to pass to make during --build
|
||||||
--max-num-width <value> Maximum number width (default: 64K)
|
--max-num-width <value> Maximum number width (default: 64K)
|
||||||
--Mdir <directory> Name of output object directory
|
--Mdir <directory> Name of output object directory
|
||||||
--MMD Create .d dependency files
|
--MMD Create .d dependency files
|
||||||
--mod-prefix <topname> Name to prepend to lower classes
|
--mod-prefix <topname> Name to prepend to lower classes
|
||||||
--MP Create phony dependency targets
|
--MP Create phony dependency targets
|
||||||
+notimingchecks Ignored
|
+notimingchecks Ignored
|
||||||
|
-o <executable> Name of final executable
|
||||||
-O0 Disable optimizations
|
-O0 Disable optimizations
|
||||||
|
-O1 Default optimizations
|
||||||
|
-O2 Stronger optimizations
|
||||||
-O3 High-performance optimizations
|
-O3 High-performance optimizations
|
||||||
-O<optimization-letter> Selectable optimizations
|
-O<optimization-letter> Selectable optimizations
|
||||||
-o <executable> Name of final executable
|
|
||||||
--output-groups <numfiles> Group .cpp files into larger ones
|
--output-groups <numfiles> Group .cpp files into larger ones
|
||||||
--output-split <statements> Split .cpp files into pieces
|
--output-split <statements> Split .cpp files into pieces
|
||||||
--output-split-cfuncs <statements> Split model functions
|
--output-split-cfuncs <statements> Split model functions
|
||||||
@@ -420,8 +484,11 @@ detailed descriptions of these arguments.
|
|||||||
--pins-uint8 Specify types for top-level ports
|
--pins-uint8 Specify types for top-level ports
|
||||||
--no-pins64 Don't use uint64_t's for 33-64 bit sigs
|
--no-pins64 Don't use uint64_t's for 33-64 bit sigs
|
||||||
--pipe-filter <command> Filter all input through a script
|
--pipe-filter <command> Filter all input through a script
|
||||||
--pp-comments Show preprocessor comments with -E
|
|
||||||
--prefix <topname> Name of top-level class
|
--prefix <topname> Name of top-level class
|
||||||
|
--preproc-comments Include preprocessor comments in the output with -E
|
||||||
|
--preproc-defines Include preprocessor defines in the output with -E
|
||||||
|
--preproc-resolve Include all found modules in the output with -E
|
||||||
|
--preproc-token-limit Maximum tokens on a line allowed by preprocessor
|
||||||
--private Debugging; see docs
|
--private Debugging; see docs
|
||||||
--prof-c Compile C++ code with profiling
|
--prof-c Compile C++ code with profiling
|
||||||
--prof-cfuncs Name functions for profiling
|
--prof-cfuncs Name functions for profiling
|
||||||
@@ -432,62 +499,70 @@ detailed descriptions of these arguments.
|
|||||||
--protect-lib <name> Create a DPI protected library
|
--protect-lib <name> Create a DPI protected library
|
||||||
--public Mark signals as public; see docs
|
--public Mark signals as public; see docs
|
||||||
--public-depth <level> Mark public to specified module depth
|
--public-depth <level> Mark public to specified module depth
|
||||||
--public-params Mark all parameters as public_flat
|
|
||||||
--public-flat-rw Mark all variables, etc as public_flat_rw
|
--public-flat-rw Mark all variables, etc as public_flat_rw
|
||||||
|
--public-ignore Ignore all public comment markings
|
||||||
|
--public-params Mark all parameters as public_flat
|
||||||
-pvalue+<name>=<value> Overwrite toplevel parameter
|
-pvalue+<name>=<value> Overwrite toplevel parameter
|
||||||
--quiet Minimize additional printing
|
--quiet Minimize additional printing
|
||||||
|
--quiet-build Don't print build progress
|
||||||
--quiet-exit Don't print the command on failure
|
--quiet-exit Don't print the command on failure
|
||||||
--quiet-stats Don't print statistics
|
--quiet-stats Don't print statistics
|
||||||
--relative-includes Resolve includes relative to current file
|
--relative-includes Resolve includes relative to current file
|
||||||
--reloop-limit Minimum iterations for forming loops
|
--reloop-limit <value> Minimum iterations for forming loops
|
||||||
|
--replication-limit <value> Replication concatenation limit (default: 8k)
|
||||||
--report-unoptflat Extra diagnostics for UNOPTFLAT
|
--report-unoptflat Extra diagnostics for UNOPTFLAT
|
||||||
--rr Run Verilator and record with rr
|
--rr Run Verilator and record with rr
|
||||||
--runtime-debug Enable model runtime debugging
|
--runtime-debug Enable model runtime debugging
|
||||||
--savable Enable model save-restore
|
--savable Enable model save-restore
|
||||||
--sc Create SystemC output
|
--sc Create SystemC output
|
||||||
|
--sched-zero-delay Specify #0 delay support
|
||||||
--no-skip-identical Disable skipping identical output
|
--no-skip-identical Disable skipping identical output
|
||||||
--stats Create statistics file
|
--stats Create statistics file
|
||||||
--stats-vars Provide statistics on variables
|
--stats-vars Provide statistics on variables
|
||||||
--no-std Prevent parsing standard library
|
--no-std Prevent loading standard files
|
||||||
|
--no-std-package Prevent parsing standard package
|
||||||
|
--no-std-waiver Prevent parsing standard lint waivers
|
||||||
--no-stop-fail Do not call $stop when assertion fails
|
--no-stop-fail Do not call $stop when assertion fails
|
||||||
--structs-packed Convert all unpacked structures to packed structures
|
|
||||||
-sv Enable SystemVerilog parsing
|
-sv Enable SystemVerilog parsing
|
||||||
+systemverilogext+<ext> Synonym for +1800-2023ext+<ext>
|
+systemverilogext+<ext> Synonym for +1800-2023ext+<ext>
|
||||||
--threads <threads> Enable multithreading
|
--threads <threads> Enable multithreading
|
||||||
--threads-dpi <mode> Enable multithreaded DPI
|
--threads-dpi <mode> Enable multithreaded DPI
|
||||||
--threads-max-mtasks <mtasks> Tune maximum mtask partitioning
|
--threads-max-mtasks <mtasks> Tune maximum mtask partitioning
|
||||||
--timing Enable timing support
|
|
||||||
--no-timing Disable timing support
|
|
||||||
--timescale <timescale> Sets default timescale
|
--timescale <timescale> Sets default timescale
|
||||||
--timescale-override <timescale> Overrides all timescales
|
--timescale-override <timescale> Overrides all timescales
|
||||||
|
--timing Enable timing support
|
||||||
|
--no-timing Disable timing support
|
||||||
--top <topname> Alias of --top-module
|
--top <topname> Alias of --top-module
|
||||||
--top-module <topname> Name of top-level input module
|
--top-module <topname> Name of top-level input module
|
||||||
--trace Enable waveform creation
|
--trace Enable VCD waveform creation
|
||||||
--trace-coverage Enable tracing of coverage
|
--trace-coverage Enable tracing of coverage
|
||||||
--trace-depth <levels> Depth of tracing
|
--trace-depth <levels> Depth of tracing
|
||||||
--trace-fst Enable FST waveform creation
|
--trace-fst Enable FST waveform creation
|
||||||
--trace-max-array <depth> Maximum array depth for tracing
|
--trace-max-array <depth> Maximum array depth for tracing
|
||||||
--trace-max-width <width> Maximum bit width for tracing
|
--trace-max-width <width> Maximum bit width for tracing
|
||||||
--trace-params Enable tracing of parameters
|
--trace-params Enable tracing of parameters
|
||||||
|
--trace-saif Enable SAIF file creation
|
||||||
--trace-structs Enable tracing structure names
|
--trace-structs Enable tracing structure names
|
||||||
--trace-threads <threads> Enable FST waveform creation on separate threads
|
|
||||||
--no-trace-top Do not emit traces for signals in the top module generated by verilator
|
--no-trace-top Do not emit traces for signals in the top module generated by verilator
|
||||||
--trace-underscore Enable tracing of _signals
|
--trace-underscore Enable tracing of _signals
|
||||||
|
--trace-vcd Enable VCD waveform creation
|
||||||
-U<var> Undefine preprocessor define
|
-U<var> Undefine preprocessor define
|
||||||
--no-unlimited-stack Don't disable stack size limit
|
--no-unlimited-stack Don't disable stack size limit
|
||||||
--unroll-count <loops> Tune maximum loop iterations
|
--unroll-count <loops> Tune maximum loop iterations
|
||||||
|
--unroll-limit <loops> Maximum loop iterations before assuming infinite loop
|
||||||
--unroll-stmts <stmts> Tune maximum loop body size
|
--unroll-stmts <stmts> Tune maximum loop body size
|
||||||
--unused-regexp <regexp> Tune UNUSED lint signals
|
--unused-regexp <regexp> Tune UNUSED lint signals
|
||||||
-V Verbose version and config
|
-V Verbose version and config
|
||||||
-v <filename> Verilog library
|
-v <filename> Verilog library
|
||||||
--valgrind Run Verilator under valgrind
|
--valgrind Run Verilator under valgrind
|
||||||
--verilate-jobs Job threads for Verilation stage
|
|
||||||
--no-verilate Skip Verilation and just compile previously Verilated code
|
--no-verilate Skip Verilation and just compile previously Verilated code
|
||||||
|
--verilate-jobs Job threads for Verilation stage
|
||||||
+verilog1995ext+<ext> Synonym for +1364-1995ext+<ext>
|
+verilog1995ext+<ext> Synonym for +1364-1995ext+<ext>
|
||||||
+verilog2001ext+<ext> Synonym for +1364-2001ext+<ext>
|
+verilog2001ext+<ext> Synonym for +1364-2001ext+<ext>
|
||||||
--version Show program version and exits
|
--version Show program version and exits
|
||||||
--vpi Enable VPI compiles
|
--vpi Enable VPI compiles
|
||||||
--waiver-output <filename> Create a waiver file based on the linter warnings
|
--waiver-multiline Create multiline --match for waivers
|
||||||
|
--waiver-output <filename> Create a waiver file based on linter warnings
|
||||||
-Wall Enable all style warnings
|
-Wall Enable all style warnings
|
||||||
-Werror-<message> Convert warnings to errors
|
-Werror-<message> Convert warnings to errors
|
||||||
-Wfuture-<message> Disable unknown message warnings
|
-Wfuture-<message> Disable unknown message warnings
|
||||||
@@ -496,6 +571,7 @@ detailed descriptions of these arguments.
|
|||||||
-Wno-fatal Disable fatal exit on warnings
|
-Wno-fatal Disable fatal exit on warnings
|
||||||
-Wno-lint Disable all lint warnings
|
-Wno-lint Disable all lint warnings
|
||||||
-Wno-style Disable all style warnings
|
-Wno-style Disable all style warnings
|
||||||
|
-work <libname> Set config library for following files
|
||||||
-Wpedantic Warn on compliance-test issues
|
-Wpedantic Warn on compliance-test issues
|
||||||
-Wwarn-<message> Enable specified warning message
|
-Wwarn-<message> Enable specified warning message
|
||||||
-Wwarn-lint Enable lint warning message
|
-Wwarn-lint Enable lint warning message
|
||||||
@@ -503,13 +579,6 @@ detailed descriptions of these arguments.
|
|||||||
--x-assign <mode> Assign non-initial Xs to this value
|
--x-assign <mode> Assign non-initial Xs to this value
|
||||||
--x-initial <mode> Assign initial Xs to this value
|
--x-initial <mode> Assign initial Xs to this value
|
||||||
--x-initial-edge Enable initial X->0 and X->1 edge triggers
|
--x-initial-edge Enable initial X->0 and X->1 edge triggers
|
||||||
--no-json-edit-nums Don't dump editNum in .tree.json files
|
|
||||||
--no-json-ids Don't use short identifiers instead of adresses/paths in .tree.json
|
|
||||||
--json-only Create JSON parser output (.tree.json and .meta.json)
|
|
||||||
--json-only-output .tree.json output filename
|
|
||||||
--json-only-meta-output .tree.meta.json output filename
|
|
||||||
--xml-only Create XML parser output
|
|
||||||
--xml-output XML output filename
|
|
||||||
-y <dir> Directory to search for modules
|
-y <dir> Directory to search for modules
|
||||||
|
|
||||||
This is a short summary of the simulation runtime arguments, i.e. for the
|
This is a short summary of the simulation runtime arguments, i.e. for the
|
||||||
@@ -519,9 +588,9 @@ description of these arguments.
|
|||||||
|
|
||||||
=for VL_SPHINX_EXTRACT "_build/gen/args_verilated.rst"
|
=for VL_SPHINX_EXTRACT "_build/gen/args_verilated.rst"
|
||||||
|
|
||||||
|
+verilator+coverage+file+<filename> Set coverage output filename
|
||||||
+verilator+debug Enable debugging
|
+verilator+debug Enable debugging
|
||||||
+verilator+debugi+<value> Enable debugging at a level
|
+verilator+debugi+<value> Enable debugging at a level
|
||||||
+verilator+coverage+file+<filename> Set coverage output filename
|
|
||||||
+verilator+error+limit+<value> Set error limit
|
+verilator+error+limit+<value> Set error limit
|
||||||
+verilator+help Show help
|
+verilator+help Show help
|
||||||
+verilator+noassert Disable assert checking
|
+verilator+noassert Disable assert checking
|
||||||
@@ -532,15 +601,17 @@ description of these arguments.
|
|||||||
+verilator+quiet Minimize additional printing
|
+verilator+quiet Minimize additional printing
|
||||||
+verilator+rand+reset+<value> Set random reset technique
|
+verilator+rand+reset+<value> Set random reset technique
|
||||||
+verilator+seed+<value> Set random seed
|
+verilator+seed+<value> Set random seed
|
||||||
|
+verilator+solver+file+<filename> Set random solver log filename
|
||||||
+verilator+V Show verbose version and config
|
+verilator+V Show verbose version and config
|
||||||
+verilator+version Show version and exit
|
+verilator+version Show version and exit
|
||||||
|
+verilator+wno+unsatconstr+<value> Disable constraint warnings
|
||||||
|
|
||||||
|
|
||||||
=head1 DISTRIBUTION
|
=head1 DISTRIBUTION
|
||||||
|
|
||||||
The latest version is available from L<https://verilator.org>.
|
The latest version is available from L<https://verilator.org>.
|
||||||
|
|
||||||
Copyright 2003-2024 by Wilson Snyder. This program is free software; you can
|
Copyright 2003-2026 by Wilson Snyder. This program is free software; you can
|
||||||
redistribute it and/or modify the Verilator internals under the terms of
|
redistribute it and/or modify the Verilator internals under the terms of
|
||||||
either the GNU Lesser General Public License Version 3 or the Perl Artistic
|
either the GNU Lesser General Public License Version 3 or the Perl Artistic
|
||||||
License Version 2.0.
|
License Version 2.0.
|
||||||
|
|||||||
+38
-38
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# mypy: disallow-untyped-defs
|
||||||
# pylint: disable=C0103,C0114,C0115,C0116,C0123,C0209,C0301,R0902,R0913,R0914,R0912,R0915,W0621
|
# pylint: disable=C0103,C0114,C0115,C0116,C0123,C0209,C0301,R0902,R0913,R0914,R0912,R0915,W0621
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
@@ -16,18 +17,15 @@ parser = argparse.ArgumentParser(
|
|||||||
|
|
||||||
For documentation see
|
For documentation see
|
||||||
https://verilator.org/guide/latest/exe_verilator_ccache_report.html""",
|
https://verilator.org/guide/latest/exe_verilator_ccache_report.html""",
|
||||||
epilog="""Copyright 2002-2024 by Wilson Snyder. This program is free software; you
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
can redistribute it and/or modify it under the terms of either the GNU
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
or the Perl Artistic License Version 2.0.
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
SPDX-FileCopyrightText: 2002-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('-o',
|
parser.add_argument('-o', type=pathlib.Path, metavar="OUTFILE", required=True, help='output file')
|
||||||
type=argparse.FileType('w'),
|
|
||||||
metavar="OUTFILE",
|
|
||||||
required=True,
|
|
||||||
help='output file')
|
|
||||||
parser.add_argument('logdir', type=pathlib.Path, help='log directory')
|
parser.add_argument('logdir', type=pathlib.Path, help='log directory')
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
@@ -36,7 +34,7 @@ results = {}
|
|||||||
elapsed = {}
|
elapsed = {}
|
||||||
|
|
||||||
|
|
||||||
def toDateTime(s):
|
def toDateTime(s: str) -> datetime:
|
||||||
return datetime.strptime(s, "%Y-%m-%dT%H:%M:%S.%f")
|
return datetime.strptime(s, "%Y-%m-%dT%H:%M:%S.%f")
|
||||||
|
|
||||||
|
|
||||||
@@ -53,37 +51,39 @@ for logfile in args.logdir.iterdir():
|
|||||||
match = re.match(r'\[(\S+)\s.*Result: (.*)$', line)
|
match = re.match(r'\[(\S+)\s.*Result: (.*)$', line)
|
||||||
if match:
|
if match:
|
||||||
assert obj is not None
|
assert obj is not None
|
||||||
|
assert start is not None
|
||||||
elapsed[obj] = toDateTime(match.group(1)) - start
|
elapsed[obj] = toDateTime(match.group(1)) - start
|
||||||
results[obj] = match.group(2)
|
results[obj] = match.group(2)
|
||||||
|
|
||||||
args.o.write("#" * 80 + "\n")
|
with args.o.open("w") as ofd:
|
||||||
args.o.write("ccache report (from verilator_ccache_report) :\n")
|
ofd.write("#" * 80 + "\n")
|
||||||
|
ofd.write("ccache report (from verilator_ccache_report) :\n")
|
||||||
|
|
||||||
if not results:
|
if not results:
|
||||||
args.o.write("\nAll object files up to date\n")
|
ofd.write("\nAll object files up to date\n")
|
||||||
else:
|
else:
|
||||||
args.o.write("\nCompiled object files:\n")
|
ofd.write("\nCompiled object files:\n")
|
||||||
wnames = max(len(_) for _ in results) + 1
|
wnames = max(len(_) for _ in results) + 1
|
||||||
wresults = max(len(_) for _ in results.values()) + 1
|
wresults = max(len(_) for _ in results.values()) + 1
|
||||||
for k in sorted(results.keys()):
|
for k in sorted(results.keys()):
|
||||||
args.o.write("{:{wnames}} : {:{wresults}} : {}s\n".format(k,
|
ofd.write("{:{wnames}} : {:{wresults}} : {}s\n".format(k,
|
||||||
results[k],
|
results[k],
|
||||||
elapsed[k].total_seconds(),
|
elapsed[k].total_seconds(),
|
||||||
wnames=wnames,
|
wnames=wnames,
|
||||||
wresults=wresults))
|
wresults=wresults))
|
||||||
|
|
||||||
args.o.write("\nSummary:\n")
|
ofd.write("\nSummary:\n")
|
||||||
counts = collections.Counter(_ for _ in results.values())
|
counts = collections.Counter(_ for _ in results.values())
|
||||||
total = sum(counts.values())
|
total = sum(counts.values())
|
||||||
for k in sorted(counts.keys()):
|
for k in sorted(counts.keys()):
|
||||||
c = counts[k]
|
c = counts[k]
|
||||||
args.o.write("{:{width}}| {} ({:.2%})\n".format(k, c, c / total, width=wresults))
|
ofd.write("{:{width}}| {} ({:.2%})\n".format(k, c, c / total, width=wresults))
|
||||||
|
|
||||||
args.o.write("\nLongest:\n")
|
ofd.write("\nLongest:\n")
|
||||||
longest = sorted(list(elapsed.items()), key=lambda kv: -kv[1].total_seconds())
|
longest = sorted(list(elapsed.items()), key=lambda kv: -kv[1].total_seconds())
|
||||||
for i, (k, v) in enumerate(longest):
|
for i, (k, v) in enumerate(longest):
|
||||||
args.o.write("{:{width}}| {}s\n".format(k, v.total_seconds(), width=wnames))
|
ofd.write("{:{width}}| {}s\n".format(k, v.total_seconds(), width=wnames))
|
||||||
if i > 4:
|
if i > 4:
|
||||||
break
|
break
|
||||||
|
|
||||||
args.o.write("#" * 80 + "\n")
|
ofd.write("#" * 80 + "\n")
|
||||||
|
|||||||
+18
-12
@@ -1,10 +1,10 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
######################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2025-2026 Wilson Snyder
|
||||||
#
|
#
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
@@ -52,7 +52,7 @@ if (! GetOptions (
|
|||||||
pod2usage(-exitstatus => 2, -verbose => 0);
|
pod2usage(-exitstatus => 2, -verbose => 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
# Normal, non gdb
|
# Normal, non-gdb
|
||||||
run(verilator_coverage_bin()
|
run(verilator_coverage_bin()
|
||||||
. " " . join(' ', @Opt_Verilator_Sw));
|
. " " . join(' ', @Opt_Verilator_Sw));
|
||||||
|
|
||||||
@@ -118,21 +118,24 @@ sub run {
|
|||||||
warn "%Error: export VERILATOR_ROOT=" . ($ENV{VERILATOR_ROOT} || "") . "\n";
|
warn "%Error: export VERILATOR_ROOT=" . ($ENV{VERILATOR_ROOT} || "") . "\n";
|
||||||
warn "%Error: $command\n";
|
warn "%Error: $command\n";
|
||||||
}
|
}
|
||||||
if ($status & 127) {
|
my $signal = ($status & 127);
|
||||||
if (($status & 127) == 8 || ($status & 127) == 11) { # SIGFPA or SIGSEGV
|
if ($signal) {
|
||||||
|
if ($signal == 4 # SIGILL
|
||||||
|
|| $signal == 8 # SIGFPA
|
||||||
|
|| $signal == 11) { # SIGSEGV
|
||||||
warn "%Error: Verilator_coverage internal fault, sorry.\n" if !$Debug;
|
warn "%Error: Verilator_coverage internal fault, sorry.\n" if !$Debug;
|
||||||
} elsif (($status & 127) == 6) { # SIGABRT
|
} elsif ($signal == 6) { # SIGABRT
|
||||||
warn "%Error: Verilator_coverage aborted.\n" if !$Debug;
|
warn "%Error: Verilator_coverage aborted.\n" if !$Debug;
|
||||||
} else {
|
} else {
|
||||||
warn "%Error: Verilator_coverage threw signal $status.\n" if !$Debug;
|
warn "%Error: Verilator_coverage threw signal $signal.\n" if !$Debug;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($status != 256 || $Debug) { # i.e. not normal exit(1)
|
if ($status != 256 || $Debug) { # i.e. not normal exit(1)
|
||||||
warn "%Error: Command Failed $command\n";
|
warn "%Error: Command Failed $command\n";
|
||||||
}
|
}
|
||||||
exit $! if $!; # errno
|
exit $! if $!; # errno
|
||||||
exit $? >> 8 if $? >> 8; # child exit status
|
exit $? >> 8 if $? >> 8; # pass along child exit code
|
||||||
exit 255; # last resort
|
exit 128 + $signal; # last resort
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -170,7 +173,9 @@ L<https://verilator.org/guide/latest/exe_verilator_coverage.html>.
|
|||||||
--annotate-all All files should be shown.
|
--annotate-all All files should be shown.
|
||||||
--annotate-min <count> Minimum occurrence count for uncovered.
|
--annotate-min <count> Minimum occurrence count for uncovered.
|
||||||
--annotate-points Annotates info from each coverage point.
|
--annotate-points Annotates info from each coverage point.
|
||||||
|
--filter-type <regex> Keep only records of given coverage type.
|
||||||
--help Displays this message and version and exits.
|
--help Displays this message and version and exits.
|
||||||
|
--include-reset-arcs Include reset arcs in FSM arc summaries.
|
||||||
--rank Compute relative importance of tests.
|
--rank Compute relative importance of tests.
|
||||||
--unlink With --write, unlink all inputs
|
--unlink With --write, unlink all inputs
|
||||||
--version Displays program version and exits.
|
--version Displays program version and exits.
|
||||||
@@ -188,11 +193,12 @@ L<https://verilator.org/guide/latest/exe_verilator_coverage.html>.
|
|||||||
|
|
||||||
The latest version is available from L<https://verilator.org>.
|
The latest version is available from L<https://verilator.org>.
|
||||||
|
|
||||||
Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
Copyright 2003-2026 by Wilson Snyder. This program is free software; you
|
||||||
can redistribute it and/or modify the Verilator internals under the terms
|
can redistribute it and/or modify the Verilator internals under the terms
|
||||||
of either the GNU Lesser General Public License Version 3 or the Perl
|
of either the GNU Lesser General Public License Version 3 or the Perl
|
||||||
Artistic License Version 2.0.
|
Artistic License Version 2.0.
|
||||||
|
|
||||||
|
SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
=head1 SEE ALSO
|
=head1 SEE ALSO
|
||||||
|
|||||||
+32
-28
@@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# pylint: disable=C0103,C0114,C0116,C0209
|
# mypy: disallow-untyped-defs
|
||||||
|
# pylint: disable=C0103,C0114,C0116,C0209,W0603
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
@@ -9,25 +10,29 @@ import os.path
|
|||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
exit_code = 0
|
||||||
|
|
||||||
def diff(a, b):
|
|
||||||
|
|
||||||
|
def diff(a: str, b: str) -> None:
|
||||||
if not os.path.exists(a):
|
if not os.path.exists(a):
|
||||||
sys.exit("%Error: No old diff filename found: " + a)
|
sys.stderr.write("%Error: No old diff filename found: " + a + "\n")
|
||||||
|
sys.exit(2)
|
||||||
if not os.path.exists(b):
|
if not os.path.exists(b):
|
||||||
sys.exit("%Error: No new diff filename found: " + b)
|
sys.stderr.write("%Error: No new diff filename found: " + b + "\n")
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
if os.path.isdir(a) and os.path.isdir(b):
|
if os.path.isdir(a) and os.path.isdir(b):
|
||||||
diff_dir(a, b)
|
diff_dir(a, b)
|
||||||
elif os.path.isfile(a) and os.path.isfile(b):
|
elif os.path.isfile(a) and os.path.isfile(b):
|
||||||
diff_file(a, b)
|
diff_file(a, b)
|
||||||
else:
|
else:
|
||||||
sys.exit("%Error: Mix of files and dirs")
|
sys.stderr.write("%Error: Mix of files and dirs")
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
|
|
||||||
def diff_dir(a, b):
|
def diff_dir(a: str, b: str) -> None:
|
||||||
# Diff all files under two directories
|
# Diff all files under two directories
|
||||||
files = collections.defaultdict(lambda: {})
|
files: dict[str, dict[str, str]] = collections.defaultdict(lambda: {})
|
||||||
|
|
||||||
for fn in glob.glob(a + "/*.tree"):
|
for fn in glob.glob(a + "/*.tree"):
|
||||||
base = re.sub(r'.*/', '', fn)
|
base = re.sub(r'.*/', '', fn)
|
||||||
@@ -50,7 +55,9 @@ def diff_dir(a, b):
|
|||||||
sys.stderr.write("%Warning: No .tree files found that have similar base names\n")
|
sys.stderr.write("%Warning: No .tree files found that have similar base names\n")
|
||||||
|
|
||||||
|
|
||||||
def diff_file(a, b):
|
def diff_file(a: str, b: str) -> None:
|
||||||
|
global exit_code
|
||||||
|
|
||||||
# Compare the two tree files
|
# Compare the two tree files
|
||||||
short_a = re.sub(r'[^a-zA-Z0-9.]+', '_', a)
|
short_a = re.sub(r'[^a-zA-Z0-9.]+', '_', a)
|
||||||
short_b = re.sub(r'[^a-zA-Z0-9.]+', '_', b)
|
short_b = re.sub(r'[^a-zA-Z0-9.]+', '_', b)
|
||||||
@@ -65,25 +72,18 @@ def diff_file(a, b):
|
|||||||
|
|
||||||
filterf(a, tmp_a)
|
filterf(a, tmp_a)
|
||||||
filterf(b, tmp_b)
|
filterf(b, tmp_b)
|
||||||
os.system("diff -u " + tmp_a + " " + tmp_b)
|
status = os.system("diff -u " + tmp_a + " " + tmp_b)
|
||||||
os.unlink(tmp_a)
|
os.unlink(tmp_a)
|
||||||
os.unlink(tmp_b)
|
os.unlink(tmp_b)
|
||||||
|
|
||||||
|
status_exit_code = status >> 8
|
||||||
def version_from(filename):
|
if status_exit_code == 1:
|
||||||
# Return dump format
|
exit_code = 1
|
||||||
with open(filename, "r", encoding="utf8") as fh:
|
elif status_exit_code:
|
||||||
lineno = 0
|
exit_code = 2
|
||||||
for line in fh:
|
|
||||||
if lineno > 10:
|
|
||||||
break
|
|
||||||
match = re.search(r'format (0x[0-9.]+)', line)
|
|
||||||
if match:
|
|
||||||
return hex(match.group(1))
|
|
||||||
return 1.0
|
|
||||||
|
|
||||||
|
|
||||||
def filterf(fn1, fn2):
|
def filterf(fn1: str, fn2: str) -> None:
|
||||||
# Remove hex numbers before diffing
|
# Remove hex numbers before diffing
|
||||||
with open(fn1, "r", encoding="utf8") as fh1:
|
with open(fn1, "r", encoding="utf8") as fh1:
|
||||||
with open(fn2, "w", encoding="utf8") as fh2:
|
with open(fn2, "w", encoding="utf8") as fh2:
|
||||||
@@ -107,13 +107,16 @@ parser = argparse.ArgumentParser(
|
|||||||
|
|
||||||
Verilator_difftree is used for debugging Verilator tree output files.
|
Verilator_difftree is used for debugging Verilator tree output files.
|
||||||
It performs a diff between two files, or all files common between two
|
It performs a diff between two files, or all files common between two
|
||||||
directories, ignoring irrelevant pointer differences.""",
|
directories, ignoring irrelevant pointer differences.
|
||||||
epilog="""Copyright 2005-2024 by Wilson Snyder. This program is free software; you
|
|
||||||
can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
Exit status is 0 if inputs are the same, 1 if different, 2 if trouble.""",
|
||||||
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
|
or the Perl Artistic License Version 2.0.
|
||||||
|
|
||||||
|
SPDX-FileCopyrightText: 2005-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
||||||
parser.add_argument('--no-lineno',
|
parser.add_argument('--no-lineno',
|
||||||
@@ -124,6 +127,7 @@ parser.add_argument('fileb', help='input file b to diff')
|
|||||||
|
|
||||||
Args = parser.parse_args()
|
Args = parser.parse_args()
|
||||||
diff(Args.filea, Args.fileb)
|
diff(Args.filea, Args.fileb)
|
||||||
|
sys.exit(exit_code)
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
|
|||||||
+161
-70
@@ -8,42 +8,59 @@ import collections
|
|||||||
import math
|
import math
|
||||||
import re
|
import re
|
||||||
import statistics
|
import statistics
|
||||||
|
from collections import OrderedDict
|
||||||
# from pprint import pprint
|
# from pprint import pprint
|
||||||
|
|
||||||
Sections = []
|
Sections = OrderedDict()
|
||||||
LongestVcdStrValueLength = 0
|
LongestVcdStrValueLength = 0
|
||||||
Threads = collections.defaultdict(lambda: []) # List of records per thread id
|
Threads = collections.defaultdict(lambda: []) # List of records per thread id
|
||||||
Mtasks = collections.defaultdict(lambda: {'elapsed': 0, 'end': 0})
|
Mtasks = collections.defaultdict(lambda: {'elapsed': 0, 'end': 0})
|
||||||
Cpus = collections.defaultdict(lambda: {'mtask_time': 0})
|
Cpus = collections.defaultdict(lambda: {'mtask_time': 0})
|
||||||
Global = {'args': {}, 'cpuinfo': collections.defaultdict(lambda: {}), 'stats': {}}
|
Global = {
|
||||||
|
'args': {},
|
||||||
|
'cpuinfo': collections.defaultdict(lambda: {}),
|
||||||
|
'info': {
|
||||||
|
'numa': 'no data'
|
||||||
|
},
|
||||||
|
'stats': {}
|
||||||
|
}
|
||||||
ElapsedTime = None # total elapsed time
|
ElapsedTime = None # total elapsed time
|
||||||
ExecGraphTime = 0 # total elapsed time excuting an exec graph
|
ExecGraphTime = 0 # total elapsed time executing an exec graph
|
||||||
|
WaitingTime = 0 # total elapsed time waiting for mtasks
|
||||||
ExecGraphIntervals = [] # list of (start, end) pairs
|
ExecGraphIntervals = [] # list of (start, end) pairs
|
||||||
|
ThreadScheduleWaitIntervals = [] # list of (start, tick, ecpu) pairs
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
def read_data(filename):
|
def read_data(filename: str) -> None:
|
||||||
with open(filename, "r", encoding="utf8") as fh:
|
with open(filename, "r", encoding="utf8") as fh:
|
||||||
re_thread = re.compile(r'^VLPROFTHREAD (\d+)$')
|
re_thread = re.compile(r'^VLPROFTHREAD (\d+)$')
|
||||||
re_record = re.compile(r'^VLPROFEXEC (\S+) (\d+)(.*)$')
|
re_record = re.compile(r'^VLPROFEXEC (\S+) (\d+)(.*)$')
|
||||||
re_payload_mtaskBegin = re.compile(r'id (\d+) predictStart (\d+) cpu (\d+)')
|
# The hierBlock argument is optional
|
||||||
re_payload_mtaskEnd = re.compile(r'id (\d+) predictCost (\d+)')
|
re_payload_mtaskBegin = re.compile(
|
||||||
|
r'id (\d+) predictStart (\d+) cpu (\d+)(?: hierBlock)?\s*(\w+)?')
|
||||||
|
re_payload_mtaskEnd = re.compile(r'predictCost (\d+)')
|
||||||
|
re_payload_wait = re.compile(r'cpu (\d+)')
|
||||||
|
|
||||||
re_arg1 = re.compile(r'VLPROF arg\s+(\S+)\+([0-9.]*)\s*')
|
re_arg1 = re.compile(r'VLPROF arg\s+(\S+)\+([0-9.]*)\s*')
|
||||||
re_arg2 = re.compile(r'VLPROF arg\s+(\S+)\s+([0-9.]*)\s*$')
|
re_arg2 = re.compile(r'VLPROF arg\s+(\S+)\s+([0-9.]*)\s*$')
|
||||||
re_stat = re.compile(r'VLPROF stat\s+(\S+)\s+([0-9.]+)')
|
re_info = re.compile(r'VLPROF info\s+(\S+)\s+(.*)$')
|
||||||
|
re_stat = re.compile(r'VLPROF stat\s+(\S+)\s+(\S+)')
|
||||||
re_proc_cpu = re.compile(r'VLPROFPROC processor\s*:\s*(\d+)\s*$')
|
re_proc_cpu = re.compile(r'VLPROFPROC processor\s*:\s*(\d+)\s*$')
|
||||||
re_proc_dat = re.compile(r'VLPROFPROC ([a-z_ ]+)\s*:\s*(.*)$')
|
re_proc_dat = re.compile(r'VLPROFPROC ([a-z_ ]+)\s*:\s*(.*)$')
|
||||||
cpu = None
|
cpu = None
|
||||||
thread = None
|
thread = 0
|
||||||
execGraphStart = None
|
thread_last_ecpu = None
|
||||||
|
|
||||||
global LongestVcdStrValueLength
|
global LongestVcdStrValueLength
|
||||||
global ExecGraphTime
|
global ExecGraphTime
|
||||||
|
global WaitingTime
|
||||||
|
|
||||||
|
ExecGraphStack = []
|
||||||
SectionStack = []
|
SectionStack = []
|
||||||
mTaskThread = {}
|
MtasksStack = []
|
||||||
|
ThreadScheduleWait = collections.defaultdict(list)
|
||||||
|
|
||||||
for line in fh:
|
for line in fh:
|
||||||
recordMatch = re_record.match(line)
|
recordMatch = re_record.match(line)
|
||||||
@@ -54,49 +71,67 @@ def read_data(filename):
|
|||||||
if kind == "SECTION_PUSH":
|
if kind == "SECTION_PUSH":
|
||||||
LongestVcdStrValueLength = max(LongestVcdStrValueLength, len(payload))
|
LongestVcdStrValueLength = max(LongestVcdStrValueLength, len(payload))
|
||||||
SectionStack.append(payload)
|
SectionStack.append(payload)
|
||||||
Sections.append((tick, tuple(SectionStack)))
|
Sections[thread].append((tick, tuple(SectionStack)))
|
||||||
elif kind == "SECTION_POP":
|
elif kind == "SECTION_POP":
|
||||||
assert SectionStack, "SECTION_POP without SECTION_PUSH"
|
assert SectionStack, "SECTION_POP without SECTION_PUSH"
|
||||||
SectionStack.pop()
|
SectionStack.pop()
|
||||||
Sections.append((tick, tuple(SectionStack)))
|
Sections[thread].append((tick, tuple(SectionStack)))
|
||||||
elif kind == "MTASK_BEGIN":
|
elif kind == "MTASK_BEGIN":
|
||||||
mtask, predict_start, ecpu = re_payload_mtaskBegin.match(payload).groups()
|
mtask, predict_start, ecpu, hier_block = re_payload_mtaskBegin.match(
|
||||||
|
payload).groups()
|
||||||
|
hier_block = "" if hier_block is None else hier_block
|
||||||
mtask = int(mtask)
|
mtask = int(mtask)
|
||||||
predict_start = int(predict_start)
|
predict_start = int(predict_start)
|
||||||
ecpu = int(ecpu)
|
ecpu = int(ecpu)
|
||||||
mTaskThread[mtask] = thread
|
|
||||||
records = Threads[thread]
|
records = Threads[thread]
|
||||||
assert not records or records[-1]['start'] <= records[-1]['end'] <= tick
|
|
||||||
records.append({
|
records.append({
|
||||||
'start': tick,
|
'start': tick,
|
||||||
'mtask': mtask,
|
'mtask': mtask,
|
||||||
'predict_start': predict_start,
|
'predict_start': predict_start,
|
||||||
|
'hier_block': hier_block,
|
||||||
'cpu': ecpu
|
'cpu': ecpu
|
||||||
})
|
})
|
||||||
Mtasks[mtask]['begin'] = tick
|
Mtasks[(hier_block, mtask)]['begin'] = tick
|
||||||
Mtasks[mtask]['thread'] = thread
|
Mtasks[(hier_block, mtask)]['predict_start'] = predict_start
|
||||||
Mtasks[mtask]['predict_start'] = predict_start
|
Mtasks[(hier_block, mtask)]['thread'] = thread
|
||||||
|
MtasksStack.append((hier_block, mtask, records[-1]))
|
||||||
elif kind == "MTASK_END":
|
elif kind == "MTASK_END":
|
||||||
mtask, predict_cost = re_payload_mtaskEnd.match(payload).groups()
|
predict_cost, = re_payload_mtaskEnd.match(payload).groups()
|
||||||
mtask = int(mtask)
|
mtask = int(mtask)
|
||||||
|
hier_block, mtask, record = MtasksStack.pop()
|
||||||
predict_cost = int(predict_cost)
|
predict_cost = int(predict_cost)
|
||||||
begin = Mtasks[mtask]['begin']
|
begin = Mtasks[(hier_block, mtask)]['begin']
|
||||||
record = Threads[mTaskThread[mtask]][-1]
|
|
||||||
record['end'] = tick
|
record['end'] = tick
|
||||||
|
assert record and records[-1]['start'] <= records[-1]['end'] <= tick
|
||||||
record['predict_cost'] = predict_cost
|
record['predict_cost'] = predict_cost
|
||||||
Mtasks[mtask]['elapsed'] += tick - begin
|
Mtasks[(hier_block, mtask)]['elapsed'] += tick - begin
|
||||||
Mtasks[mtask]['predict_cost'] = predict_cost
|
Mtasks[(hier_block, mtask)]['predict_cost'] = predict_cost
|
||||||
Mtasks[mtask]['end'] = max(Mtasks[mtask]['end'], tick)
|
Mtasks[(hier_block, mtask)]['end'] = max(Mtasks[(hier_block, mtask)]['end'],
|
||||||
|
tick)
|
||||||
|
elif kind == "THREAD_SCHEDULE_WAIT_BEGIN":
|
||||||
|
ecpu = int(re_payload_wait.match(payload).groups()[0])
|
||||||
|
thread_last_ecpu = ecpu
|
||||||
|
ThreadScheduleWait[ecpu].append(tick)
|
||||||
|
elif kind == "THREAD_SCHEDULE_WAIT_END":
|
||||||
|
# Might have ended on different CPU then we got THREAD_SCHEDULE_WAIT_BEGIN
|
||||||
|
assert thread_last_ecpu is not None, "THREAD_SCHEDULE_WAIT_END without BEGIN"
|
||||||
|
ecpu = thread_last_ecpu
|
||||||
|
thread_last_ecpu = None
|
||||||
|
start = ThreadScheduleWait[ecpu].pop()
|
||||||
|
WaitingTime += tick - start
|
||||||
|
ThreadScheduleWaitIntervals.append((start, tick, ecpu))
|
||||||
elif kind == "EXEC_GRAPH_BEGIN":
|
elif kind == "EXEC_GRAPH_BEGIN":
|
||||||
execGraphStart = tick
|
ExecGraphStack.append(tick)
|
||||||
elif kind == "EXEC_GRAPH_END":
|
elif kind == "EXEC_GRAPH_END":
|
||||||
|
assert ExecGraphStack, "EXEC_GRAPH_END without EXEC_GRAPH_BEGIN"
|
||||||
|
execGraphStart = ExecGraphStack.pop()
|
||||||
ExecGraphTime += tick - execGraphStart
|
ExecGraphTime += tick - execGraphStart
|
||||||
ExecGraphIntervals.append((execGraphStart, tick))
|
ExecGraphIntervals.append((execGraphStart, tick))
|
||||||
execGraphStart = None
|
|
||||||
elif Args.debug:
|
elif Args.debug:
|
||||||
print("-Unknown execution trace record: %s" % line)
|
print("-Unknown execution trace record: %s" % line)
|
||||||
elif re_thread.match(line):
|
elif re_thread.match(line):
|
||||||
thread = int(re_thread.match(line).group(1))
|
thread = int(re_thread.match(line).group(1))
|
||||||
|
Sections[thread] = []
|
||||||
elif re.match(r'^VLPROF(THREAD|VERSION)', line):
|
elif re.match(r'^VLPROF(THREAD|VERSION)', line):
|
||||||
pass
|
pass
|
||||||
elif re_arg1.match(line):
|
elif re_arg1.match(line):
|
||||||
@@ -105,6 +140,9 @@ def read_data(filename):
|
|||||||
elif re_arg2.match(line):
|
elif re_arg2.match(line):
|
||||||
match = re_arg2.match(line)
|
match = re_arg2.match(line)
|
||||||
Global['args'][match.group(1)] = match.group(2)
|
Global['args'][match.group(1)] = match.group(2)
|
||||||
|
elif re_info.match(line):
|
||||||
|
match = re_info.match(line)
|
||||||
|
Global['info'][match.group(1)] = match.group(2)
|
||||||
elif re_stat.match(line):
|
elif re_stat.match(line):
|
||||||
match = re_stat.match(line)
|
match = re_stat.match(line)
|
||||||
Global['stats'][match.group(1)] = match.group(2)
|
Global['stats'][match.group(1)] = match.group(2)
|
||||||
@@ -133,7 +171,7 @@ def re_match_result(regexp, line, result_to):
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
def report():
|
def report() -> None:
|
||||||
print("Verilator Gantt report")
|
print("Verilator Gantt report")
|
||||||
|
|
||||||
print("\nArgument settings:")
|
print("\nArgument settings:")
|
||||||
@@ -155,11 +193,13 @@ def report():
|
|||||||
print("\nSummary:")
|
print("\nSummary:")
|
||||||
print(" Total elapsed time = {} rdtsc ticks".format(ElapsedTime))
|
print(" Total elapsed time = {} rdtsc ticks".format(ElapsedTime))
|
||||||
print(" Parallelized code = {:.2%} of elapsed time".format(ExecGraphTime / ElapsedTime))
|
print(" Parallelized code = {:.2%} of elapsed time".format(ExecGraphTime / ElapsedTime))
|
||||||
|
print(" Waiting time = {:.2%} of elapsed time".format(WaitingTime / ElapsedTime))
|
||||||
print(" Total threads = %d" % nthreads)
|
print(" Total threads = %d" % nthreads)
|
||||||
print(" Total CPUs used = %d" % ncpus)
|
print(" Total CPUs used = %d" % ncpus)
|
||||||
print(" Total mtasks = %d" % len(Mtasks))
|
print(" Total mtasks = %d" % len(Mtasks))
|
||||||
print(" Total yields = %d" % int(Global['stats'].get('yields', 0)))
|
print(" Total yields = %d" % int(Global['stats'].get('yields', 0)))
|
||||||
|
|
||||||
|
report_numa()
|
||||||
report_mtasks()
|
report_mtasks()
|
||||||
report_cpus()
|
report_cpus()
|
||||||
report_sections()
|
report_sections()
|
||||||
@@ -180,7 +220,12 @@ def report():
|
|||||||
print()
|
print()
|
||||||
|
|
||||||
|
|
||||||
def report_mtasks():
|
def report_numa() -> None:
|
||||||
|
print("\nNUMA assignment:")
|
||||||
|
print(" NUMA status = %s" % Global['info']['numa'])
|
||||||
|
|
||||||
|
|
||||||
|
def report_mtasks() -> None:
|
||||||
if not Mtasks:
|
if not Mtasks:
|
||||||
return
|
return
|
||||||
|
|
||||||
@@ -198,10 +243,11 @@ def report_mtasks():
|
|||||||
thread_mtask_time = collections.defaultdict(lambda: 0)
|
thread_mtask_time = collections.defaultdict(lambda: 0)
|
||||||
long_mtask_time = 0
|
long_mtask_time = 0
|
||||||
long_mtask = None
|
long_mtask = None
|
||||||
|
long_mtask_hier_block = None
|
||||||
predict_mtask_time = 0
|
predict_mtask_time = 0
|
||||||
predict_elapsed = 0
|
predict_elapsed = 0
|
||||||
for mtaskId in Mtasks:
|
for (hier_block, mtask_id) in Mtasks:
|
||||||
record = Mtasks[mtaskId]
|
record = Mtasks[(hier_block, mtask_id)]
|
||||||
predict_mtask_time += record['predict_cost']
|
predict_mtask_time += record['predict_cost']
|
||||||
total_mtask_time += record['elapsed']
|
total_mtask_time += record['elapsed']
|
||||||
thread_mtask_time[record['thread']] += record['elapsed']
|
thread_mtask_time[record['thread']] += record['elapsed']
|
||||||
@@ -209,7 +255,8 @@ def report_mtasks():
|
|||||||
predict_elapsed = max(predict_elapsed, predict_end)
|
predict_elapsed = max(predict_elapsed, predict_end)
|
||||||
if record['elapsed'] > long_mtask_time:
|
if record['elapsed'] > long_mtask_time:
|
||||||
long_mtask_time = record['elapsed']
|
long_mtask_time = record['elapsed']
|
||||||
long_mtask = mtaskId
|
long_mtask = mtask_id
|
||||||
|
long_mtask_hier_block = hier_block
|
||||||
Global['predict_last_end'] = predict_elapsed
|
Global['predict_last_end'] = predict_elapsed
|
||||||
|
|
||||||
serialTime = ElapsedTime - ExecGraphTime
|
serialTime = ElapsedTime - ExecGraphTime
|
||||||
@@ -238,31 +285,55 @@ def report_mtasks():
|
|||||||
max_p2e = -1000000
|
max_p2e = -1000000
|
||||||
max_mtask = None
|
max_mtask = None
|
||||||
|
|
||||||
for mtask in sorted(Mtasks.keys()):
|
min_hier_block = None
|
||||||
if Mtasks[mtask]['elapsed'] > 0:
|
max_hier_block = None
|
||||||
if Mtasks[mtask]['predict_cost'] == 0:
|
|
||||||
Mtasks[mtask]['predict_cost'] = 1 # don't log(0) below
|
for (hier_block, mtask_id) in sorted(Mtasks.keys()):
|
||||||
p2e_ratio = math.log(Mtasks[mtask]['predict_cost'] / Mtasks[mtask]['elapsed'])
|
mtask = Mtasks[(hier_block, mtask_id)]
|
||||||
|
if mtask['elapsed'] > 0:
|
||||||
|
if mtask['predict_cost'] == 0:
|
||||||
|
mtask['predict_cost'] = 1 # don't log(0) below
|
||||||
|
p2e_ratio = math.log(mtask['predict_cost'] / mtask['elapsed'])
|
||||||
p2e_ratios.append(p2e_ratio)
|
p2e_ratios.append(p2e_ratio)
|
||||||
|
|
||||||
if p2e_ratio > max_p2e:
|
if p2e_ratio > max_p2e:
|
||||||
max_p2e = p2e_ratio
|
max_p2e = p2e_ratio
|
||||||
max_mtask = mtask
|
max_mtask = mtask_id
|
||||||
|
max_hier_block = hier_block
|
||||||
if p2e_ratio < min_p2e:
|
if p2e_ratio < min_p2e:
|
||||||
min_p2e = p2e_ratio
|
min_p2e = p2e_ratio
|
||||||
min_mtask = mtask
|
min_mtask = mtask_id
|
||||||
|
min_hier_block = hier_block
|
||||||
|
|
||||||
print("\nMTask statistics:")
|
print("\nMTask statistics:")
|
||||||
print(" Longest mtask id = {}".format(long_mtask))
|
if long_mtask_hier_block:
|
||||||
|
print(" Longest mtask id = {} from hier_block '{}'".format(long_mtask,
|
||||||
|
long_mtask_hier_block))
|
||||||
|
else:
|
||||||
|
print(" Longest mtask id = {}".format(long_mtask))
|
||||||
print(" Longest mtask time = {:.2%} of time elapsed in parallelized code".format(
|
print(" Longest mtask time = {:.2%} of time elapsed in parallelized code".format(
|
||||||
long_mtask_time / ExecGraphTime))
|
long_mtask_time / ExecGraphTime))
|
||||||
print(" min log(p2e) = %0.3f" % min_p2e, end="")
|
print(" min log(p2e) = %0.3f" % min_p2e, end="")
|
||||||
|
|
||||||
print(" from mtask %d (predict %d," % (min_mtask, Mtasks[min_mtask]['predict_cost']), end="")
|
if min_hier_block:
|
||||||
print(" elapsed %d)" % Mtasks[min_mtask]['elapsed'])
|
print(" from hier_block '%s' mtask %d (predict %d," %
|
||||||
|
(min_hier_block, min_mtask, Mtasks[(min_hier_block, min_mtask)]['predict_cost']),
|
||||||
|
end="")
|
||||||
|
else:
|
||||||
|
print(" from mtask %d (predict %d," %
|
||||||
|
(min_mtask, Mtasks[(min_hier_block, min_mtask)]['predict_cost']),
|
||||||
|
end="")
|
||||||
|
print(" elapsed %d)" % Mtasks[(min_hier_block, min_mtask)]['elapsed'])
|
||||||
print(" max log(p2e) = %0.3f" % max_p2e, end="")
|
print(" max log(p2e) = %0.3f" % max_p2e, end="")
|
||||||
print(" from mtask %d (predict %d," % (max_mtask, Mtasks[max_mtask]['predict_cost']), end="")
|
if max_hier_block:
|
||||||
print(" elapsed %d)" % Mtasks[max_mtask]['elapsed'])
|
print(" from hier_block '%s' mtask %d (predict %d," %
|
||||||
|
(max_hier_block, max_mtask, Mtasks[(max_hier_block, max_mtask)]['predict_cost']),
|
||||||
|
end="")
|
||||||
|
else:
|
||||||
|
print(" from mtask %d (predict %d," %
|
||||||
|
(max_mtask, Mtasks[(max_hier_block, max_mtask)]['predict_cost']),
|
||||||
|
end="")
|
||||||
|
print(" elapsed %d)" % Mtasks[(max_hier_block, max_mtask)]['elapsed'])
|
||||||
|
|
||||||
stddev = statistics.pstdev(p2e_ratios)
|
stddev = statistics.pstdev(p2e_ratios)
|
||||||
mean = statistics.mean(p2e_ratios)
|
mean = statistics.mean(p2e_ratios)
|
||||||
@@ -271,7 +342,7 @@ def report_mtasks():
|
|||||||
print(" e ^ stddev = %0.3f" % math.exp(stddev))
|
print(" e ^ stddev = %0.3f" % math.exp(stddev))
|
||||||
|
|
||||||
|
|
||||||
def report_cpus():
|
def report_cpus() -> None:
|
||||||
print("\nCPU info:")
|
print("\nCPU info:")
|
||||||
|
|
||||||
Global['cpu_sockets'] = collections.defaultdict(lambda: 0)
|
Global['cpu_sockets'] = collections.defaultdict(lambda: 0)
|
||||||
@@ -306,24 +377,28 @@ def report_cpus():
|
|||||||
Global['cpu_socket_cores_warning'] = True
|
Global['cpu_socket_cores_warning'] = True
|
||||||
|
|
||||||
|
|
||||||
def report_sections():
|
def report_sections() -> None:
|
||||||
if not Sections:
|
for thread, section in Sections.items():
|
||||||
return
|
if section:
|
||||||
print("\nSection profile:")
|
print(f"\nSection profile for thread {thread}:")
|
||||||
|
report_section(section)
|
||||||
|
|
||||||
|
|
||||||
|
def report_section(section) -> None:
|
||||||
totalTime = collections.defaultdict(lambda: 0)
|
totalTime = collections.defaultdict(lambda: 0)
|
||||||
selfTime = collections.defaultdict(lambda: 0)
|
selfTime = collections.defaultdict(lambda: 0)
|
||||||
|
|
||||||
sectionTree = [0, {}, 1] # [selfTime, childTrees, numberOfTimesEntered]
|
sectionTree = [0, {}, 1] # [selfTime, childTrees, numberOfTimesEntered]
|
||||||
prevTime = 0
|
prevTime = 0
|
||||||
prevStack = ()
|
prevStack = ()
|
||||||
for time, stack in Sections:
|
for time, stack in section:
|
||||||
if len(stack) > len(prevStack):
|
if len(stack) > len(prevStack):
|
||||||
scope = sectionTree
|
scope = sectionTree
|
||||||
for item in stack:
|
for item in stack:
|
||||||
scope = scope[1].setdefault(item, [0, {}, 0])
|
scope = scope[1].setdefault(item, [0, {}, 0])
|
||||||
scope[2] += 1
|
scope[2] += 1
|
||||||
dt = time - prevTime
|
dt = time - prevTime
|
||||||
|
assert dt >= 0
|
||||||
scope = sectionTree
|
scope = sectionTree
|
||||||
for item in prevStack:
|
for item in prevStack:
|
||||||
scope = scope[1].setdefault(item, [0, {}, 0])
|
scope = scope[1].setdefault(item, [0, {}, 0])
|
||||||
@@ -361,7 +436,7 @@ def report_sections():
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
def write_vcd(filename):
|
def write_vcd(filename: str) -> None:
|
||||||
print("Writing %s" % filename)
|
print("Writing %s" % filename)
|
||||||
with open(filename, "w", encoding="utf8") as fh:
|
with open(filename, "w", encoding="utf8") as fh:
|
||||||
# dict of dicts of hierarchy elements/signal name -> (code, width)
|
# dict of dicts of hierarchy elements/signal name -> (code, width)
|
||||||
@@ -398,6 +473,9 @@ def write_vcd(filename):
|
|||||||
val = buf.ljust(LongestVcdStrValueLength * 8, "0")
|
val = buf.ljust(LongestVcdStrValueLength * 8, "0")
|
||||||
values[time][code] = val
|
values[time][code] = val
|
||||||
|
|
||||||
|
def addXValue(code, time):
|
||||||
|
values[time][code] = 'x'
|
||||||
|
|
||||||
# Measured graph
|
# Measured graph
|
||||||
for thread in sorted(Threads):
|
for thread in sorted(Threads):
|
||||||
mcode = getCode(32, 'measured', 't%d_mtask' % thread)
|
mcode = getCode(32, 'measured', 't%d_mtask' % thread)
|
||||||
@@ -422,27 +500,36 @@ def write_vcd(filename):
|
|||||||
tStart = sorted(_['start'] for records in Threads.values() for _ in records)
|
tStart = sorted(_['start'] for records in Threads.values() for _ in records)
|
||||||
tEnd = sorted(_['end'] for records in Threads.values() for _ in records)
|
tEnd = sorted(_['end'] for records in Threads.values() for _ in records)
|
||||||
|
|
||||||
|
# Measured waiting time
|
||||||
|
for (start, end, cpu) in ThreadScheduleWaitIntervals:
|
||||||
|
mcode = getCode(32, 'measured', 'cpu%d_waiting' % cpu)
|
||||||
|
addXValue(mcode, start)
|
||||||
|
addValue(mcode, end, None)
|
||||||
|
|
||||||
# Predicted graph
|
# Predicted graph
|
||||||
for start, end in ExecGraphIntervals:
|
for start, end in ExecGraphIntervals:
|
||||||
# Find the earliest MTask start after the start point, and the
|
# Find the earliest MTask start after the start point, and the
|
||||||
# latest MTask end before the end point, so we can scale to the
|
# latest MTask end before the end point, so we can scale to the
|
||||||
# same range
|
# same range
|
||||||
start = tStart[bisect.bisect_left(tStart, start)]
|
tStartIdx = bisect.bisect_left(tStart, start)
|
||||||
|
if tStartIdx >= len(tStart):
|
||||||
|
continue
|
||||||
|
start = tStart[tStartIdx]
|
||||||
end = tEnd[bisect.bisect_right(tEnd, end) - 1]
|
end = tEnd[bisect.bisect_right(tEnd, end) - 1]
|
||||||
# Compute scale so predicted graph is of same width as interval
|
# Compute scale so predicted graph is of same width as interval
|
||||||
measured_scaling = (end - start) / Global['predict_last_end']
|
measured_scaling = (end - start) / Global['predict_last_end']
|
||||||
# Predict mtasks that fill the time the execution occupied
|
# Predict mtasks that fill the time the execution occupied
|
||||||
for mtask in Mtasks:
|
for (hier_block, mtask_id) in Mtasks:
|
||||||
thread = Mtasks[mtask]['thread']
|
mtask = Mtasks[(hier_block, mtask_id)]
|
||||||
pred_scaled_start = start + int(Mtasks[mtask]['predict_start'] * measured_scaling)
|
thread = mtask['thread']
|
||||||
|
pred_scaled_start = start + int(mtask['predict_start'] * measured_scaling)
|
||||||
pred_scaled_end = start + int(
|
pred_scaled_end = start + int(
|
||||||
(Mtasks[mtask]['predict_start'] + Mtasks[mtask]['predict_cost']) *
|
(mtask['predict_start'] + mtask['predict_cost']) * measured_scaling)
|
||||||
measured_scaling)
|
|
||||||
if pred_scaled_start == pred_scaled_end:
|
if pred_scaled_start == pred_scaled_end:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
mcode = getCode(32, 'predicted', 't%d_mtask' % thread)
|
mcode = getCode(32, 'predicted', 't%d_mtask' % thread)
|
||||||
addValue(mcode, pred_scaled_start, mtask)
|
addValue(mcode, pred_scaled_start, mtask_id)
|
||||||
addValue(mcode, pred_scaled_end, None)
|
addValue(mcode, pred_scaled_end, None)
|
||||||
|
|
||||||
parallelism['predicted'][pred_scaled_start] += 1
|
parallelism['predicted'][pred_scaled_start] += 1
|
||||||
@@ -457,12 +544,13 @@ def write_vcd(filename):
|
|||||||
addValue(pcode, time, value)
|
addValue(pcode, time, value)
|
||||||
|
|
||||||
# Section graph
|
# Section graph
|
||||||
if Sections:
|
for thread, section in Sections.items():
|
||||||
scode = getCode(LongestVcdStrValueLength * 8, "section", "trace")
|
if section:
|
||||||
dcode = getCode(32, "section", "depth")
|
scode = getCode(LongestVcdStrValueLength * 8, "section", f"t{thread}_trace")
|
||||||
for time, stack in Sections:
|
dcode = getCode(32, "section", f"t{thread}_depth")
|
||||||
addValue(scode, time, stack[-1] if stack else None)
|
for time, stack in section:
|
||||||
addValue(dcode, time, len(stack))
|
addValue(scode, time, stack[-1] if stack else None)
|
||||||
|
addValue(dcode, time, len(stack))
|
||||||
|
|
||||||
# Create output file
|
# Create output file
|
||||||
fh.write("$version Generated by verilator_gantt $end\n")
|
fh.write("$version Generated by verilator_gantt $end\n")
|
||||||
@@ -504,6 +592,8 @@ def write_vcd(filename):
|
|||||||
value = values[time][code]
|
value = values[time][code]
|
||||||
if value is None:
|
if value is None:
|
||||||
fh.write("bz v%x\n" % code)
|
fh.write("bz v%x\n" % code)
|
||||||
|
elif value == 'x':
|
||||||
|
fh.write("bx v%x\n" % code)
|
||||||
elif isinstance(value, str):
|
elif isinstance(value, str):
|
||||||
fh.write("b%s v%x\n" % (value, code))
|
fh.write("b%s v%x\n" % (value, code))
|
||||||
else:
|
else:
|
||||||
@@ -515,7 +605,7 @@ def write_vcd(filename):
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
allow_abbrev=False,
|
allow_abbrev=False,
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
description="""Create Gantt chart of multi-threaded execution.
|
description="""Create Gantt chart of Verilator multi-threaded execution
|
||||||
|
|
||||||
Verilator_gantt creates a visual representation to help analyze Verilator
|
Verilator_gantt creates a visual representation to help analyze Verilator
|
||||||
#xmultithreaded simulation performance, by showing when each macro-task
|
#xmultithreaded simulation performance, by showing when each macro-task
|
||||||
@@ -523,16 +613,17 @@ Verilator_gantt creates a visual representation to help analyze Verilator
|
|||||||
|
|
||||||
For documentation see
|
For documentation see
|
||||||
https://verilator.org/guide/latest/exe_verilator_gantt.html""",
|
https://verilator.org/guide/latest/exe_verilator_gantt.html""",
|
||||||
epilog="""Copyright 2018-2024 by Wilson Snyder. This program is free software; you
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
can redistribute it and/or modify it under the terms of either the GNU
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
or the Perl Artistic License Version 2.0.
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
SPDX-FileCopyrightText: 2018-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('--debug', action='store_true', help='enable debug')
|
parser.add_argument('--debug', action='store_true', help='enable debug')
|
||||||
parser.add_argument('--no-vcd', help='disable creating vcd', action='store_true')
|
parser.add_argument('--no-vcd', help='disable creating vcd', action='store_true')
|
||||||
parser.add_argument('--vcd', help='filename for vcd outpue', default='profile_exec.vcd')
|
parser.add_argument('--vcd', help='filename for vcd output', default='profile_exec.vcd')
|
||||||
parser.add_argument('filename',
|
parser.add_argument('filename',
|
||||||
help='input profile_exec.dat filename to process',
|
help='input profile_exec.dat filename to process',
|
||||||
default='profile_exec.dat')
|
default='profile_exec.dat')
|
||||||
|
|||||||
@@ -1,11 +1,12 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# mypy: disallow-untyped-defs
|
||||||
# pylint: disable=C0114,C0209
|
# pylint: disable=C0114,C0209
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify the
|
||||||
# can redistribute it and/or modify the Verilator internals under the terms
|
# Verilator internals under the terms of either the GNU Lesser General
|
||||||
# of either the GNU Lesser General Public License Version 3 or the Perl
|
# Public License Version 3 or the Perl Artistic License Version 2.0.
|
||||||
# Artistic License Version 2.0.
|
|
||||||
#
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
|||||||
+10
-9
@@ -10,7 +10,7 @@ import re
|
|||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
|
|
||||||
def profcfunc(filename):
|
def profcfunc(filename: str) -> None:
|
||||||
funcs = {}
|
funcs = {}
|
||||||
|
|
||||||
with open(filename, "r", encoding="utf8") as fh:
|
with open(filename, "r", encoding="utf8") as fh:
|
||||||
@@ -26,7 +26,7 @@ def profcfunc(filename):
|
|||||||
calls = float(match.group(3))
|
calls = float(match.group(3))
|
||||||
func = match.group(4)
|
func = match.group(4)
|
||||||
if func not in funcs:
|
if func not in funcs:
|
||||||
funcs[func] = {'pct': 0, 'sec': 0, 'calls': 0}
|
funcs[func] = {'pct': 0.0, 'sec': 0.0, 'calls': 0}
|
||||||
funcs[func]['pct'] += pct
|
funcs[func]['pct'] += pct
|
||||||
funcs[func]['sec'] += sec
|
funcs[func]['sec'] += sec
|
||||||
funcs[func]['calls'] += calls
|
funcs[func]['calls'] += calls
|
||||||
@@ -150,7 +150,7 @@ def profcfunc(filename):
|
|||||||
print((" time seconds seconds calls %-" + str(design_width) +
|
print((" time seconds seconds calls %-" + str(design_width) +
|
||||||
"s type filename and line number") % "design")
|
"s type filename and line number") % "design")
|
||||||
|
|
||||||
cume = 0
|
cume = 0.0
|
||||||
for func in sorted(vfuncs.keys(), key=lambda f: vfuncs[f]['sec'], reverse=True):
|
for func in sorted(vfuncs.keys(), key=lambda f: vfuncs[f]['sec'], reverse=True):
|
||||||
cume += vfuncs[func]['sec']
|
cume += vfuncs[func]['sec']
|
||||||
print(("%6.2f %9.2f %8.2f %10d %-" + str(design_width) + "s %s") %
|
print(("%6.2f %9.2f %8.2f %10d %-" + str(design_width) + "s %s") %
|
||||||
@@ -164,7 +164,7 @@ def profcfunc(filename):
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
allow_abbrev=False,
|
allow_abbrev=False,
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
description="""Read gprof report created with --prof-cfuncs.
|
description="""Read gprof report created with Verilator --prof-cfuncs
|
||||||
|
|
||||||
Verilator_profcfunc reads a profile report created by gprof. The names of
|
Verilator_profcfunc reads a profile report created by gprof. The names of
|
||||||
the functions are then transformed, assuming the user used Verilator's
|
the functions are then transformed, assuming the user used Verilator's
|
||||||
@@ -173,12 +173,13 @@ in each Verilog block.
|
|||||||
|
|
||||||
For documentation see
|
For documentation see
|
||||||
https://verilator.org/guide/latest/exe_verilator_profcfunc.html""",
|
https://verilator.org/guide/latest/exe_verilator_profcfunc.html""",
|
||||||
epilog="""Copyright 2002-2024 by Wilson Snyder. This program is free software; you
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
can redistribute it and/or modify it under the terms of either the GNU
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
or the Perl Artistic License Version 2.0.
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
SPDX-FileCopyrightText: 2002-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
||||||
parser.add_argument('filename', help='input gprof output to process')
|
parser.add_argument('filename', help='input gprof output to process')
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# DESCRIPTION: Verilator: CI ccache maintenance
|
|
||||||
#
|
|
||||||
# Copyright 2020 by Geza Lore. This program is free software; you
|
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
||||||
|
|
||||||
################################################################################
|
|
||||||
# This script is run in 'before_script', once ccache has been set up.
|
|
||||||
################################################################################
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
# Show version
|
|
||||||
ccache --version
|
|
||||||
|
|
||||||
# Flush ccache if requested in commit message
|
|
||||||
COMMIT="${CI_PULL_REQUEST_SHA:-$CI_COMMIT}"
|
|
||||||
if git log --format=%B -n 1 "$COMMIT" | grep -q -i '\[CI\s\+ccache\s\+clear\]'; then
|
|
||||||
echo "Flushing ccache due to commit message"
|
|
||||||
ccache -C
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Dump stats, then zero stats
|
|
||||||
# 22.04: ccache -s -v -z
|
|
||||||
ccache -s -z
|
|
||||||
+66
-37
@@ -1,11 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# DESCRIPTION: Verilator: CI dependency install script
|
# DESCRIPTION: Verilator: CI dependency install script
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Geza Lore. This program is free software; you
|
# SPDX-FileCopyrightText: 2020 Geza Lore
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -34,15 +30,42 @@ elif [ "$CI_OS_NAME" = "osx" ]; then
|
|||||||
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
||||||
MAKE=gmake
|
MAKE=gmake
|
||||||
else
|
else
|
||||||
fatal "Unknown os: '$CI_OS_NAME'"
|
fatal "Unknown CI_OS_NAME: '$CI_OS_NAME'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-vcddiff() {
|
if [ "$CI_OS_NAME" = "linux" ]; then
|
||||||
TMP_DIR="$(mktemp -d)"
|
# Avoid slow "processing triggers for man db"
|
||||||
git clone https://github.com/veripool/vcddiff "$TMP_DIR"
|
echo "path-exclude /usr/share/doc/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
git -C "${TMP_DIR}" checkout e5664be5fe39d353bf3fcb50aa05214ab7ed4ac4
|
echo "path-exclude /usr/share/man/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
"$MAKE" -C "${TMP_DIR}"
|
echo "path-exclude /usr/share/info/*" | sudo tee -a /etc/dpkg/dpkg.cfg.d/01_nodoc
|
||||||
sudo cp "${TMP_DIR}/vcddiff" /usr/local/bin
|
fi
|
||||||
|
|
||||||
|
install-wavediff() {
|
||||||
|
source ci/docker/buildenv/wavetools.conf
|
||||||
|
local _base_url="https://github.com/hudson-trading/wavetools/releases/download/${WAVETOOLS_VERSION}"
|
||||||
|
local _platform
|
||||||
|
if [ "$CI_OS_NAME" = "linux" ]; then
|
||||||
|
_platform="linux-x86_64"
|
||||||
|
elif [ "$CI_OS_NAME" = "osx" ]; then
|
||||||
|
_platform="macos-arm64"
|
||||||
|
elif [ "$CI_OS_NAME" = "windows" ]; then
|
||||||
|
_platform="windows-x86_64"
|
||||||
|
else
|
||||||
|
echo "WARNING: No wavetools binary available for CI_OS_NAME=$CI_OS_NAME, skipping"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
local _tmpdir
|
||||||
|
_tmpdir=$(mktemp -d)
|
||||||
|
local _archive="wavetools-${WAVETOOLS_VERSION}-${_platform}"
|
||||||
|
if [ "$CI_OS_NAME" = "windows" ]; then
|
||||||
|
wget -q -O "${_tmpdir}/${_archive}.zip" "${_base_url}/${_archive}.zip"
|
||||||
|
unzip -o "${_tmpdir}/${_archive}.zip" -d "${_tmpdir}"
|
||||||
|
else
|
||||||
|
wget -q -O "${_tmpdir}/${_archive}.tar.gz" "${_base_url}/${_archive}.tar.gz"
|
||||||
|
tar -xzf "${_tmpdir}/${_archive}.tar.gz" -C "${_tmpdir}"
|
||||||
|
fi
|
||||||
|
sudo cp "${_tmpdir}/${_archive}/wavediff" /usr/local/bin/wavediff
|
||||||
|
rm -rf "${_tmpdir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then
|
if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then
|
||||||
@@ -53,32 +76,36 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then
|
|||||||
if [ "$CI_OS_NAME" = "linux" ]; then
|
if [ "$CI_OS_NAME" = "linux" ]; then
|
||||||
sudo apt-get update ||
|
sudo apt-get update ||
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install ccache help2man libfl-dev ||
|
sudo apt-get install --yes ccache help2man libfl-dev ||
|
||||||
sudo apt-get install ccache help2man libfl-dev
|
sudo apt-get install --yes ccache help2man libfl-dev
|
||||||
if [ "$CI_RUNS_ON" = "ubuntu-20.04" ]; then
|
if [[ ! "$CI_RUNS_ON" =~ "ubuntu-22.04" ]]; then
|
||||||
# Some conflict of libunwind verison on 22.04, can live without it for now
|
# Some conflict of libunwind verison on 22.04, can live without it for now
|
||||||
sudo apt-get install libgoogle-perftools-dev ||
|
sudo apt-get install --yes libjemalloc-dev ||
|
||||||
sudo apt-get install libgoogle-perftools-dev
|
sudo apt-get install --yes libjemalloc-dev
|
||||||
fi
|
fi
|
||||||
if [ "$CI_RUNS_ON" = "ubuntu-20.04" ] || [ "$CI_RUNS_ON" = "ubuntu-22.04" ] || [ "$CI_RUNS_ON" = "ubuntu-24.04" ]; then
|
if [[ "$CI_RUNS_ON" =~ "ubuntu-22.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-24.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-26.04" ]]; then
|
||||||
sudo apt-get install libsystemc libsystemc-dev ||
|
if [[ ! "$CI_RUNS_ON" =~ "-riscv" ]]; then
|
||||||
sudo apt-get install libsystemc libsystemc-dev
|
sudo apt-get install --yes libsystemc libsystemc-dev ||
|
||||||
|
sudo apt-get install --yes libsystemc libsystemc-dev
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$CI_RUNS_ON" = "ubuntu-22.04" ] || [ "$CI_RUNS_ON" = "ubuntu-24.04" ]; then
|
if [[ "$CI_RUNS_ON" =~ "ubuntu-22.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-24.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-26.04" ]]; then
|
||||||
sudo apt-get install bear mold ||
|
sudo apt-get install --yes bear mold ||
|
||||||
sudo apt-get install bear mold
|
sudo apt-get install --yes bear mold
|
||||||
fi
|
fi
|
||||||
elif [ "$CI_OS_NAME" = "osx" ]; then
|
elif [ "$CI_OS_NAME" = "osx" ]; then
|
||||||
|
brew update ||
|
||||||
brew update
|
brew update
|
||||||
brew install ccache perl gperftools
|
brew install ccache perl gperftools autoconf bison flex help2man ||
|
||||||
|
brew install ccache perl gperftools autoconf bison flex help2man
|
||||||
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
||||||
sudo pkg install -y autoconf bison ccache gmake perl5
|
sudo pkg install -y autoconf bison ccache gmake perl5
|
||||||
else
|
else
|
||||||
fatal "Unknown os: '$CI_OS_NAME'"
|
fatal "Unknown CI_OS_NAME: '$CI_OS_NAME'"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$CCACHE_DIR" ]; then
|
if [ -n "$CCACHE_DIR" ]; then
|
||||||
mkdir -p "$CCACHE_DIR" && ./ci/ci-ccache-maint.bash
|
mkdir -p "$CCACHE_DIR"
|
||||||
fi
|
fi
|
||||||
elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -89,16 +116,18 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
|||||||
sudo apt-get update ||
|
sudo apt-get update ||
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
# libfl-dev needed for internal coverage's test runs
|
# libfl-dev needed for internal coverage's test runs
|
||||||
sudo apt-get install gdb gtkwave lcov libfl-dev ccache jq z3 ||
|
sudo apt-get install --yes gdb gtkwave lcov libfl-dev ccache jq z3 ||
|
||||||
sudo apt-get install gdb gtkwave lcov libfl-dev ccache jq z3
|
sudo apt-get install --yes gdb gtkwave lcov libfl-dev ccache jq z3
|
||||||
# Required for test_regress/t/t_dist_attributes.py
|
# Required for test_regress/t/t_dist_attributes.py
|
||||||
if [ "$CI_RUNS_ON" = "ubuntu-22.04" ] || [ "$CI_RUNS_ON" = "ubuntu-24.04" ]; then
|
if [[ "$CI_RUNS_ON" =~ "ubuntu-22.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-24.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-26.04" ]]; then
|
||||||
sudo apt-get install python3-clang mold ||
|
sudo apt-get install --yes python3-clang mold ||
|
||||||
sudo apt-get install python3-clang mold
|
sudo apt-get install --yes python3-clang mold
|
||||||
fi
|
fi
|
||||||
if [ "$CI_RUNS_ON" = "ubuntu-20.04" ] || [ "$CI_RUNS_ON" = "ubuntu-22.04" ] || [ "$CI_RUNS_ON" = "ubuntu-24.04" ]; then
|
if [[ "$CI_RUNS_ON" =~ "ubuntu-22.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-24.04" ]] || [[ "$CI_RUNS_ON" =~ "ubuntu-26.04" ]]; then
|
||||||
sudo apt-get install libsystemc-dev ||
|
if [[ ! "$CI_RUNS_ON" =~ "-riscv" ]]; then
|
||||||
sudo apt-get install libsystemc-dev
|
sudo apt-get install --yes libsystemc libsystemc-dev ||
|
||||||
|
sudo apt-get install --yes libsystemc libsystemc-dev
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
elif [ "$CI_OS_NAME" = "osx" ]; then
|
elif [ "$CI_OS_NAME" = "osx" ]; then
|
||||||
brew update
|
brew update
|
||||||
@@ -108,14 +137,14 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
|||||||
# fst2vcd fails with "Could not open '<input file>', exiting."
|
# fst2vcd fails with "Could not open '<input file>', exiting."
|
||||||
sudo pkg install -y ccache gmake perl5 python3 jq z3
|
sudo pkg install -y ccache gmake perl5 python3 jq z3
|
||||||
else
|
else
|
||||||
fatal "Unknown os: '$CI_OS_NAME'"
|
fatal "Unknown CI_OS_NAME: '$CI_OS_NAME'"
|
||||||
fi
|
fi
|
||||||
# Common installs
|
# Common installs
|
||||||
install-vcddiff
|
install-wavediff
|
||||||
# Workaround -fsanitize=address crash
|
# Workaround -fsanitize=address crash
|
||||||
sudo sysctl -w vm.mmap_rnd_bits=28
|
sudo sysctl -w vm.mmap_rnd_bits=28
|
||||||
else
|
else
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Unknown build stage
|
# Unknown build stage
|
||||||
fatal "Unknown build stage: '$CI_BUILD_STAGE_NAME'"
|
fatal "Unknown CI_BUILD_STAGE_NAME: '$CI_BUILD_STAGE_NAME'"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Executable
+42
@@ -0,0 +1,42 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# DESCRIPTION: Verilator: CI script for 'pages.yml', notifies PRs
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2025 Geza Lore
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
# Notify PRs via comment that their coverage reports are available
|
||||||
|
|
||||||
|
# Get the current repo URL - might differ on a fork
|
||||||
|
readonly REPO_URL=$(gh repo view --json url --jq .url)
|
||||||
|
|
||||||
|
# Create artifacts root directory
|
||||||
|
ARTIFACTS_ROOT=artifacts
|
||||||
|
mkdir -p ${ARTIFACTS_ROOT}
|
||||||
|
|
||||||
|
for RUN_ID in ${COVERAGE_PR_RUN_IDS//,/ }; do
|
||||||
|
echo "@@@ Processing run ${RUN_ID}"
|
||||||
|
|
||||||
|
# Create workflow artifacts directory
|
||||||
|
ARTIFACTS_DIR=${ARTIFACTS_ROOT}/${RUN_ID}
|
||||||
|
mkdir -p ${ARTIFACTS_DIR}
|
||||||
|
|
||||||
|
# Download artifact of this run, if exists
|
||||||
|
gh run download ${RUN_ID} --name coverage-pr-notification --dir ${ARTIFACTS_DIR} || true
|
||||||
|
ls -lsha ${ARTIFACTS_DIR}
|
||||||
|
|
||||||
|
# Move on if no notification is required
|
||||||
|
if [ ! -f ${ARTIFACTS_DIR}/pr-number.txt ]; then
|
||||||
|
echo "No notification found"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
echo "Posting notification found"
|
||||||
|
|
||||||
|
cat ${ARTIFACTS_DIR}/body.txt
|
||||||
|
gh pr comment $(cat ${ARTIFACTS_DIR}/pr-number.txt) --body-file ${ARTIFACTS_DIR}/body.txt
|
||||||
|
|
||||||
|
# Get the artifact ID
|
||||||
|
ARTIFACT_ID=$(gh api "repos/{owner}/{repo}/actions/runs/${RUN_ID}/artifacts" --jq '.artifacts[] | select(.name == "coverage-pr-notification") | .id')
|
||||||
|
|
||||||
|
# Delete it, so we only notify once
|
||||||
|
gh api --method DELETE "repos/{owner}/{repo}/actions/artifacts/${ARTIFACT_ID}"
|
||||||
|
done
|
||||||
Executable
+167
@@ -0,0 +1,167 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
# DESCRIPTION: Verilator: CI script for 'pages.yml', builds the GitHub Pages
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2025 Geza Lore
|
||||||
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
|
# This scipt build the content of the GitHub Pages for the repository.
|
||||||
|
# Currently this only hosts code coverage reports, but it would be possible to
|
||||||
|
# add any other contents to the page in parallel here.
|
||||||
|
|
||||||
|
# Developer note: You should be able to run this script in your local checkout
|
||||||
|
# if you have GitHub CLI (command 'gh') setup, authenticated ('gh auth login'),
|
||||||
|
# and have set a default repository ('gh repo set-default').
|
||||||
|
|
||||||
|
# Create pages root directory. The contents of this directory will be deployed
|
||||||
|
# and served via GitHubPages
|
||||||
|
readonly PAGES_ROOT=pages
|
||||||
|
mkdir -p ${PAGES_ROOT}
|
||||||
|
|
||||||
|
# Get the current repo URL - might differ on a fork
|
||||||
|
readonly REPO_URL=$(gh repo view --json url --jq .url)
|
||||||
|
|
||||||
|
# Set GITHUB_OUTPUT when run locally for testing
|
||||||
|
if [[ -z "$GITHUB_OUTPUT" ]]; then
|
||||||
|
GITHUB_OUTPUT=github-output.txt
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Populates ${PAGES_ROOT}/coverage-reports
|
||||||
|
compile_coverage_reports() {
|
||||||
|
# We will process all runs up to and including this date. This is chosen to be
|
||||||
|
# slightly less than the artifact retention period for simplicity.
|
||||||
|
local OLDEST=$(date --date="28 days ago" --iso-8601=date)
|
||||||
|
|
||||||
|
# Gather all coverage workflow runs within the time window
|
||||||
|
gh run list -w coverage.yml --limit 1000 --created ">=${OLDEST}" --json "databaseId,event,status,conclusion,createdAt,number" > recentRuns.json
|
||||||
|
echo @@@ Recent runs:
|
||||||
|
jq "." recentRuns.json
|
||||||
|
|
||||||
|
# Select completd runs that were not cancelled or skipped, sort by descending run number
|
||||||
|
jq 'sort_by(-.number) | map(select(.status == "completed" and (.conclusion == "success" or .conclusion == "failure")))' recentRuns.json > completedRuns.json
|
||||||
|
echo @@@ Completed with success or failure:
|
||||||
|
jq "." completedRuns.json
|
||||||
|
|
||||||
|
# Create artifacts root directory
|
||||||
|
local ARTIFACTS_ROOT=artifacts
|
||||||
|
mkdir -p ${ARTIFACTS_ROOT}
|
||||||
|
|
||||||
|
# Create coverage reports root directory
|
||||||
|
local COVERAGE_ROOT=${PAGES_ROOT}/coverage-reports
|
||||||
|
mkdir -p ${COVERAGE_ROOT}
|
||||||
|
|
||||||
|
# Create index page contents fragment
|
||||||
|
local CONTENTS=contents.tmp
|
||||||
|
echo > ${CONTENTS}
|
||||||
|
|
||||||
|
# Run IDs of PR jobs processed
|
||||||
|
local PR_RUN_IDS=""
|
||||||
|
|
||||||
|
# Iterate over all unique event types that triggered the workflows
|
||||||
|
for EVENT in $(jq -r 'map(.event) | sort | unique | .[]' completedRuns.json); do
|
||||||
|
echo "@@@ Processing '${EVENT}' runs"
|
||||||
|
|
||||||
|
# Emit section header if a report exists with this event type
|
||||||
|
EMIT_SECTION_HEADER=1
|
||||||
|
|
||||||
|
# For each worfklow run that was triggered by this event type
|
||||||
|
for RUN_ID in $(jq ".[] | select(.event == \"${EVENT}\") |.databaseId" completedRuns.json); do
|
||||||
|
echo "@@@ Processing run ${RUN_ID}"
|
||||||
|
|
||||||
|
# Extract the info of this run
|
||||||
|
jq ".[] | select(.databaseId == $RUN_ID)" completedRuns.json > workflow.json
|
||||||
|
jq "." workflow.json
|
||||||
|
|
||||||
|
# Record run ID of PR job
|
||||||
|
if [[ $EVENT == "pull_request" ]]; then
|
||||||
|
if [[ -z "$PR_RUN_IDS" ]]; then
|
||||||
|
PR_RUN_IDS="$RUN_ID"
|
||||||
|
else
|
||||||
|
PR_RUN_IDS="$PR_RUN_IDS,$RUN_ID"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create workflow artifacts directory
|
||||||
|
local ARTIFACTS_DIR=${ARTIFACTS_ROOT}/${RUN_ID}
|
||||||
|
mkdir -p ${ARTIFACTS_DIR}
|
||||||
|
|
||||||
|
# Download artifacts of this run, if exists
|
||||||
|
gh run download ${RUN_ID} --name coverage-report --dir ${ARTIFACTS_DIR} || true
|
||||||
|
ls -lsha ${ARTIFACTS_DIR}
|
||||||
|
|
||||||
|
# Move on if no coverage report is available
|
||||||
|
if [ ! -d ${ARTIFACTS_DIR}/report ]; then
|
||||||
|
echo "No coverage report found"
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
echo "Coverage report found"
|
||||||
|
|
||||||
|
# Emit section header
|
||||||
|
if [[ -n $EMIT_SECTION_HEADER ]]; then
|
||||||
|
unset EMIT_SECTION_HEADER
|
||||||
|
if [[ $EVENT == "pull_request" ]]; then
|
||||||
|
echo "<h4>Patch coverage reports for '${EVENT}' runs:</h4>" >> ${CONTENTS}
|
||||||
|
else
|
||||||
|
echo "<h4>Code coverage reports for '${EVENT}' runs:</h4>" >> ${CONTENTS}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create pages subdirectory
|
||||||
|
mv ${ARTIFACTS_DIR}/report ${COVERAGE_ROOT}/${RUN_ID}
|
||||||
|
|
||||||
|
# Add index page content
|
||||||
|
local WORKFLOW_CREATED=$(jq -r '.createdAt' workflow.json)
|
||||||
|
local WOFKRLOW_NUMBER=$(jq -r '.number' workflow.json)
|
||||||
|
cat >> ${CONTENTS} <<CONTENTS_TEMPLATE
|
||||||
|
Run <a href="${RUN_ID}/index.html">#${WOFKRLOW_NUMBER}</a>
|
||||||
|
| GitHub: <a href="${REPO_URL}/actions/runs/${RUN_ID}">${RUN_ID}</a>
|
||||||
|
| started at: ${WORKFLOW_CREATED}
|
||||||
|
CONTENTS_TEMPLATE
|
||||||
|
if [ -e ${ARTIFACTS_DIR}/pr-number.txt ]; then
|
||||||
|
local PRNUMBER=$(cat ${ARTIFACTS_DIR}/pr-number.txt)
|
||||||
|
echo " | Pull request: <a href=\"${REPO_URL}/pull/${PRNUMBER}\">#${PRNUMBER}</a>" >> ${CONTENTS}
|
||||||
|
fi
|
||||||
|
echo "<br>" >> ${CONTENTS}
|
||||||
|
done
|
||||||
|
|
||||||
|
# Section break
|
||||||
|
if [[ -z "$EMIT_SECTION_HEADER" ]]; then
|
||||||
|
echo "<hr>" >> ${CONTENTS}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Write coverage report index.html
|
||||||
|
cat > ${COVERAGE_ROOT}/index.html <<INDEX_TEMPLATE
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<title>Verilator CI coverage reports</title>
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
font-family: courier, serif;
|
||||||
|
background-color: #f3f3f3;
|
||||||
|
a {
|
||||||
|
color: #008fd7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
$(cat ${CONTENTS})
|
||||||
|
<h4>Assembled $(date --iso-8601=minutes --utc)</h1>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</html>
|
||||||
|
INDEX_TEMPLATE
|
||||||
|
|
||||||
|
# Report size
|
||||||
|
du -shc ${COVERAGE_ROOT}/*
|
||||||
|
|
||||||
|
# Set output
|
||||||
|
echo "coverage-pr-run-ids=${PR_RUN_IDS}" >> $GITHUB_OUTPUT
|
||||||
|
}
|
||||||
|
|
||||||
|
# Compilie coverage reports
|
||||||
|
compile_coverage_reports;
|
||||||
|
|
||||||
|
# You can build any other content here to be put under ${PAGES_ROOT}
|
||||||
+68
-67
@@ -1,11 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# DESCRIPTION: Verilator: CI main job script
|
# DESCRIPTION: Verilator: CI main job script
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Geza Lore. This program is free software; you
|
# SPDX-FileCopyrightText: 2020 Geza Lore
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@@ -27,11 +23,13 @@ if [ "$CI_OS_NAME" = "linux" ]; then
|
|||||||
elif [ "$CI_OS_NAME" = "osx" ]; then
|
elif [ "$CI_OS_NAME" = "osx" ]; then
|
||||||
export MAKE=make
|
export MAKE=make
|
||||||
NPROC=$(sysctl -n hw.logicalcpu)
|
NPROC=$(sysctl -n hw.logicalcpu)
|
||||||
|
# Disable ccache, doesn't always work in GitHub Actions
|
||||||
|
export OBJCACHE=
|
||||||
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
elif [ "$CI_OS_NAME" = "freebsd" ]; then
|
||||||
export MAKE=gmake
|
export MAKE=gmake
|
||||||
NPROC=$(sysctl -n hw.ncpu)
|
NPROC=$(sysctl -n hw.ncpu)
|
||||||
else
|
else
|
||||||
fatal "Unknown os: '$CI_OS_NAME'"
|
fatal "Unknown CI_OS_NAME: '$CI_OS_NAME'"
|
||||||
fi
|
fi
|
||||||
NPROC=$(expr $NPROC '+' 1)
|
NPROC=$(expr $NPROC '+' 1)
|
||||||
|
|
||||||
@@ -39,23 +37,27 @@ if [ "$CI_BUILD_STAGE_NAME" = "build" ]; then
|
|||||||
##############################################################################
|
##############################################################################
|
||||||
# Build verilator
|
# Build verilator
|
||||||
|
|
||||||
if [ "$COVERAGE" != 1 ]; then
|
autoconf
|
||||||
autoconf
|
CONFIGURE_ARGS="--enable-longtests --enable-ccwarn"
|
||||||
./configure --enable-longtests --enable-ccwarn --prefix="$INSTALL_DIR"
|
if [ "$CI_DEV_ASAN" = 1 ]; then
|
||||||
ccache -z
|
CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-dev-asan"
|
||||||
"$MAKE" -j "$NPROC" -k
|
CXX="$CXX -DVL_LEAK_CHECKS"
|
||||||
# 22.04: ccache -s -v
|
fi
|
||||||
ccache -s
|
if [ "$CI_DEV_GCOV" = 1 ]; then
|
||||||
if [ "$CI_OS_NAME" = "osx" ]; then
|
CONFIGURE_ARGS="$CONFIGURE_ARGS --enable-dev-gcov"
|
||||||
file bin/verilator_bin
|
fi
|
||||||
file bin/verilator_bin_dbg
|
./configure $CONFIGURE_ARGS --prefix="$INSTALL_DIR"
|
||||||
md5 bin/verilator_bin
|
ccache -z
|
||||||
md5 bin/verilator_bin_dbg
|
"$MAKE" -j "$NPROC" -k
|
||||||
stat bin/verilator_bin
|
# 22.04: ccache -s -v
|
||||||
stat bin/verilator_bin_dbg
|
ccache -s
|
||||||
fi
|
if [ "$CI_OS_NAME" = "osx" ]; then
|
||||||
else
|
file bin/verilator_bin
|
||||||
nodist/code_coverage --stages 0-2
|
file bin/verilator_bin_dbg
|
||||||
|
md5 bin/verilator_bin
|
||||||
|
md5 bin/verilator_bin_dbg
|
||||||
|
stat bin/verilator_bin
|
||||||
|
stat bin/verilator_bin_dbg
|
||||||
fi
|
fi
|
||||||
elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@@ -86,112 +88,111 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
|||||||
export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable
|
export VERILATOR_TEST_NO_GPROF=1 # gprof is a bit different on FreeBSD, disable
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run sanitize on Ubuntu 22.04 only
|
|
||||||
( [ "$CI_RUNS_ON" = 'ubuntu-22.04' ] || [ "$CI_RUNS_ON" = 'ubuntu-24.04' ] ) && sanitize='--sanitize' || sanitize=''
|
|
||||||
|
|
||||||
TEST_REGRESS=test_regress
|
TEST_REGRESS=test_regress
|
||||||
if [ "$CI_RELOC" == 1 ]; then
|
if [ "$CI_RELOC" == 1 ]; then
|
||||||
# Testing that the installation is relocatable.
|
# Testing that the installation is relocatable.
|
||||||
"$MAKE" install
|
"$MAKE" install
|
||||||
mkdir -p "$RELOC_DIR"
|
mkdir -p "$RELOC_DIR"
|
||||||
mv "$INSTALL_DIR" "$RELOC_DIR/relocated-install"
|
mv "$INSTALL_DIR" "$RELOC_DIR/relocated-install"
|
||||||
export VERILATOR_ROOT="$RELOC_DIR/relocated-install/share/verilator"
|
export VERILATOR_ROOT="$RELOC_DIR/relocated-install/share/verilator"
|
||||||
TEST_REGRESS="$RELOC_DIR/test_regress"
|
TEST_REGRESS="$RELOC_DIR/test_regress"
|
||||||
mv test_regress "$TEST_REGRESS"
|
mv test_regress "$TEST_REGRESS"
|
||||||
# Feeling brave?
|
NODIST="$RELOC_DIR/nodist"
|
||||||
find . -delete
|
mv nodist "$NODIST"
|
||||||
ls -la .
|
# Feeling brave?
|
||||||
|
find . -delete
|
||||||
|
ls -la .
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run the specified test
|
# Run the specified test
|
||||||
ccache -z
|
ccache -z
|
||||||
case $TESTS in
|
case $TESTS in
|
||||||
dist-vlt-0)
|
dist-vlt-0)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt $sanitize" DRIVER_HASHSET=--hashset=0/4
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt --driver-clean" DRIVER_HASHSET=--hashset=0/4
|
||||||
;;
|
;;
|
||||||
dist-vlt-1)
|
dist-vlt-1)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt $sanitize" DRIVER_HASHSET=--hashset=1/4
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt --driver-clean" DRIVER_HASHSET=--hashset=1/4
|
||||||
;;
|
;;
|
||||||
dist-vlt-2)
|
dist-vlt-2)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt $sanitize" DRIVER_HASHSET=--hashset=2/4
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt --driver-clean" DRIVER_HASHSET=--hashset=2/4
|
||||||
;;
|
;;
|
||||||
dist-vlt-3)
|
dist-vlt-3)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt $sanitize" DRIVER_HASHSET=--hashset=3/4
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist --vlt --driver-clean" DRIVER_HASHSET=--hashset=3/4
|
||||||
;;
|
;;
|
||||||
vltmt-0)
|
vltmt-0)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS=--vltmt DRIVER_HASHSET=--hashset=0/2
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt --driver-clean" DRIVER_HASHSET=--hashset=0/3
|
||||||
;;
|
;;
|
||||||
vltmt-1)
|
vltmt-1)
|
||||||
"$MAKE" -C "$TEST_REGRESS" SCENARIOS=--vltmt DRIVER_HASHSET=--hashset=1/2
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt --driver-clean" DRIVER_HASHSET=--hashset=1/3
|
||||||
;;
|
;;
|
||||||
coverage-all)
|
vltmt-2)
|
||||||
nodist/code_coverage --stages 1-
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt --driver-clean" DRIVER_HASHSET=--hashset=2/3
|
||||||
;;
|
;;
|
||||||
coverage-dist)
|
coverage-dist)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--dist
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--dist"
|
||||||
;;
|
;;
|
||||||
coverage-vlt-0)
|
coverage-vlt-0)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=0/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=0/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-1)
|
coverage-vlt-1)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=1/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=1/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-2)
|
coverage-vlt-2)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=2/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=2/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-3)
|
coverage-vlt-3)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=3/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=3/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-4)
|
coverage-vlt-4)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=4/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=4/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-5)
|
coverage-vlt-5)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=5/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=5/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-6)
|
coverage-vlt-6)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=6/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=6/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-7)
|
coverage-vlt-7)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=7/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=7/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-8)
|
coverage-vlt-8)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=8/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=8/10
|
||||||
;;
|
;;
|
||||||
coverage-vlt-9)
|
coverage-vlt-9)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vlt --hashset=9/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vlt" DRIVER_HASHSET=--hashset=9/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-0)
|
coverage-vltmt-0)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=0/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=0/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-1)
|
coverage-vltmt-1)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=1/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=1/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-2)
|
coverage-vltmt-2)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=2/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=2/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-3)
|
coverage-vltmt-3)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=3/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=3/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-4)
|
coverage-vltmt-4)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=4/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=4/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-5)
|
coverage-vltmt-5)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=5/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=5/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-6)
|
coverage-vltmt-6)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=6/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=6/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-7)
|
coverage-vltmt-7)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=7/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=7/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-8)
|
coverage-vltmt-8)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=8/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=8/10
|
||||||
;;
|
;;
|
||||||
coverage-vltmt-9)
|
coverage-vltmt-9)
|
||||||
nodist/code_coverage --stages 1- --scenarios=--vltmt --hashset=9/10
|
"$MAKE" -C "$TEST_REGRESS" SCENARIOS="--vltmt" DRIVER_HASHSET=--hashset=9/10
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
fatal "Unknown test: $TESTS"
|
fatal "Unknown TESTS: $TESTS"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
@@ -203,5 +204,5 @@ elif [ "$CI_BUILD_STAGE_NAME" = "test" ]; then
|
|||||||
else
|
else
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Unknown build stage
|
# Unknown build stage
|
||||||
fatal "Unknown build stage: '$CI_BUILD_STAGE_NAME'"
|
fatal "Unknown CI_BUILD_STAGE_NAME: '$CI_BUILD_STAGE_NAME'"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,10 +1,6 @@
|
|||||||
# DESCRIPTION: Verilator: CI Windows Power Shell - Compile Verilator
|
# DESCRIPTION: Verilator: CI Windows Power Shell - Compile Verilator
|
||||||
#
|
#
|
||||||
# Copyright 2024 by Wilson Snyder. This program is free software; you
|
# SPDX-FileCopyrightText: 2024 Wilson Snyder
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|||||||
+1
-5
@@ -1,10 +1,6 @@
|
|||||||
# DESCRIPTION: Verilator: CI Windows Power Shell - Verilate a test
|
# DESCRIPTION: Verilator: CI Windows Power Shell - Verilate a test
|
||||||
#
|
#
|
||||||
# Copyright 2024 by Wilson Snyder. This program is free software; you
|
# SPDX-FileCopyrightText: 2024 Wilson Snyder
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
#
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -1,12 +1,12 @@
|
|||||||
# DESCRIPTION: Dockerfile for env to build and fully test Verilator
|
# DESCRIPTION: Dockerfile for env to build and fully test Verilator
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
# Create the user
|
# Create the user
|
||||||
RUN groupadd verilator \
|
RUN groupadd verilator \
|
||||||
@@ -36,12 +36,14 @@ RUN apt-get update \
|
|||||||
help2man \
|
help2man \
|
||||||
libfl2 \
|
libfl2 \
|
||||||
libfl-dev \
|
libfl-dev \
|
||||||
libgoogle-perftools-dev \
|
libclang-rt-18-dev \
|
||||||
|
libjemalloc-dev \
|
||||||
libsystemc \
|
libsystemc \
|
||||||
libsystemc-dev \
|
libsystemc-dev \
|
||||||
numactl \
|
numactl \
|
||||||
perl \
|
perl \
|
||||||
python3 \
|
python3 \
|
||||||
|
python3-distro \
|
||||||
wget \
|
wget \
|
||||||
z3 \
|
z3 \
|
||||||
zlib1g \
|
zlib1g \
|
||||||
@@ -51,10 +53,14 @@ RUN apt-get update \
|
|||||||
|
|
||||||
WORKDIR /tmp
|
WORKDIR /tmp
|
||||||
|
|
||||||
RUN git clone https://github.com/veripool/vcddiff.git && \
|
COPY wavetools.conf /tmp/wavetools.conf
|
||||||
make -C vcddiff && \
|
ARG WGET_EXTRA_ARGS=
|
||||||
cp -p vcddiff/vcddiff /usr/local/bin/vcddiff && \
|
RUN . /tmp/wavetools.conf && \
|
||||||
rm -rf vcddiff
|
wget -q ${WGET_EXTRA_ARGS} -O /tmp/wavetools.tar.gz \
|
||||||
|
"https://github.com/hudson-trading/wavetools/releases/download/${WAVETOOLS_VERSION}/wavetools-${WAVETOOLS_VERSION}-linux-x86_64.tar.gz" && \
|
||||||
|
tar -xzf /tmp/wavetools.tar.gz -C /tmp && \
|
||||||
|
cp -p /tmp/wavetools-${WAVETOOLS_VERSION}-linux-x86_64/wavediff /usr/local/bin/wavediff && \
|
||||||
|
rm -rf /tmp/wavetools.tar.gz /tmp/wavetools-* /tmp/wavetools.conf
|
||||||
|
|
||||||
COPY build.sh /tmp/build.sh
|
COPY build.sh /tmp/build.sh
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
.. Copyright 2003-2024 by Wilson Snyder.
|
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
.. _Verilator Build Docker Container:
|
.. _verilator build docker container:
|
||||||
|
|
||||||
Verilator Build Docker Container
|
Verilator Build Docker Container
|
||||||
================================
|
================================
|
||||||
@@ -9,11 +9,11 @@ Verilator Build Docker Container
|
|||||||
This Verilator Build Docker Container is set up to compile and test a
|
This Verilator Build Docker Container is set up to compile and test a
|
||||||
Verilator build. It uses the following parameters:
|
Verilator build. It uses the following parameters:
|
||||||
|
|
||||||
- Source repository (default: https://github.com/verilator/verilator)
|
- Source repository (default: https://github.com/verilator/verilator)
|
||||||
|
|
||||||
- Source revision (default: master)
|
- Source revision (default: master)
|
||||||
|
|
||||||
- Compiler (GCC 10.3.0, clang 10.0.0, default: 10.3.0)
|
- Compiler (GCC 13.3.0, clang 18.1.3, default: 13.3.0)
|
||||||
|
|
||||||
The container is published as ``verilator/verilator-buildenv`` on `docker
|
The container is published as ``verilator/verilator-buildenv`` on `docker
|
||||||
hub
|
hub
|
||||||
@@ -31,18 +31,19 @@ To also run tests:
|
|||||||
|
|
||||||
docker run -ti verilator/verilator-buildenv test
|
docker run -ti verilator/verilator-buildenv test
|
||||||
|
|
||||||
To change the compiler:
|
To change the compiler use the `-e` switch to pass environment variables:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -e CC=clang-10 -e CXX=clang++-10 verilator/verilator-buildenv test
|
docker run -ti -e CXX=clang++-18 verilator/verilator-buildenv test
|
||||||
|
|
||||||
The tests that involve gdb are not working due to security restrictions.
|
The tests, that involve numactl are not working due to security
|
||||||
To run those too:
|
restrictions. To run those too, add the CAP_SYS_NICE capability during the
|
||||||
|
start of the container:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -e CC=clang-10 -e CXX=clang++-10 --cap-add=SYS_PTRACE --security-opt seccomp=unconfined verilator/verilator-buildenv test
|
docker run -ti --cap-add=CAP_SYS_NICE verilator/verilator-buildenv test
|
||||||
|
|
||||||
Rather then building using a remote git repository you may prefer to use a
|
Rather then building using a remote git repository you may prefer to use a
|
||||||
working copy on the local filesystem. Mount the local working copy path as
|
working copy on the local filesystem. Mount the local working copy path as
|
||||||
@@ -52,7 +53,7 @@ top of a repository:
|
|||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
docker run -ti -v ${PWD}:/tmp/repo -e REPO=/tmp/repo -e REV=`git rev-parse --short HEAD` --cap-add=SYS_PTRACE --security-opt seccomp=unconfined verilator/verilator-buildenv test
|
docker run -ti -v ${PWD}:/tmp/repo -e REPO=/tmp/repo -e REV=`git rev-parse --short HEAD` verilator/verilator-buildenv test
|
||||||
|
|
||||||
|
|
||||||
Rebuilding
|
Rebuilding
|
||||||
|
|||||||
@@ -1,15 +1,14 @@
|
|||||||
#!/bin/bash -e
|
#!/bin/bash -e
|
||||||
# DESCRIPTION: Build Verilator (inside container)
|
# DESCRIPTION: Build Verilator (inside container)
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
: "${REPO:=https://github.com/verilator/verilator}"
|
: "${REPO:=https://github.com/verilator/verilator}"
|
||||||
: "${REV:=master}"
|
: "${REV:=master}"
|
||||||
: "${CC:=gcc}"
|
|
||||||
: "${CXX:=g++}"
|
: "${CXX:=g++}"
|
||||||
|
|
||||||
SRCS=$PWD/verilator
|
SRCS=$PWD/verilator
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
WAVETOOLS_VERSION=v0.1.2
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
# DESCRIPTION: Dockerfile for image to run Verilator inside
|
# DESCRIPTION: Dockerfile for image to run Verilator inside
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
FROM ubuntu:22.04
|
FROM ubuntu:24.04
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& DEBIAN_FRONTEND=noninteractive \
|
&& DEBIAN_FRONTEND=noninteractive \
|
||||||
@@ -22,7 +22,7 @@ RUN apt-get update \
|
|||||||
help2man \
|
help2man \
|
||||||
libfl2 \
|
libfl2 \
|
||||||
libfl-dev \
|
libfl-dev \
|
||||||
libgoogle-perftools-dev \
|
libjemalloc-dev \
|
||||||
numactl \
|
numactl \
|
||||||
perl \
|
perl \
|
||||||
perl-doc \
|
perl-doc \
|
||||||
@@ -48,7 +48,8 @@ RUN git clone "${REPO}" verilator && \
|
|||||||
make && \
|
make && \
|
||||||
make install && \
|
make install && \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -r verilator
|
rm -r verilator && \
|
||||||
|
ccache -C
|
||||||
|
|
||||||
COPY verilator-wrap.sh /usr/local/bin/verilator-wrap.sh
|
COPY verilator-wrap.sh /usr/local/bin/verilator-wrap.sh
|
||||||
|
|
||||||
|
|||||||
+11
-11
@@ -1,4 +1,4 @@
|
|||||||
.. Copyright 2003-2024 by Wilson Snyder.
|
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
Verilator Executable Docker Container
|
Verilator Executable Docker Container
|
||||||
@@ -11,12 +11,12 @@ easily as a docker image, e.g.:
|
|||||||
|
|
||||||
docker run -ti verilator/verilator:latest --version
|
docker run -ti verilator/verilator:latest --version
|
||||||
|
|
||||||
This will pull the container from `docker hub
|
This will pull the container from `Docker Hub
|
||||||
<https://hub.docker.com/r/verilator/verilator>`_, run the latest Verilator and print
|
<https://hub.docker.com/r/verilator/verilator>`_, run the latest Verilator
|
||||||
Verilator's version.
|
and print Verilator's version.
|
||||||
|
|
||||||
Containers are automatically built and pushed to docker hub for all released versions, so you may
|
Containers are automatically built and pushed to docker hub for all
|
||||||
easily compare results across versions, e.g.:
|
released versions, so you may easily compare results across versions, e.g.:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ or
|
|||||||
./verilator-docker 4.030 --cc test.v
|
./verilator-docker 4.030 --cc test.v
|
||||||
|
|
||||||
If you prefer not to use ``verilator-docker`` you must give the container
|
If you prefer not to use ``verilator-docker`` you must give the container
|
||||||
access to your files as a volume with appropriate user rights. For example
|
access to your files as a volume with appropriate user rights. For example
|
||||||
to Verilate test.v:
|
to Verilate test.v:
|
||||||
|
|
||||||
::
|
::
|
||||||
@@ -68,9 +68,9 @@ Internals
|
|||||||
The Dockerfile builds Verilator and removes the tree when completed to
|
The Dockerfile builds Verilator and removes the tree when completed to
|
||||||
reduce the image size. The entrypoint is a wrapper script
|
reduce the image size. The entrypoint is a wrapper script
|
||||||
(``verilator-wrap.sh``). That script 1. calls Verilator, and 2. copies the
|
(``verilator-wrap.sh``). That script 1. calls Verilator, and 2. copies the
|
||||||
Verilated runtime files to the ``obj_dir`` or the ``-Mdir``
|
Verilated runtime files to the ``obj_dir`` or the ``-Mdir`` respectively.
|
||||||
respectively. This allows the user to have the files to they may later
|
This allows the user to have the files to they may later build the C++
|
||||||
build the C++ output with the matching runtime files. The wrapper also
|
output with the matching runtime files. The wrapper also patches the
|
||||||
patches the Verilated Makefile accordingly.
|
Verilated Makefile accordingly.
|
||||||
|
|
||||||
A hook is also defined and run by Docker Hub via automated builds.
|
A hook is also defined and run by Docker Hub via automated builds.
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# DESCRIPTION: Docker hub hook to pass SOURCE_COMMIT
|
# DESCRIPTION: Docker hub hook to pass SOURCE_COMMIT
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
docker build --build-arg SOURCE_COMMIT=${SOURCE_COMMIT} -f $DOCKERFILE_PATH -t $IMAGE_NAME .
|
docker build --build-arg SOURCE_COMMIT=${SOURCE_COMMIT} -f $DOCKERFILE_PATH -t $IMAGE_NAME .
|
||||||
|
|||||||
@@ -1,13 +1,13 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# DESCRIPTION: Docker hub hook to tag the latest release (stable)
|
# DESCRIPTION: Docker hub hook to tag the latest release (stable)
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
if [ "$SOURCE_BRANCH"="stable" ]; then
|
if [ "$SOURCE_BRANCH"="stable" ]; then
|
||||||
docker tag $IMAGE_NAME $DOCKER_REPO:latest
|
docker tag $IMAGE_NAME $DOCKER_REPO:latest
|
||||||
docker push $DOCKER_REPO:latest
|
docker push $DOCKER_REPO:latest
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# DESCRIPTION: Wrap a verilator call to run a docker container
|
# DESCRIPTION: Wrap a verilator call to run a docker container
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
docker pull verilator/verilator:$1 >/dev/null
|
docker pull verilator/verilator:$1 >/dev/null
|
||||||
|
|||||||
@@ -2,30 +2,30 @@
|
|||||||
# DESCRIPTION: Wrap a Verilator call and copy vlt includes
|
# DESCRIPTION: Wrap a Verilator call and copy vlt includes
|
||||||
# (inside docker container)
|
# (inside docker container)
|
||||||
#
|
#
|
||||||
# Copyright 2020 by Stefan Wallentowitz. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2020 Stefan Wallentowitz
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
perl /usr/local/bin/verilator "$@"
|
perl /usr/local/bin/verilator "$@"
|
||||||
status=$?
|
status=$?
|
||||||
if [ $status -ne 0 ]; then
|
if [ $status -ne 0 ]; then
|
||||||
exit $status
|
exit $status
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if user set an obj_dir
|
# Check if user set an obj_dir
|
||||||
obj_dir=$(echo " $@" | grep -oP '\s--Mdir\s*\K\S+')
|
obj_dir=$(echo " $@" | grep -oP '\s--Mdir\s*\K\S+')
|
||||||
if [ "$obj_dir" == "" ]; then
|
if [ "$obj_dir" == "" ]; then
|
||||||
obj_dir="obj_dir"
|
obj_dir="obj_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If the run was successful: Copy required files to allow build without this container
|
# If the run was successful: Copy required files to allow build without this container
|
||||||
if [ -e ${obj_dir} ]; then
|
if [ -e ${obj_dir} ]; then
|
||||||
# Copy files required for the build
|
# Copy files required for the build
|
||||||
mkdir -p ${obj_dir}/vlt
|
mkdir -p ${obj_dir}/vlt
|
||||||
cp -r /usr/local/share/verilator/bin ${obj_dir}/vlt
|
cp -r /usr/local/share/verilator/bin ${obj_dir}/vlt
|
||||||
cp -r /usr/local/share/verilator/include ${obj_dir}/vlt
|
cp -r /usr/local/share/verilator/include ${obj_dir}/vlt
|
||||||
# Point Makefile to that folder
|
# Point Makefile to that folder
|
||||||
sed -i 's/VERILATOR_ROOT = \/usr\/local\/share\/verilator/VERILATOR_ROOT = vlt/g' ${obj_dir}/*.mk
|
sed -i 's/VERILATOR_ROOT = \/usr\/local\/share\/verilator/VERILATOR_ROOT = vlt/g' ${obj_dir}/*.mk
|
||||||
fi
|
fi
|
||||||
|
|||||||
-36
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
# DESCRIPTION: codecov.io config
|
|
||||||
#
|
|
||||||
# Copyright 2020-2024 by Wilson Snyder. This program is free software; you
|
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
|
||||||
# Version 2.0.
|
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
|
||||||
####################
|
|
||||||
# Validate:
|
|
||||||
# curl --data-binary @codecov.yml https://codecov.io/validate
|
|
||||||
#
|
|
||||||
codecov:
|
|
||||||
require_ci_to_pass: false
|
|
||||||
coverage:
|
|
||||||
precision: 2
|
|
||||||
round: down
|
|
||||||
range: 50...100
|
|
||||||
ignore:
|
|
||||||
- "ci" #
|
|
||||||
- "docs" #
|
|
||||||
- "examples" #
|
|
||||||
- "include/gtkwave" #
|
|
||||||
- "include/vltstd" #
|
|
||||||
- "test_regress" #
|
|
||||||
parsers:
|
|
||||||
gcov:
|
|
||||||
branch_detection:
|
|
||||||
conditional: true
|
|
||||||
loop: true
|
|
||||||
method: false
|
|
||||||
macro: false
|
|
||||||
comment:
|
|
||||||
layout: "reach,diff,flags,tree"
|
|
||||||
behavior: default
|
|
||||||
require_changes: true
|
|
||||||
+152
-46
@@ -1,16 +1,18 @@
|
|||||||
# DESCRIPTION: Process this file with autoconf to produce a configure script.
|
# DESCRIPTION: Process this file with autoconf to produce a configure script.
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. Verilator is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU Lesser
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# General Public License Version 3 or the Perl Artistic License Version 2.0.
|
# or the Perl Artistic License Version 2.0.
|
||||||
|
# SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
# When releasing, also update header of Changes file, and CMakeLists.txt,
|
# When releasing, also update header of Changes file, and CMakeLists.txt,
|
||||||
# and commit using "devel release" or "Version bump" message
|
# and commit using "devel release" or "Version bump" message
|
||||||
|
# Then 'make distclean' 'autoconf' './configure' 'make' 'make test'
|
||||||
# Then 'make maintainer-dist'
|
# Then 'make maintainer-dist'
|
||||||
#AC_INIT([Verilator],[#.### YYYY-MM-DD])
|
#AC_INIT([Verilator],[#.### YYYY-MM-DD])
|
||||||
#AC_INIT([Verilator],[#.### devel])
|
#AC_INIT([Verilator],[#.### devel])
|
||||||
AC_INIT([Verilator],[5.030 2024-10-27],
|
AC_INIT([Verilator],[5.048 2026-04-26],
|
||||||
[https://verilator.org],
|
[https://verilator.org],
|
||||||
[verilator],[https://verilator.org])
|
[verilator],[https://verilator.org])
|
||||||
|
|
||||||
@@ -56,6 +58,22 @@ AC_ARG_ENABLE([partial-static],
|
|||||||
CFG_ENABLE_PARTIAL_STATIC=yes)
|
CFG_ENABLE_PARTIAL_STATIC=yes)
|
||||||
AC_MSG_RESULT($CFG_ENABLE_PARTIAL_STATIC)
|
AC_MSG_RESULT($CFG_ENABLE_PARTIAL_STATIC)
|
||||||
|
|
||||||
|
# Flag to enable compiling with AddressSanitizer
|
||||||
|
AC_MSG_CHECKING(whether to use AddressSanitizer)
|
||||||
|
AC_ARG_ENABLE([dev-asan],
|
||||||
|
[AS_HELP_STRING([--enable-dev-asan],
|
||||||
|
[Enable compiling Verilator with ASAN
|
||||||
|
AddressSanitizer for memory error detection.
|
||||||
|
This disables tcmalloc and jemalloc. Does not
|
||||||
|
affect Verilated models using ASAN.])],
|
||||||
|
[case "${enableval}" in
|
||||||
|
yes) CFG_WITH_DEV_ASAN=yes ;;
|
||||||
|
no) CFG_WITH_DEV_ASAN=no ;;
|
||||||
|
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-dev-asan]) ;;
|
||||||
|
esac],
|
||||||
|
CFG_WITH_DEV_ASAN=no)
|
||||||
|
AC_MSG_RESULT($CFG_WITH_DEV_ASAN)
|
||||||
|
|
||||||
# Flag to enable linking Verilator with tcmalloc if available
|
# Flag to enable linking Verilator with tcmalloc if available
|
||||||
AC_MSG_CHECKING(whether to use tcmalloc)
|
AC_MSG_CHECKING(whether to use tcmalloc)
|
||||||
AC_ARG_ENABLE([tcmalloc],
|
AC_ARG_ENABLE([tcmalloc],
|
||||||
@@ -68,21 +86,48 @@ AC_ARG_ENABLE([tcmalloc],
|
|||||||
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-tcmalloc]) ;;
|
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-tcmalloc]) ;;
|
||||||
esac],
|
esac],
|
||||||
[CFG_WITH_TCMALLOC=check;])
|
[CFG_WITH_TCMALLOC=check;])
|
||||||
AC_MSG_RESULT($CFG_WITH_TCMALLOC)
|
if test "$CFG_WITH_DEV_ASAN" = "yes"; then
|
||||||
|
CFG_WITH_TCMALLOC=no
|
||||||
|
AC_MSG_RESULT("disabled by --enable-dev-asan")
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT($CFG_WITH_TCMALLOC)
|
||||||
|
fi
|
||||||
|
|
||||||
# Flag to enable coverage build
|
# Flag to enable linking Verilator with jemalloc if available
|
||||||
AC_MSG_CHECKING(whether to build for coverage collection)
|
AC_MSG_CHECKING(whether to use jemalloc)
|
||||||
AC_ARG_ENABLE([coverage],
|
AC_ARG_ENABLE([jemalloc],
|
||||||
[AS_HELP_STRING([--enable-coverage],
|
[AS_HELP_STRING([--enable-jemalloc],
|
||||||
[Build Verilator for code coverage collection.
|
[Use libjemalloc for faster dynamic memory
|
||||||
|
management in Verilator binary. Preferred over
|
||||||
|
tcmalloc when both are available
|
||||||
|
@<:@default=check@:>@])],
|
||||||
|
[case "${enableval}" in
|
||||||
|
yes) CFG_WITH_JEMALLOC=yes ;;
|
||||||
|
no) CFG_WITH_JEMALLOC=no ;;
|
||||||
|
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-jemalloc]) ;;
|
||||||
|
esac],
|
||||||
|
[CFG_WITH_JEMALLOC=check;])
|
||||||
|
if test "$CFG_WITH_DEV_ASAN" = "yes"; then
|
||||||
|
CFG_WITH_JEMALLOC=no
|
||||||
|
AC_MSG_RESULT("disabled by --enable-dev-asan")
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT($CFG_WITH_JEMALLOC)
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Flag to enable code coverage build with gcov
|
||||||
|
AC_MSG_CHECKING(whether to build for gcov code coverage collection)
|
||||||
|
AC_ARG_ENABLE([dev-gcov],
|
||||||
|
[AS_HELP_STRING([--enable-dev-gcov],
|
||||||
|
[Build Verilator for code coverage collection with gcov.
|
||||||
For developers only.])],
|
For developers only.])],
|
||||||
[case "${enableval}" in
|
[case "${enableval}" in
|
||||||
yes) CFG_ENABLE_COVERAGE=yes ;;
|
yes) CFG_WITH_DEV_GCOV=yes ;;
|
||||||
no) CFG_ENABLE_COVERAGE=no ;;
|
no) CFG_WITH_DEV_GCOV=no ;;
|
||||||
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-coverage]) ;;
|
*) AC_MSG_ERROR([bad value '${enableval}' for --enable-dev-gcov]) ;;
|
||||||
esac],
|
esac],
|
||||||
CFG_ENABLE_COVERAGE=no)
|
CFG_WITH_DEV_GCOV=no)
|
||||||
AC_MSG_RESULT($CFG_ENABLE_COVERAGE)
|
AC_SUBST(CFG_WITH_DEV_GCOV)
|
||||||
|
AC_MSG_RESULT($CFG_WITH_DEV_GCOV)
|
||||||
|
|
||||||
# Special Substitutions - CFG_WITH_DEFENV
|
# Special Substitutions - CFG_WITH_DEFENV
|
||||||
AC_MSG_CHECKING(whether to use hardcoded paths)
|
AC_MSG_CHECKING(whether to use hardcoded paths)
|
||||||
@@ -176,8 +221,10 @@ AC_PROG_CXX
|
|||||||
AC_PROG_INSTALL
|
AC_PROG_INSTALL
|
||||||
|
|
||||||
AC_LANG_PUSH(C++)
|
AC_LANG_PUSH(C++)
|
||||||
cxx_version=$($CXX --version | head -1)
|
CFG_CXX_VERSION=`$CXX --version | head -1`
|
||||||
AC_MSG_RESULT([compiler is $CXX --version = $cxx_version])
|
AC_MSG_RESULT([compiler version... $CXX --version = $CFG_CXX_VERSION])
|
||||||
|
AC_SUBST(CFG_CXX_VERSION)
|
||||||
|
|
||||||
AC_MSG_CHECKING([that C++ compiler can compile simple program])
|
AC_MSG_CHECKING([that C++ compiler can compile simple program])
|
||||||
AC_RUN_IFELSE(
|
AC_RUN_IFELSE(
|
||||||
[AC_LANG_SOURCE([int main() { return 0; }])],
|
[AC_LANG_SOURCE([int main() { return 0; }])],
|
||||||
@@ -375,7 +422,7 @@ AC_DEFUN([_MY_LDLIBS_CHECK_OPT],
|
|||||||
])
|
])
|
||||||
|
|
||||||
# Add the coverage flags early as they influence later checks.
|
# Add the coverage flags early as they influence later checks.
|
||||||
if test "$CFG_ENABLE_COVERAGE" = "yes"; then
|
if test "$CFG_WITH_DEV_GCOV" = "yes"; then
|
||||||
_MY_CXX_CHECK_OPT(CXX,--coverage)
|
_MY_CXX_CHECK_OPT(CXX,--coverage)
|
||||||
# Otherwise inline may not show as uncovered
|
# Otherwise inline may not show as uncovered
|
||||||
# If we use this then e.g. verilated.h functions properly show up
|
# If we use this then e.g. verilated.h functions properly show up
|
||||||
@@ -387,11 +434,19 @@ if test "$CFG_ENABLE_COVERAGE" = "yes"; then
|
|||||||
# _MY_CXX_CHECK_OPT(CXX,-fkeep-inline-functions)
|
# _MY_CXX_CHECK_OPT(CXX,-fkeep-inline-functions)
|
||||||
# Otherwise static may not show as uncovered
|
# Otherwise static may not show as uncovered
|
||||||
_MY_CXX_CHECK_OPT(CXX,-fkeep-static-functions)
|
_MY_CXX_CHECK_OPT(CXX,-fkeep-static-functions)
|
||||||
# Exceptions can pollute the branch coverage data
|
# Similarly for inline functions. - This is too slow. See Makefile_obj instead.
|
||||||
_MY_CXX_CHECK_OPT(CXX,-fno-exceptions)
|
#_MY_CXX_CHECK_OPT(CXX,-fkeep-inline-functions)
|
||||||
# Define-out some impossible stuff
|
# Make sure profiling is thread-safe
|
||||||
|
_MY_CXX_CHECK_OPT(CXX,-fprofile-update=atomic)
|
||||||
|
# Ensure data files can be written from parallel runs
|
||||||
|
_MY_CXX_CHECK_OPT(CXX,-fprofile-reproducible=parallel-runs)
|
||||||
|
# Save source files as absolute paths in gcno files
|
||||||
|
_MY_CXX_CHECK_OPT(CXX,-fprofile-abs-path)
|
||||||
|
# Define so compiled code can know
|
||||||
_MY_CXX_CHECK_OPT(CXX,-DVL_GCOV)
|
_MY_CXX_CHECK_OPT(CXX,-DVL_GCOV)
|
||||||
|
AC_DEFINE([HAVE_DEV_GCOV],[1],[Defined if compiled with code coverage collection for gcov])]
|
||||||
fi
|
fi
|
||||||
|
AC_SUBST(HAVE_DEV_GCOV)
|
||||||
|
|
||||||
# Compiler flags to enable profiling
|
# Compiler flags to enable profiling
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_PROFILE,-pg)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_PROFILE,-pg)
|
||||||
@@ -429,10 +484,21 @@ AC_SUBST(CFG_CXXFLAGS_COROUTINES)
|
|||||||
AC_SUBST(HAVE_COROUTINES)
|
AC_SUBST(HAVE_COROUTINES)
|
||||||
|
|
||||||
# Flags for compiling Verilator internals including parser always
|
# Flags for compiling Verilator internals including parser always
|
||||||
|
if test "$CFG_WITH_DEV_ASAN" = "yes"; then
|
||||||
|
_MY_CXX_CHECK_IFELSE(-fsanitize=address -DVL_ASAN,
|
||||||
|
[CFG_CXXFLAGS_SRC="$CFG_CXXFLAGS_SRC -fsanitize=address -DVL_ASAN"
|
||||||
|
CFG_LDFLAGS_SRC="$CFG_LDFLAGS_SRC -fsanitize=address"
|
||||||
|
AC_DEFINE([HAVE_DEV_ASAN],[1],[Defined if built with AddresSanitizer])]
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
AC_SUBST(HAVE_DEV_ASAN)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Qunused-arguments)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Qunused-arguments)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-faligned-new)
|
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Wno-unused-parameter)
|
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Wno-shadow)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Wno-shadow)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Wno-unnecessary-virtual-specifier)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Wno-unused-parameter)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-Xclang -fno-pch-timestamp)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-faligned-new)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-exceptions)
|
||||||
AC_SUBST(CFG_CXXFLAGS_SRC)
|
AC_SUBST(CFG_CXXFLAGS_SRC)
|
||||||
|
|
||||||
# Flags for compiling Verilator parser always (in addition to above CFG_CXXFLAGS_SRC)
|
# Flags for compiling Verilator parser always (in addition to above CFG_CXXFLAGS_SRC)
|
||||||
@@ -443,16 +509,22 @@ _MY_CXX_CHECK_OPT(CFG_CXXFLAGS_PARSER,-Wno-unused)
|
|||||||
AC_SUBST(CFG_CXXFLAGS_PARSER)
|
AC_SUBST(CFG_CXXFLAGS_PARSER)
|
||||||
|
|
||||||
# Flags for compiling the debug version of Verilator (in addition to above CFG_CXXFLAGS_SRC)
|
# Flags for compiling the debug version of Verilator (in addition to above CFG_CXXFLAGS_SRC)
|
||||||
if test "$CFG_ENABLE_COVERAGE" = "no"; then # Do not optimize for the coverage build
|
if test "$CFG_WITH_DEV_GCOV" = "no"; then # Do not optimize for the coverage build
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DEBUG,-Og)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DBG,-Og)
|
||||||
fi
|
fi
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DEBUG,-ggdb)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DBG,-ggdb)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DEBUG,-gz)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_DBG,-gz)
|
||||||
AC_SUBST(CFG_CXXFLAGS_DEBUG)
|
AC_SUBST(CFG_CXXFLAGS_DBG)
|
||||||
|
|
||||||
# Flags for linking the debug version of Verilator (in addition to above CFG_LDFLAGS_SRC)
|
# Flags for linking the debug version of Verilator (in addition to above CFG_LDFLAGS_SRC)
|
||||||
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_DEBUG,-gz)
|
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_DBG,-gz)
|
||||||
AC_SUBST(CFG_LDFLAGS_DEBUG)
|
AC_SUBST(CFG_LDFLAGS_DBG)
|
||||||
|
|
||||||
|
# Flags for compiling the optimized version of Verilator (in addition to above CFG_CXXFLAGS_SRC)
|
||||||
|
if test "$CFG_WITH_DEV_GCOV" = "no"; then # Do not optimize for the coverage build
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_OPT,-O3)
|
||||||
|
fi
|
||||||
|
AC_SUBST(CFG_CXXFLAGS_OPT)
|
||||||
|
|
||||||
# Flags for Verilated makefile
|
# Flags for Verilated makefile
|
||||||
# For example, -Wno-div-by-zero isn't in 4.1.2
|
# For example, -Wno-div-by-zero isn't in 4.1.2
|
||||||
@@ -467,22 +539,27 @@ CFG_CXX_FLAGS_CMAKE="-faligned-new"
|
|||||||
m4_foreach([cflag],[
|
m4_foreach([cflag],[
|
||||||
[-fbracket-depth=4096],
|
[-fbracket-depth=4096],
|
||||||
[-fcf-protection=none],
|
[-fcf-protection=none],
|
||||||
|
[-Xclang -fno-pch-timestamp],
|
||||||
[-mno-cet],
|
[-mno-cet],
|
||||||
[-Qunused-arguments],
|
[-Qunused-arguments],
|
||||||
[-Wno-bool-operation],
|
[-Wno-bool-operation],
|
||||||
[-Wno-c++11-narrowing],
|
[-Wno-c++11-narrowing],
|
||||||
[-Wno-constant-logical-operand],
|
[-Wno-constant-logical-operand],
|
||||||
|
[-Wno-int-in-bool-context],
|
||||||
[-Wno-non-pod-varargs],
|
[-Wno-non-pod-varargs],
|
||||||
[-Wno-parentheses-equality],
|
[-Wno-parentheses-equality],
|
||||||
[-Wno-shadow],
|
[-Wno-shadow],
|
||||||
[-Wno-sign-compare],
|
[-Wno-sign-compare],
|
||||||
|
[-Wno-subobject-linkage],
|
||||||
[-Wno-tautological-bitwise-compare],
|
[-Wno-tautological-bitwise-compare],
|
||||||
[-Wno-tautological-compare],
|
[-Wno-tautological-compare],
|
||||||
[-Wno-uninitialized],
|
[-Wno-uninitialized],
|
||||||
|
[-Wno-unnecessary-virtual-specifier],
|
||||||
[-Wno-unused-but-set-parameter],
|
[-Wno-unused-but-set-parameter],
|
||||||
[-Wno-unused-but-set-variable],
|
[-Wno-unused-but-set-variable],
|
||||||
[-Wno-unused-parameter],
|
[-Wno-unused-parameter],
|
||||||
[-Wno-unused-variable]],[
|
[-Wno-unused-variable],
|
||||||
|
[-Wno-vla-cxx-extension]],[
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_NO_UNUSED,cflag)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_NO_UNUSED,cflag)
|
||||||
# CMake will test what flags work itself, so pass all flags through to it
|
# CMake will test what flags work itself, so pass all flags through to it
|
||||||
CFG_CXX_FLAGS_CMAKE="$CFG_CXX_FLAGS_CMAKE cflag"
|
CFG_CXX_FLAGS_CMAKE="$CFG_CXX_FLAGS_CMAKE cflag"
|
||||||
@@ -512,9 +589,11 @@ if test "$CFG_ENABLE_PARTIAL_STATIC" = "yes"; then
|
|||||||
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -static-libgcc)
|
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -static-libgcc)
|
||||||
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -static-libstdc++)
|
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -static-libstdc++)
|
||||||
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -Xlinker -gc-sections)
|
_MY_LDLIBS_CHECK_OPT(CFG_LDFLAGS_SRC, -Xlinker -gc-sections)
|
||||||
LTCMALLOC=-l:libtcmalloc_minimal.a
|
LTCMALLOC="-Wl,--whole-archive -l:libtcmalloc_minimal.a -Wl,--no-whole-archive"
|
||||||
|
LJEMALLOC="-Wl,--whole-archive -l:libjemalloc.a -Wl,--no-whole-archive"
|
||||||
else
|
else
|
||||||
LTCMALLOC=-ltcmalloc_minimal
|
LTCMALLOC=-ltcmalloc_minimal
|
||||||
|
LJEMALLOC=-ljemalloc
|
||||||
fi
|
fi
|
||||||
AC_SUBST(CFG_LDFLAGS_SRC)
|
AC_SUBST(CFG_LDFLAGS_SRC)
|
||||||
AC_SUBST(CFG_LDFLAGS_VERILATED)
|
AC_SUBST(CFG_LDFLAGS_VERILATED)
|
||||||
@@ -530,21 +609,51 @@ _MY_LDLIBS_CHECK_OPT(CFG_LIBS, -latomic)
|
|||||||
_MY_LDLIBS_CHECK_OPT(CFG_LIBS, -lbcrypt)
|
_MY_LDLIBS_CHECK_OPT(CFG_LIBS, -lbcrypt)
|
||||||
_MY_LDLIBS_CHECK_OPT(CFG_LIBS, -lpsapi)
|
_MY_LDLIBS_CHECK_OPT(CFG_LIBS, -lpsapi)
|
||||||
|
|
||||||
# Check if tcmalloc is available based on --enable-tcmalloc
|
# Check if jemalloc is available based on --enable-jemalloc
|
||||||
|
# jemalloc is preferred over tcmalloc when both are available
|
||||||
|
CFG_HAVE_JEMALLOC=no
|
||||||
_MY_LDLIBS_CHECK_IFELSE(
|
_MY_LDLIBS_CHECK_IFELSE(
|
||||||
$LTCMALLOC,
|
$LJEMALLOC,
|
||||||
[if test "$CFG_WITH_TCMALLOC" != "no"; then
|
[if test "$CFG_WITH_JEMALLOC" != "no"; then
|
||||||
CFG_LIBS="$LTCMALLOC $CFG_LIBS";
|
CFG_LIBS="$LJEMALLOC $CFG_LIBS";
|
||||||
# If using tcmalloc, add some extra options to make the compiler not assume
|
CFG_HAVE_JEMALLOC=yes;
|
||||||
# it is using it's own versions of the standard library functions
|
# If using jemalloc, add some extra options to make the compiler not assume
|
||||||
|
# it is using its own versions of the standard library functions
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-malloc)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-malloc)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-calloc)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-calloc)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-realloc)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-realloc)
|
||||||
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-free)
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-free)
|
||||||
|
AC_DEFINE([HAVE_JEMALLOC],[1],[Defined if have jemalloc])
|
||||||
|
fi],
|
||||||
|
[if test "$CFG_WITH_JEMALLOC" = "yes"; then
|
||||||
|
AC_MSG_ERROR([--enable-jemalloc was given but test for ${LJEMALLOC} failed])
|
||||||
|
fi])
|
||||||
|
AC_SUBST(HAVE_JEMALLOC)
|
||||||
|
|
||||||
|
# Check if tcmalloc is available based on --enable-tcmalloc
|
||||||
|
# Only use tcmalloc if jemalloc was not found/enabled
|
||||||
|
if test "$CFG_HAVE_JEMALLOC" = "yes"; then
|
||||||
|
AC_MSG_NOTICE([jemalloc found, skipping tcmalloc check])
|
||||||
|
else
|
||||||
|
CFG_HAVE_TCMALLOC=no
|
||||||
|
_MY_LDLIBS_CHECK_IFELSE(
|
||||||
|
$LTCMALLOC,
|
||||||
|
[if test "$CFG_WITH_TCMALLOC" != "no"; then
|
||||||
|
CFG_LIBS="$LTCMALLOC $CFG_LIBS";
|
||||||
|
CFG_HAVE_TCMALLOC=yes;
|
||||||
|
# If using tcmalloc, add some extra options to make the compiler not assume
|
||||||
|
# it is using its own versions of the standard library functions
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-malloc)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-calloc)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-realloc)
|
||||||
|
_MY_CXX_CHECK_OPT(CFG_CXXFLAGS_SRC,-fno-builtin-free)
|
||||||
|
AC_DEFINE([HAVE_TCMALLOC],[1],[Defined if have tcmalloc])
|
||||||
fi],
|
fi],
|
||||||
[if test "$CFG_WITH_TCMALLOC" = "yes"; then
|
[if test "$CFG_WITH_TCMALLOC" = "yes"; then
|
||||||
AC_MSG_ERROR([--enable-tcmalloc was given but test for ${LTCMALLOC} failed])
|
AC_MSG_ERROR([--enable-tcmalloc was given but test for ${LTCMALLOC} failed])
|
||||||
fi])
|
fi])
|
||||||
|
fi
|
||||||
|
AC_SUBST(HAVE_TCMALLOC)
|
||||||
AC_SUBST(CFG_LIBS)
|
AC_SUBST(CFG_LIBS)
|
||||||
|
|
||||||
# Need C++14 at least
|
# Need C++14 at least
|
||||||
@@ -552,18 +661,15 @@ AC_SUBST(CFG_LIBS)
|
|||||||
AC_DEFUN([_MY_CXX_CHECK_CXX_VER],
|
AC_DEFUN([_MY_CXX_CHECK_CXX_VER],
|
||||||
[# _MY_CXX_CHECK_CXX_VER(flag) -- Check if compiler runs C++14
|
[# _MY_CXX_CHECK_CXX_VER(flag) -- Check if compiler runs C++14
|
||||||
# Set $_my_result
|
# Set $_my_result
|
||||||
AC_LINK_IFELSE(
|
AC_RUN_IFELSE(
|
||||||
[AC_LANG_PROGRAM([#include <thread>
|
[AC_LANG_PROGRAM([#include <thread>
|
||||||
#if (__cplusplus < 201402L)
|
#if (__cplusplus < 201402L)
|
||||||
# error "Too old"
|
# error "Too old"
|
||||||
#endif
|
#endif
|
||||||
], [[ ]])],
|
], [[
|
||||||
[_my_result=yes
|
]])],
|
||||||
if test -s conftest.err; then
|
[_my_result=yes],
|
||||||
if grep -e "$1" conftest.err >/dev/null; then
|
[_my_result=no],
|
||||||
_my_result=no
|
|
||||||
fi
|
|
||||||
fi],
|
|
||||||
[_my_result=no])
|
[_my_result=no])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
+23
-20
@@ -1,3 +1,6 @@
|
|||||||
|
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
|
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
Contributing to Verilator
|
Contributing to Verilator
|
||||||
=========================
|
=========================
|
||||||
|
|
||||||
@@ -7,8 +10,8 @@ This contributing document contains some suggestions that may make
|
|||||||
contributions flow more efficiently.
|
contributions flow more efficiently.
|
||||||
|
|
||||||
|
|
||||||
Did you find a bug?
|
Did you find a Verilator bug?
|
||||||
-------------------
|
-----------------------------
|
||||||
|
|
||||||
- Please **ensure the bug was not already reported** by searching
|
- Please **ensure the bug was not already reported** by searching
|
||||||
`Verilator Issues <https://verilator.org/issues>`__.
|
`Verilator Issues <https://verilator.org/issues>`__.
|
||||||
@@ -23,13 +26,13 @@ Did you find a bug?
|
|||||||
demonstrating the bug and expected behavior that is not occurring.
|
demonstrating the bug and expected behavior that is not occurring.
|
||||||
|
|
||||||
- The ideal example works against other simulators, and is in the
|
- The ideal example works against other simulators, and is in the
|
||||||
test_regress/t test format, as described in
|
test_regress/t test format, as described in `Verilator Internals
|
||||||
`Verilator Internals Documentation
|
Documentation
|
||||||
<https://github.com/verilator/verilator/blob/master/docs/internals.rst>`__.
|
<https://github.com/verilator/verilator/blob/master/docs/internals.rst>`__.
|
||||||
|
|
||||||
|
|
||||||
Did you write a patch that fixes a bug?
|
Did you write a patch that fixes a Verilator bug?
|
||||||
---------------------------------------
|
-------------------------------------------------
|
||||||
|
|
||||||
- Please `Open a new Verilator issue <https://verilator.org/issues/new>`__
|
- Please `Open a new Verilator issue <https://verilator.org/issues/new>`__
|
||||||
if there is not one already describing the bug.
|
if there is not one already describing the bug.
|
||||||
@@ -38,18 +41,18 @@ Did you write a patch that fixes a bug?
|
|||||||
<https://github.com/verilator/verilator/pulls>`__.
|
<https://github.com/verilator/verilator/pulls>`__.
|
||||||
|
|
||||||
- See the coding conventions, and other developer information in
|
- See the coding conventions, and other developer information in
|
||||||
``docs/internals.rst`` in the distribution, or as rendered at
|
``docs/internals.rst`` in the distribution, or as rendered at `Verilator
|
||||||
`Verilator Internals Documentation
|
Internals Documentation
|
||||||
<https://github.com/verilator/verilator/blob/master/docs/internals.rst>`__.
|
<https://github.com/verilator/verilator/blob/master/docs/internals.rst>`__.
|
||||||
|
|
||||||
- Verilator uses GitHub Actions to provide continuous integration. You
|
- Verilator uses GitHub Actions to provide continuous integration. You may
|
||||||
may want to enable Actions on your GitHub branch to ensure your changes
|
want to enable Actions on your GitHub branch to ensure your changes keep
|
||||||
keep the tests passing.
|
the tests passing.
|
||||||
|
|
||||||
- Your source-code contributions must be certified as open source,
|
- Your source-code contributions must be certified as open source, under
|
||||||
under the `Developer Certificate of
|
the `Developer Certificate of Origin
|
||||||
Origin <https://developercertificate.org/>`__. On your first
|
<https://developercertificate.org/>`__. On your first contribution, you
|
||||||
contribution, you must either:
|
must either:
|
||||||
|
|
||||||
- Have your patch include the addition of your name to `docs/CONTRIBUTORS
|
- Have your patch include the addition of your name to `docs/CONTRIBUTORS
|
||||||
<CONTRIBUTORS>`__ (preferred).
|
<CONTRIBUTORS>`__ (preferred).
|
||||||
@@ -72,12 +75,12 @@ Did you write a patch that fixes a bug?
|
|||||||
- Most important is we get your patch.
|
- Most important is we get your patch.
|
||||||
|
|
||||||
|
|
||||||
Do you have questions?
|
Do you have questions on Verilator?
|
||||||
----------------------
|
-----------------------------------
|
||||||
|
|
||||||
- Please see FAQ section and rest of the `Verilator
|
- Please see FAQ section and rest of the `Verilator manual
|
||||||
manual <https://verilator.org/verilator_doc.html>`__, or `Verilator
|
<https://verilator.org/verilator_doc.html>`__, or `Verilator manual (PDF)
|
||||||
manual (PDF) <https://verilator.org/verilator_doc.pdf>`__.
|
<https://verilator.org/verilator_doc.pdf>`__.
|
||||||
|
|
||||||
- Ask any question in the `Verilator forum
|
- Ask any question in the `Verilator forum
|
||||||
<https://verilator.org/forum>`__.
|
<https://verilator.org/forum>`__.
|
||||||
|
|||||||
+84
-13
@@ -3,15 +3,16 @@ under the Developer Certificate of Origin (https://developercertificate.org/).
|
|||||||
|
|
||||||
Please see the Verilator manual for 200+ additional contributors. Thanks to all.
|
Please see the Verilator manual for 200+ additional contributors. Thanks to all.
|
||||||
|
|
||||||
|
404allen404
|
||||||
Adam Bagley
|
Adam Bagley
|
||||||
Adrian Sampson
|
Adrian Sampson
|
||||||
Adrien Le Masle
|
Adrien Le Masle
|
||||||
Ahmed El-Mahmoudy
|
أحمد المحمودي (Ahmed El-Mahmoudy)
|
||||||
Aidan McNay
|
Aidan McNay
|
||||||
Aleksander Kiryk
|
Aleksander Kiryk
|
||||||
Alex Chadwick
|
Alex Chadwick
|
||||||
Alex Solomatnikov
|
Alex Solomatnikov
|
||||||
Àlex Torregrosa
|
Alex Zhou
|
||||||
Aliaksei Chapyzhenka
|
Aliaksei Chapyzhenka
|
||||||
Ameya Vikram Singh
|
Ameya Vikram Singh
|
||||||
Andrea Calabrese
|
Andrea Calabrese
|
||||||
@@ -19,55 +20,71 @@ Andreas Kuster
|
|||||||
Andrei Kostovski
|
Andrei Kostovski
|
||||||
Andrew Miloradovsky
|
Andrew Miloradovsky
|
||||||
Andrew Nolte
|
Andrew Nolte
|
||||||
|
Andrew Voznytsa
|
||||||
Anthony Donlon
|
Anthony Donlon
|
||||||
|
Anthony Moore
|
||||||
Arkadiusz Kozdra
|
Arkadiusz Kozdra
|
||||||
Arthur Rosa
|
Arthur Rosa
|
||||||
|
Artur Bieniek
|
||||||
|
AUDIY
|
||||||
Aylon Chaim Porat
|
Aylon Chaim Porat
|
||||||
Bartłomiej Chmiel
|
Bartłomiej Chmiel
|
||||||
|
Brian Li
|
||||||
Cameron Kirk
|
Cameron Kirk
|
||||||
|
Cameron Waite
|
||||||
Chih-Mao Chen
|
Chih-Mao Chen
|
||||||
Chris Bachhuber
|
Chris Bachhuber
|
||||||
Chris Randall
|
Chris Randall
|
||||||
|
Christian Hecken
|
||||||
Christopher Taylor
|
Christopher Taylor
|
||||||
Chuxuan Wang
|
Chuxuan Wang
|
||||||
Chykon
|
Chykon
|
||||||
|
Congcong Cai
|
||||||
Conor McCullough
|
Conor McCullough
|
||||||
Dan Petrisko
|
Dan Ruelas-Petrisko
|
||||||
Daniel Bates
|
Daniel Bates
|
||||||
|
Danny Oler
|
||||||
|
Dave Sargeant
|
||||||
David Horton
|
David Horton
|
||||||
David Ledger
|
David Ledger
|
||||||
David Metz
|
David Metz
|
||||||
David Stanford
|
David Stanford
|
||||||
David Turner
|
David Turner
|
||||||
Dercury
|
Dercury
|
||||||
|
Diego Roux
|
||||||
|
Dominick Grochowina
|
||||||
Don Williamson
|
Don Williamson
|
||||||
Drew Ranck
|
Drew Ranck
|
||||||
Drew Taussig
|
Drew Taussig
|
||||||
Driss Hafdi
|
Driss Hafdi
|
||||||
Edgar E. Iglesias
|
Edgar E. Iglesias
|
||||||
|
Eric Mejdrich
|
||||||
Eric Müller
|
Eric Müller
|
||||||
Eric Rippey
|
Eric Rippey
|
||||||
|
Eunseo Song
|
||||||
Ethan Sifferman
|
Ethan Sifferman
|
||||||
Eyck Jentzsch
|
Eyck Jentzsch
|
||||||
Furqan Nadir
|
Fabian Keßler-Schulz
|
||||||
Fabian Keßler
|
|
||||||
Fan Shupei
|
Fan Shupei
|
||||||
february cozzocrea
|
|
||||||
Felix Neumärker
|
Felix Neumärker
|
||||||
Felix Yan
|
Felix Yan
|
||||||
Frans Skarman
|
Frans Skarman
|
||||||
Fuad Ismail
|
Fuad Ismail
|
||||||
|
Furqan Nadir
|
||||||
G-A. Kamendje
|
G-A. Kamendje
|
||||||
Garrett Smith
|
Garrett Smith
|
||||||
|
George Polack
|
||||||
Geza Lore
|
Geza Lore
|
||||||
Gianfranco Costamagna
|
Gianfranco Costamagna
|
||||||
Gijs Burghoorn
|
Gijs Burghoorn
|
||||||
|
Gilberto Abram
|
||||||
Glen Gibb
|
Glen Gibb
|
||||||
Gökçe Aydos
|
|
||||||
Graham Rushton
|
Graham Rushton
|
||||||
|
Greg Davill
|
||||||
Guokai Chen
|
Guokai Chen
|
||||||
Gus Smith
|
Gus Smith
|
||||||
Gustav Svensk
|
Gustav Svensk
|
||||||
|
Gökçe Aydos
|
||||||
Han Qi
|
Han Qi
|
||||||
Harald Heckmann
|
Harald Heckmann
|
||||||
Hennadii Chernyshchyk
|
Hennadii Chernyshchyk
|
||||||
@@ -76,12 +93,16 @@ Huang Rui
|
|||||||
Huanghuang Zhou
|
Huanghuang Zhou
|
||||||
HungMingWu
|
HungMingWu
|
||||||
HyungKi Jeong
|
HyungKi Jeong
|
||||||
Ícaro Lima
|
Ibrahim Burak Yorulmaz
|
||||||
|
Igor Zaworski
|
||||||
Ilya Barkov
|
Ilya Barkov
|
||||||
Iru Cai
|
Iru Cai
|
||||||
Ivan Vnučec
|
Ivan Vnučec
|
||||||
Iztok Jeras
|
Iztok Jeras
|
||||||
Jake Merdich
|
Jake Merdich
|
||||||
|
Jakub Michalski
|
||||||
|
Jakub Wasilewski
|
||||||
|
jalcim
|
||||||
James Bailey
|
James Bailey
|
||||||
James Hanlon
|
James Hanlon
|
||||||
James Hutchinson
|
James Hutchinson
|
||||||
@@ -90,31 +111,39 @@ James Shi
|
|||||||
Jamey Hicks
|
Jamey Hicks
|
||||||
Jamie Iles
|
Jamie Iles
|
||||||
Jan Van Winkel
|
Jan Van Winkel
|
||||||
Jiangjie Weng
|
|
||||||
Jean Berniolles
|
Jean Berniolles
|
||||||
|
Jean-Nicolas Strauss
|
||||||
|
Jens Yuechao Liu
|
||||||
Jeremy Bennett
|
Jeremy Bennett
|
||||||
Jesse Taube
|
Jesse Taube
|
||||||
Jevin Sweval
|
Jevin Sweval
|
||||||
Jiacheng Qian
|
Jiacheng Qian
|
||||||
Jiamin Zhu
|
Jiamin Zhu
|
||||||
|
Jiangjie Weng
|
||||||
Jinyan Xu
|
Jinyan Xu
|
||||||
|
Jitesh Nayak
|
||||||
Jiuyang Liu
|
Jiuyang Liu
|
||||||
|
Joel Bodenmann
|
||||||
Joey Liu
|
Joey Liu
|
||||||
John Coiner
|
John Coiner
|
||||||
John Demme
|
John Demme
|
||||||
|
John Khoo
|
||||||
John Wehle
|
John Wehle
|
||||||
Jonathan Drolet
|
Jonathan Drolet
|
||||||
Jonathan Schröter
|
Jonathan Schröter
|
||||||
Jordan McConnon
|
Jordan McConnon
|
||||||
|
Jose Drowne
|
||||||
Jose Loyola
|
Jose Loyola
|
||||||
Josep Sans
|
Josep Sans
|
||||||
Joseph Nwabueze
|
Joseph Nwabueze
|
||||||
Josh Redford
|
Josh Redford
|
||||||
|
Julian Carrier
|
||||||
Julian Daube
|
Julian Daube
|
||||||
Julie Schwartz
|
Julie Schwartz
|
||||||
Julien Margetts
|
Julien Margetts
|
||||||
Justin Thiel
|
Justin Thiel
|
||||||
Kaleb Barrett
|
Kaleb Barrett
|
||||||
|
Kamil Danecki
|
||||||
Kamil Rakoczy
|
Kamil Rakoczy
|
||||||
Kanad Kanhere
|
Kanad Kanhere
|
||||||
Kefa Chen
|
Kefa Chen
|
||||||
@@ -126,15 +155,21 @@ Krzysztof Bieganski
|
|||||||
Krzysztof Boronski
|
Krzysztof Boronski
|
||||||
Krzysztof Boroński
|
Krzysztof Boroński
|
||||||
Krzysztof Obłonczek
|
Krzysztof Obłonczek
|
||||||
|
Krzysztof Starecki
|
||||||
|
Krzysztof Sychla
|
||||||
Kuba Ober
|
Kuba Ober
|
||||||
|
Lan Zongwei
|
||||||
Larry Doolittle
|
Larry Doolittle
|
||||||
|
Leela Pakanati
|
||||||
Liam Braun
|
Liam Braun
|
||||||
Luca Colagrande
|
Luca Colagrande
|
||||||
Ludwig Rogiers
|
Ludwig Rogiers
|
||||||
Lukasz Dalek
|
Lukasz Dalek
|
||||||
|
M2kar
|
||||||
Maarten De Braekeleer
|
Maarten De Braekeleer
|
||||||
Maciej Sobkowski
|
Maciej Sobkowski
|
||||||
Marcel Chang
|
Marcel Chang
|
||||||
|
Marco Bartoli
|
||||||
Marco Widmer
|
Marco Widmer
|
||||||
Mariusz Glebocki
|
Mariusz Glebocki
|
||||||
Markus Krause
|
Markus Krause
|
||||||
@@ -142,20 +177,29 @@ Marlon James
|
|||||||
Marshal Qiao
|
Marshal Qiao
|
||||||
Martin Schmidt
|
Martin Schmidt
|
||||||
Martin Stadler
|
Martin Stadler
|
||||||
|
Mateusz Gancarz
|
||||||
|
Matt Stroud
|
||||||
Matthew Ballance
|
Matthew Ballance
|
||||||
|
Max Wipfli
|
||||||
|
Maxim Fonarev
|
||||||
|
Michael Bedford Taylor
|
||||||
Michael Bikovitsky
|
Michael Bikovitsky
|
||||||
Michael Killough
|
Michael Killough
|
||||||
Michaël Lefebvre
|
|
||||||
Michal Czyz
|
Michal Czyz
|
||||||
|
Michaël Lefebvre
|
||||||
Mike Popoloski
|
Mike Popoloski
|
||||||
Miodrag Milanović
|
Miodrag Milanović
|
||||||
Mladen Slijepcevic
|
Mladen Slijepcevic
|
||||||
Morten Borup Petersen
|
Morten Borup Petersen
|
||||||
Mostafa Gamal
|
Mostafa Gamal
|
||||||
|
Moubarak Jeje
|
||||||
Nandu Raj
|
Nandu Raj
|
||||||
|
Natan Kreimer
|
||||||
Nathan Graybeal
|
Nathan Graybeal
|
||||||
Nathan Kohagen
|
Nathan Kohagen
|
||||||
Nathan Myers
|
Nathan Myers
|
||||||
|
Nick Brereton
|
||||||
|
Nikolay Puzanov
|
||||||
Nolan Poe
|
Nolan Poe
|
||||||
Oleh Maksymenko
|
Oleh Maksymenko
|
||||||
Patrick Stewart
|
Patrick Stewart
|
||||||
@@ -163,11 +207,14 @@ Paul Bowen-Huggett
|
|||||||
Paul Swirhun
|
Paul Swirhun
|
||||||
Paul Wright
|
Paul Wright
|
||||||
Pawel Jewstafjew
|
Pawel Jewstafjew
|
||||||
|
Pawel Kojma
|
||||||
Pawel Sagan
|
Pawel Sagan
|
||||||
Pengcheng Xu
|
Pengcheng Xu
|
||||||
|
Peter Birch
|
||||||
Peter Debacker
|
Peter Debacker
|
||||||
Peter Horvath
|
Peter Horvath
|
||||||
Peter Monsson
|
Peter Monsson
|
||||||
|
Petr Nohavica
|
||||||
Philip Axer
|
Philip Axer
|
||||||
Philipp Wagner
|
Philipp Wagner
|
||||||
Pierre-Henri Horrein
|
Pierre-Henri Horrein
|
||||||
@@ -176,20 +223,27 @@ Piotr Binkowski
|
|||||||
Qingyao Sun
|
Qingyao Sun
|
||||||
Quentin Corradi
|
Quentin Corradi
|
||||||
Rafal Kapuscik
|
Rafal Kapuscik
|
||||||
|
Rahul Behl
|
||||||
Rasfunk
|
Rasfunk
|
||||||
Raynard Qiao
|
Raynard Qiao
|
||||||
Ricardo Barbedo
|
Ricardo Barbedo
|
||||||
Richard Myers
|
Richard Myers
|
||||||
Risto Pejašinović
|
Risto Pejašinović
|
||||||
Robert Balas
|
Robert Balas
|
||||||
|
Robin Heinemann
|
||||||
|
Rodrigo Batista de Moraes
|
||||||
|
Rowan Goemans
|
||||||
Rupert Swarbrick
|
Rupert Swarbrick
|
||||||
Ryan Ziegler
|
Ryan Ziegler
|
||||||
Ryszard Rozak
|
Ryszard Rozak
|
||||||
Samuel Riedel
|
Samuel Riedel
|
||||||
Sean Cross
|
Sean Cross
|
||||||
Sebastien Van Cauwenberghe
|
Sebastien Van Cauwenberghe
|
||||||
|
Sergey Fedorov
|
||||||
Sergi Granell
|
Sergi Granell
|
||||||
Seth Pellegrino
|
Seth Pellegrino
|
||||||
|
Shogo Yamazaki
|
||||||
|
Shou-Li Hsu
|
||||||
Srinivasan Venkataramanan
|
Srinivasan Venkataramanan
|
||||||
Stefan Wallentowitz
|
Stefan Wallentowitz
|
||||||
Stephen Henry
|
Stephen Henry
|
||||||
@@ -197,25 +251,33 @@ Steven Hugg
|
|||||||
Szymon Gizler
|
Szymon Gizler
|
||||||
Sören Tempel
|
Sören Tempel
|
||||||
Teng Huang
|
Teng Huang
|
||||||
|
Thomas Aldrian
|
||||||
|
Thomas Dybdahl Ahle
|
||||||
Tim Hutt
|
Tim Hutt
|
||||||
Tim Snyder
|
Tim Snyder
|
||||||
|
Tobias Jensen
|
||||||
Tobias Rosenkranz
|
Tobias Rosenkranz
|
||||||
Tobias Wölfel
|
Tobias Wölfel
|
||||||
Todd Strader
|
Todd Strader
|
||||||
|
Tom Manner
|
||||||
Tomasz Gorochowik
|
Tomasz Gorochowik
|
||||||
Topa Topino
|
Topa Topino
|
||||||
Toru Niina
|
Toru Niina
|
||||||
|
Tracy Narine
|
||||||
|
Trung Nguyen
|
||||||
Tudor Timi
|
Tudor Timi
|
||||||
Tymoteusz Blazejczyk
|
Tymoteusz Blazejczyk
|
||||||
|
Udaya Raj Subedi
|
||||||
Udi Finkelstein
|
Udi Finkelstein
|
||||||
Unai Martinez-Corral
|
Unai Martinez-Corral
|
||||||
Udaya Raj Subedi
|
|
||||||
Valentin Atepalikhin
|
Valentin Atepalikhin
|
||||||
Varun Koyyalagunta
|
Varun Koyyalagunta
|
||||||
Vassilis Papaefstathiou
|
Vassilis Papaefstathiou
|
||||||
Veripool API Bot
|
Veripool API Bot
|
||||||
Victor Besyakov
|
Victor Besyakov
|
||||||
|
Vikash Patel
|
||||||
Vito Gamberini
|
Vito Gamberini
|
||||||
|
Wei-Lun Chiu
|
||||||
William D. Jones
|
William D. Jones
|
||||||
Wilson Snyder
|
Wilson Snyder
|
||||||
Xi Zhang
|
Xi Zhang
|
||||||
@@ -230,7 +292,16 @@ Yuri Victorovich
|
|||||||
Yutetsu TAKATSUKASA
|
Yutetsu TAKATSUKASA
|
||||||
Yves Mathieu
|
Yves Mathieu
|
||||||
Zhanglei Wang
|
Zhanglei Wang
|
||||||
|
Zhen Yan
|
||||||
Zhou Shen
|
Zhou Shen
|
||||||
|
Zhouyi Shen
|
||||||
Zixi Li
|
Zixi Li
|
||||||
أحمد المحمودي
|
apocelipes
|
||||||
404allen404
|
dependabot[bot]
|
||||||
|
february cozzocrea
|
||||||
|
sumpster
|
||||||
|
em2machine
|
||||||
|
emmettifelts
|
||||||
|
Àlex Torregrosa
|
||||||
|
Ícaro Lima
|
||||||
|
Yogish Sekhar
|
||||||
|
|||||||
+12
-6
@@ -5,10 +5,10 @@
|
|||||||
#
|
#
|
||||||
# Code available from: https://verilator.org
|
# Code available from: https://verilator.org
|
||||||
#
|
#
|
||||||
# Copyright 2003-2024 by Wilson Snyder. This program is free software; you
|
# This program is free software; you can redistribute it and/or modify it
|
||||||
# can redistribute it and/or modify it under the terms of either the GNU
|
# under the terms of either the GNU Lesser General Public License Version 3
|
||||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
# or the Perl Artistic License Version 2.0.
|
||||||
# Version 2.0.
|
# SPDX-FileCopyrightText: 2025-2026 Wilson Snyder
|
||||||
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
# SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
#
|
#
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -25,7 +25,7 @@ BUILDDIR = _build
|
|||||||
|
|
||||||
SPHINXOPTS ?= -c guide -j 4
|
SPHINXOPTS ?= -c guide -j 4
|
||||||
ifneq ($(VERILATOR_ANALYTICS_ID),)
|
ifneq ($(VERILATOR_ANALYTICS_ID),)
|
||||||
SPHINXOPTS += -D html_theme_options.analytics_id=$(VERILATOR_ANALYTICS_ID)
|
SPHINXOPTS += -D html_theme_options.analytics_id=$(VERILATOR_ANALYTICS_ID)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -68,15 +68,21 @@ pdf:
|
|||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
html latex linkcheck spelling::
|
html latex linkcheck::
|
||||||
$(MAKE) vl-extract
|
$(MAKE) vl-extract
|
||||||
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||||
$(PYTHON3) bin/vl_sphinx_fix _build
|
$(PYTHON3) bin/vl_sphinx_fix _build
|
||||||
|
|
||||||
|
spelling::
|
||||||
|
$(MAKE) vl-extract
|
||||||
|
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||||
|
sort -o guide/spelling.txt guide/spelling.txt
|
||||||
|
|
||||||
help:
|
help:
|
||||||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS)
|
||||||
|
|
||||||
clean mostlyclean distclean maintainer-clean::
|
clean mostlyclean distclean maintainer-clean::
|
||||||
|
rm -rf _build
|
||||||
rm -f $(SCRIPTS) *.tmp
|
rm -f $(SCRIPTS) *.tmp
|
||||||
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
rm -f *.aux *.cp *.cps *.dvi *.fn *.fns *.ky *.kys *.log
|
||||||
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.idx
|
rm -f *.pg *.pgs *.toc *.tp *.tps *.vr *.vrs *.idx
|
||||||
|
|||||||
+5
-2
@@ -1,3 +1,6 @@
|
|||||||
|
.. SPDX-FileCopyrightText: 2003-2026 Wilson Snyder
|
||||||
|
.. SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
|
||||||
Verilator Documentation
|
Verilator Documentation
|
||||||
=======================
|
=======================
|
||||||
|
|
||||||
@@ -10,8 +13,8 @@ For formatted documentation see:
|
|||||||
- `Verilator installation and package directory structure
|
- `Verilator installation and package directory structure
|
||||||
<https://verilator.org/install>`_
|
<https://verilator.org/install>`_
|
||||||
|
|
||||||
- `Verilator manual (HTML) <https://verilator.org/verilator_doc.html>`_,
|
- `Verilator manual (HTML) <https://verilator.org/verilator_doc.html>`_, or
|
||||||
or `Verilator manual (PDF) <https://verilator.org/verilator_doc.pdf>`_
|
`Verilator manual (PDF) <https://verilator.org/verilator_doc.pdf>`_
|
||||||
|
|
||||||
- `Subscribe to Verilator announcements
|
- `Subscribe to Verilator announcements
|
||||||
<https://github.com/verilator/verilator-announce>`_
|
<https://github.com/verilator/verilator-announce>`_
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# mypy: disallow-untyped-defs
|
||||||
# pylint: disable=C0112,C0114,C0115,C0116,C0209,C0301,R0903
|
# pylint: disable=C0112,C0114,C0115,C0116,C0209,C0301,R0903
|
||||||
# -*- Python -*- See copyright, etc below
|
# -*- Python -*- See copyright, etc below
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -11,9 +12,8 @@ import re
|
|||||||
|
|
||||||
class VlSphinxExtract:
|
class VlSphinxExtract:
|
||||||
debug = 0
|
debug = 0
|
||||||
SkipBasenames = {}
|
|
||||||
|
|
||||||
def process(self, filename):
|
def process(self, filename: str) -> None:
|
||||||
with open(filename, "r", encoding="utf8") as fhr:
|
with open(filename, "r", encoding="utf8") as fhr:
|
||||||
fhw = None
|
fhw = None
|
||||||
for line in fhr:
|
for line in fhr:
|
||||||
@@ -37,12 +37,13 @@ parser = argparse.ArgumentParser(
|
|||||||
allow_abbrev=False,
|
allow_abbrev=False,
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
description="""Read a file and extract documentation data.""",
|
description="""Read a file and extract documentation data.""",
|
||||||
epilog=""" Copyright 2021-2024 by Wilson Snyder. This package is free software;
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
you can redistribute it and/or modify it under the terms of either the GNU
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
or the Perl Artistic License Version 2.0.
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
SPDX-FileCopyrightText: 2021-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
||||||
parser.add_argument('path', help='path to extract from')
|
parser.add_argument('path', help='path to extract from')
|
||||||
|
|||||||
+10
-10
@@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
# mypy: disallow-untyped-defs
|
||||||
# pylint: disable=C0112,C0114,C0115,C0116,C0209,C0301,R0903
|
# pylint: disable=C0112,C0114,C0115,C0116,C0209,C0301,R0903
|
||||||
# -*- Python -*- See copyright, etc below
|
# -*- Python -*- See copyright, etc below
|
||||||
######################################################################
|
######################################################################
|
||||||
@@ -12,19 +13,17 @@ import re
|
|||||||
|
|
||||||
class VlSphinxFix:
|
class VlSphinxFix:
|
||||||
debug = 0
|
debug = 0
|
||||||
SkipBasenames = {}
|
|
||||||
|
|
||||||
def process(self, path):
|
def process(self, path: str) -> None:
|
||||||
if os.path.isdir(path):
|
if os.path.isdir(path):
|
||||||
for basefile in os.listdir(path):
|
for basefile in os.listdir(path):
|
||||||
file = os.path.join(path, basefile)
|
file = os.path.join(path, basefile)
|
||||||
if ((basefile != ".") and (basefile != "..") and basefile not in self.SkipBasenames
|
if ((basefile != ".") and (basefile != "..") and not os.path.islink(file)):
|
||||||
and not os.path.islink(file)):
|
|
||||||
self.process(file)
|
self.process(file)
|
||||||
elif re.search(r'\.(html|tex)$', path):
|
elif re.search(r'\.(html|tex)$', path):
|
||||||
self._edit(path)
|
self._edit(path)
|
||||||
|
|
||||||
def _edit(self, filename):
|
def _edit(self, filename: str) -> None:
|
||||||
is_html = re.search(r'\.(html)$', filename)
|
is_html = re.search(r'\.(html)$', filename)
|
||||||
with open(filename, "r", encoding="utf8") as fhr:
|
with open(filename, "r", encoding="utf8") as fhr:
|
||||||
origfile = fhr.read()
|
origfile = fhr.read()
|
||||||
@@ -53,12 +52,13 @@ parser = argparse.ArgumentParser(
|
|||||||
allow_abbrev=False,
|
allow_abbrev=False,
|
||||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||||
description="""Post-process Sphinx HTML.""",
|
description="""Post-process Sphinx HTML.""",
|
||||||
epilog=""" Copyright 2021-2024 by Wilson Snyder. This package is free software;
|
epilog="""This program is free software; you can redistribute it and/or modify it
|
||||||
you can redistribute it and/or modify it under the terms of either the GNU
|
under the terms of either the GNU Lesser General Public License Version 3
|
||||||
Lesser General Public License Version 3 or the Perl Artistic License
|
or the Perl Artistic License Version 2.0.
|
||||||
Version 2.0.
|
|
||||||
|
|
||||||
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0""")
|
SPDX-FileCopyrightText: 2021-2026 Wilson Snyder
|
||||||
|
SPDX-License-Identifier: LGPL-3.0-only OR Artistic-2.0
|
||||||
|
""")
|
||||||
|
|
||||||
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
parser.add_argument('--debug', action='store_const', const=9, help='enable debug')
|
||||||
parser.add_argument('path', help='path to edit')
|
parser.add_argument('path', help='path to edit')
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
.. comment: generated by t_event_control_star_never_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
|
||||||
|
always @* a = 100;
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
.. comment: generated by t_event_control_star_never_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Warning-ALWNEVER: example.v:1:3 'always @*' will never execute as expression list is empty (no variables read)
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
.. comment: generated by t_lint_assigneqexpr_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:linenos:
|
||||||
|
:emphasize-lines: 3,5
|
||||||
|
|
||||||
|
assign d_o = // Note = not == below
|
||||||
|
(
|
||||||
|
e_o = 1 // <--- Warning: ASSIGNEQEXPR
|
||||||
|
) ? 1 : (
|
||||||
|
e_o = 0 // <--- Warning: ASSIGNEQEXPR
|
||||||
|
) ? b_i : 0;
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
.. comment: generated by t_lint_assigneqexpr_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Warning-ASSIGNEQEXPR: example.v:1:11 Assignment '=' inside expression
|
||||||
|
: ... Was a '==' intended, or suggest use a separate statement
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
.. comment: generated by t_lint_badvltpragma_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:emphasize-lines: 1
|
||||||
|
|
||||||
|
// verilator lintt_off WIDTH //<--- Warning (lint_off misspelled)
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.. comment: generated by t_lint_badvltpragma_bad
|
||||||
|
.. code-block::
|
||||||
|
:emphasize-lines: 1,2
|
||||||
|
|
||||||
|
%Error-BADVLTPRAGMA: example.v:1:3 Unknown verilator comment: '/*verilator lintt_off WIDTH <--- Warning (lint_off misspelled)*/'
|
||||||
|
7 | /*verilator lintt_off WIDTH <--- Warning (lint_off misspelled)*/
|
||||||
|
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@@ -2,5 +2,5 @@
|
|||||||
.. code-block:: sv
|
.. code-block:: sv
|
||||||
:linenos:
|
:linenos:
|
||||||
|
|
||||||
always_comb b = ~a;
|
always_comb b = ~a;
|
||||||
always_comb a = b;
|
always_comb a = b;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
.. comment: generated by t_lint_didnotconverge_bad
|
.. comment: generated by t_lint_didnotconverge_bad
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
-V{t#,#} 'stl' region trigger index 1 is active: @([hybrid] a)
|
-V{t#,#} 'stl' region trigger index 0 is active: @([hybrid] a)
|
||||||
%Error: t/t_lint_didnotconverge_bad.v:7: Settle region did not converge.
|
%Error-DIDNOTCONVERGE: t/t_lint_didnotconverge_bad.v:7: Settle region did not converge after '--converge-limit' of 10000 tries
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.. comment: generated by t_lint_didnotconverge_nodbg_bad
|
.. comment: generated by t_lint_didnotconverge_nodbg_bad
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
%Error: t/t_lint_didnotconverge_bad.v:7: Settle region did not converge.
|
%Error-DIDNOTCONVERGE: t/t_lint_didnotconverge_bad.v:7: Settle region did not converge after '--converge-limit' of 10000 tries
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.. comment: generated by t_lint_functimectl_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:linenos:
|
||||||
|
:emphasize-lines: 2
|
||||||
|
|
||||||
|
function void calls_timing_ctl;
|
||||||
|
@e; // <--- Bad IEEE 1800-2023 13.4 time-controlling
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
.. comment: generated by t_lint_functimectl_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Error-FUNCTIMECTL: example.v:1:5 Functions cannot contain time-controlling statements (IEEE 1800-2023 13.4)
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
.. comment: generated by t_param_hier_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:linenos:
|
||||||
|
:emphasize-lines: 3
|
||||||
|
|
||||||
|
sub #(.X(MY_X)) u_sub ();
|
||||||
|
|
||||||
|
localparam int SUB_Y = u_sub.Y; // <--- BAD: IEEE 1800-2023 6.20.2 no hierarchical
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.. comment: generated by t_param_hier_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Error-HIERPARAM: example.v:1:32 Parameter values cannot use hierarchical values (IEEE 1800-2023 6.20.2)
|
||||||
|
: ... note: In instance 't'
|
||||||
|
36 | localparam int SUB_Y = u_sub.Y;
|
||||||
|
| ^
|
||||||
@@ -3,9 +3,9 @@
|
|||||||
:linenos:
|
:linenos:
|
||||||
:emphasize-lines: 2,5
|
:emphasize-lines: 2,5
|
||||||
|
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
out2[7:0] <= d0; // <--- Warning
|
out2[7:0] <= d0; // <--- Warning
|
||||||
end
|
end
|
||||||
always @(negedge clk) begin
|
always @(negedge clk) begin
|
||||||
out2[15:8] <= d0; // <--- Warning
|
out2[15:8] <= d0; // <--- Warning
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
.. comment: generated by t_lint_multidriven_bad
|
.. comment: generated by t_lint_multidriven_bad
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
%Warning-MULTIDRIVEN: example.v:1:22 Signal has multiple driving blocks with different clocking: 'out2'
|
%Warning-MULTIDRIVEN: example.v:1:21 Signal has multiple driving blocks with different clocking: 'out2'
|
||||||
example.v:1:7 ... Location of first driving block
|
example.v:1:5 ... Location of first driving block
|
||||||
example.v:1:7 ... Location of other driving block
|
example.v:1:5 ... Location of other driving block
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.. comment: generated by t_lint_noreturn_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:linenos:
|
||||||
|
:emphasize-lines: 1
|
||||||
|
|
||||||
|
function int no_rtn(); // <--- Warning: No return
|
||||||
|
endfunction
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
.. comment: generated by t_lint_noreturn_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Warning-NORETURN: example.v:1:16 Non-void function 'no_rtn' has no return value
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
.. comment: generated by t_lint_paramnodefault_bad
|
||||||
|
.. code-block:: sv
|
||||||
|
:linenos:
|
||||||
|
:emphasize-lines: 2
|
||||||
|
|
||||||
|
module sub;
|
||||||
|
parameter NODEF; //<--- Warning
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
.. comment: generated by t_lint_paramnodefault_bad
|
||||||
|
.. code-block::
|
||||||
|
|
||||||
|
%Error-PARAMNODEFAULT: example.v:1:13 Parameter without default requires ANSI-style parameter list (IEEE 1800-2023 6.20.1): 'NODEF'
|
||||||
|
8 | parameter NODEF;
|
||||||
|
| ^~~~~
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
:emphasize-lines: 2
|
:emphasize-lines: 2
|
||||||
|
|
||||||
module t;
|
module t;
|
||||||
sub sub(); // <--- Warning
|
sub sub (); // <--- Warning
|
||||||
endmodule
|
|
||||||
module sub
|
|
||||||
(output port);
|
|
||||||
endmodule
|
endmodule
|
||||||
|
module sub (
|
||||||
|
output port
|
||||||
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
.. comment: generated by t_lint_pinmissing_bad
|
.. comment: generated by t_lint_pinmissing_bad
|
||||||
.. code-block::
|
.. code-block::
|
||||||
|
|
||||||
%Warning-PINMISSING: example.v:1:8 Cell has missing pin: 'port'
|
%Warning-PINMISSING: example.v:1:7 Instance has missing pin: 'port'
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user