aboutsummaryrefslogtreecommitdiffstats
path: root/misc/yosysjs/demo02.html
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2015-02-16 13:23:54 +0100
committerClifford Wolf <clifford@clifford.at>2015-02-16 13:23:54 +0100
commit3e5e9a38895b0ce45c185916fa946dec38ffbab3 (patch)
treebbd6ae663ac6740c437a748f82402d2dbd7ee06d /misc/yosysjs/demo02.html
parent33e80b96c7aac6b93e6bee18572abf529f8cc1fa (diff)
downloadyosys-3e5e9a38895b0ce45c185916fa946dec38ffbab3.tar.gz
yosys-3e5e9a38895b0ce45c185916fa946dec38ffbab3.tar.bz2
yosys-3e5e9a38895b0ce45c185916fa946dec38ffbab3.zip
More YosysJS stuff
Diffstat (limited to 'misc/yosysjs/demo02.html')
-rw-r--r--misc/yosysjs/demo02.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/yosysjs/demo02.html b/misc/yosysjs/demo02.html
index ec33198c7..d36e223c9 100644
--- a/misc/yosysjs/demo02.html
+++ b/misc/yosysjs/demo02.html
@@ -59,7 +59,7 @@ endmodule
function work() {
ys.write_file("input.v", document.getElementById('code').value);
ys.run('design -reset; read_verilog input.v; show -stretch');
- YosysJS.dot_into_svg(ys.read_file('show.dot'), document.getElementById('svg'));
+ YosysJS.dot_into_svg(ys.read_file('show.dot'), 'svg');
document.getElementById('popup').style.visibility = 'hidden';
}
document.getElementById('popup').style.visibility = 'visible';
@@ -69,7 +69,7 @@ endmodule
function work() {
ys.write_file("input.v", document.getElementById('code').value);
ys.run('design -reset; read_verilog input.v; proc; opt_clean; show -stretch');
- YosysJS.dot_into_svg(ys.read_file('show.dot'), document.getElementById('svg'));
+ YosysJS.dot_into_svg(ys.read_file('show.dot'), 'svg');
document.getElementById('popup').style.visibility = 'hidden';
}
document.getElementById('popup').style.visibility = 'visible';
@@ -79,7 +79,7 @@ endmodule
function work() {
ys.write_file("input.v", document.getElementById('code').value);
ys.run('design -reset; read_verilog input.v; synth -run coarse; show -stretch');
- YosysJS.dot_into_svg(ys.read_file('show.dot'), document.getElementById('svg'));
+ YosysJS.dot_into_svg(ys.read_file('show.dot'), 'svg');
document.getElementById('popup').style.visibility = 'hidden';
}
document.getElementById('popup').style.visibility = 'visible';
@@ -89,7 +89,7 @@ endmodule
function work() {
ys.write_file("input.v", document.getElementById('code').value);
ys.run('design -reset; read_verilog input.v; synth -run coarse; synth -run fine; show -stretch');
- YosysJS.dot_into_svg(ys.read_file('show.dot'), document.getElementById('svg'));
+ YosysJS.dot_into_svg(ys.read_file('show.dot'), 'svg');
document.getElementById('popup').style.visibility = 'hidden';
}
document.getElementById('popup').style.visibility = 'visible';