You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: web/src/layouts/Layout.astro
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,16 @@ interface Props {
6
6
ogImage?:string;
7
7
/** Override canonical URL. Defaults to current page URL. */
8
8
canonical?:string;
9
+
/** Emit a <link rel="preload"> for tiny_tpu.wasm on pages that use WASM. */
10
+
preloadWasm?:boolean;
9
11
}
10
12
11
13
const {
12
14
title,
13
15
description ="TPU simulator: SystemVerilog compiled to WebAssembly. Learn how a TPU works with a live systolic array visualizer running real RTL in your browser.",
14
16
ogImage,
15
17
canonical,
18
+
preloadWasm =false,
16
19
} =Astro.props;
17
20
18
21
const site =Astro.site?.toString().replace(/\/$/, "") ??"";
description="Interactive TPU simulator: enter matrices and watch a 4×4 systolic array visualizer execute matrix multiply from real SystemVerilog RTL via WebAssembly."
13
+
preloadWasm={true}
13
14
>
14
15
<divclass="flex min-h-screen flex-col page">
15
16
<!-- Nav - NOT sticky; the visualizer is a full-page tool, sticky overlaps content -->
title="TinyTPU — Systolic Array Visualizer | Learn How a TPU Works"
77
77
description="TPU simulator: 4×4 weight-stationary systolic array in synthesizable SystemVerilog, compiled to WebAssembly. Watch real RTL execute live in your browser."
0 commit comments