Closed smani closed 8 years ago
@smani could you try with PhantomJS v2.1.1 ?
Looks like symbolic links on Windows don't work as expected. Please try:
phantomjs node_modules\wavedrom-cli\bin\wavedrom-cli.js -i path\to\sample.json -p sample.png -s sample.svg
This command worked but the output PNG/SVG is no way related to the input. It seems to have some sample waveform (clk, Data and Request lines -- the Data line has
BTW, I tried phantomjs node_modules\wavedrom-cli\bin\wavedrom-cli.js -p sample.png
and it produces the same output as phantomjs node_modules\wavedrom-cli\bin\wavedrom-cli.js -i path\to\sample.json -p sample.png
. It looks as if the sample.json
isn't used by the tool.
@smani Your are absolutely right! My bad. Please try v0.3.0
Wow! It works now. Thank you.
great. closing.
I followed the steps below:
npm
.npm i wavedrom-cli --save-dev
phantomjs node_modules\.bin\wavedrom -i path\to\sample.json -p sample.png -s sample.svg
The phantomjs command never terminates (I waited for more than 30mins).
I am using Windows 7 64 bit operating system.