35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
<link rel="icon" href="<%= BASE_URL %>icon.png">
|
|
<title>Vcd Viewer</title>
|
|
<link rel="stylesheet" href="default-dark.css">
|
|
<link rel="stylesheet" href="vscode.css">
|
|
<link rel="stylesheet" href="vcd.css">
|
|
<link rel="stylesheet" href="iconfont.css">
|
|
<link rel="stylesheet" href="animation.css">
|
|
<script></script>
|
|
|
|
<script>
|
|
window.readVcdFile = async () => {
|
|
let inputVcdFile = 'movAvg.vcd';
|
|
let inputViewFile = 'movAvg.view';
|
|
const response = await fetch(inputVcdFile);
|
|
const arrayBuffer = await response.arrayBuffer();
|
|
return [arrayBuffer, inputVcdFile, inputViewFile];
|
|
}
|
|
window.workerPath = 'worker.js';
|
|
window.vcdJsPath = 'vcd.js';
|
|
window.wasmPath = 'vcd.wasm';
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
|
|
</html> |