From 0283703f9e6855226bece8d36567d292bd69b188 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 15 Feb 2015 22:53:41 +0100 Subject: [PATCH] Added Viz to yosys.js --- .gitignore | 1 + Makefile | 6 +++- misc/yosys.html | 81 +++++++++++++++++++++++++++++++++++++++++---- passes/cmds/show.cc | 7 +++- 4 files changed, 87 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index f48aeac5f..4334b3d84 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ /qtcreator.creator.user /Makefile.conf /abc +/viz.js /yosys /yosys.exe /yosys.js diff --git a/Makefile b/Makefile index c762bd38c..a7035008c 100644 --- a/Makefile +++ b/Makefile @@ -113,7 +113,11 @@ LDLIBS = EXE = .js TARGETS := $(filter-out yosys-config,$(TARGETS)) -EXTRA_TARGETS += yosys.html +EXTRA_TARGETS += yosys.html viz.js + +viz.js: + wget -O viz.js.part https://github.com/mdaines/viz.js/releases/download/0.0.3/viz.js + mv viz.js.part viz.js yosys.html: misc/yosys.html $(P) cp misc/yosys.html yosys.html diff --git a/misc/yosys.html b/misc/yosys.html index 741b88b45..a5a8b65c9 100644 --- a/misc/yosys.html +++ b/misc/yosys.html @@ -2,7 +2,9 @@ yosys.js example application

yosys.js example application

-
+
[ load example ]
+ +

Loading...