bluespec.com Forum Index bluespec.com
Bluespec Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TclDot to run bluespec Development Workstation

 
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler)
View previous topic :: View next topic  
Author Message
hake003



Joined: 02 Jun 2009
Posts: 3

PostPosted: Thu Jun 18, 2009 10:56 pm    Post subject: TclDot to run bluespec Development Workstation Reply with quote

Hi,

I have been facing a problem in runing bluespec dev. workstation, which is that the TclDot 2.21 package is not found. My machine is CentOS 32-bit version, so I installed all of the related graphviz package (the latest).

The prompt when I run the command "bluespec" from the shell is:

Tcldot packages are not available on this machine
Information: can't find package Tcldot 2.21

[/b]
Back to top
View user's profile Send private message
crimsoncardinal



Joined: 25 Apr 2007
Posts: 53

PostPosted: Fri Jun 19, 2009 9:39 am    Post subject: Reply with quote

I'm not sure if you've followed these instructions, but these are the instructions that were provided to another customer when they received the same error:

================================================================
GENERAL COMMENTS:

The Tcldot package is used by the Bluespec Development Workstation to
display graphical views of scheduling graphs in the menu item:

Window->Schedule Analysis->Scheduling Graphs menu item

Note, the standalone Bluespec compiler ('bsc' command) does not depend
on Tcldot. It merely generates scheduling graphs during compilation
when given the flag "-sched-dot". It creates several files which are
named in the following style <Module>_<GraphType>.dot

To view the graphs without the Bluespec Development Workstation, you
can use any of a number of 3rd-party packages capable of displaying
dot files. An example is graphviz (http://www.graphviz.org), where
the viewer application is called dot, which converts a .dot file to a
pdf or png format. For example, you can use the following alias in
your .cshrc file to process and view .dot files

alias showdot 'dot -Tpdf \!:1 > /tmp/\!:1.pdf && xpdf /tmp/\!:1.pdf && rm -f /tmp/\!:1.pdf'

To view the graphs from the Bluespec Development Workstation, you
require Tcldot, which is an add-on to the graphviz package.
Unfortunately, a newer version ot Tcldot (2.21 or greater) is required
than the one which come with the standard linux distributions. Here
are some instructions which we have used to install Tcldot on Linux
Ubuntu v8.10.

==========================================
INSTALLING TCLDOT

This is a list of installation instructions for the Bluespec
Development Workstation to be able to display scheduling graphs in the
window obtained by:

Window->Schedule Analysis->Scheduling Graphs

Goto http://graphviz.org/

Click the download tab, and agree to the license.

Select the Ubuntu download page.

Follow this procedure:

(1) Download libgraphviz4_2.21.20090226.1309-1_i386.deb (third from top of package list)

Use Synaptic or dpkg to install these prerequisites:
libdevil1c2
libgts-0.7-5
liblasi0

Install the downloaded package: sudo dpkg -i libbgraphviz....deb

(2) Download graphviz_2.21.20090226.1309-1_i386.deb (top of package list)

Install the downloaded package: sudo dpkg -i graphviz....deb

(3) Download libgv-tcl_2.21.20090226.1309-1_i386.deb (third from bottom of package list)

Use Synaptic or dpkg to install these prerequisites:
tk8.5

Install the downloaded package: sudo dpkg -i libgv-tcl....deb

----------------
You should now be able to use:

Window->Schedule Analysis->Scheduling Graphs

in the Bluespec Development Workstation.
================================================================
Back to top
View user's profile Send private message
hake003



Joined: 02 Jun 2009
Posts: 3

PostPosted: Sun Jun 21, 2009 9:51 pm    Post subject: Reply with quote

Thank you for your info.

Unfortunately, I have installed all of the related graphviz packages (CentOS packages) in my CentOS machine, but the message persists. Besides, I cannot edit any of .bsv files due to the missing gvim library as well, which is related to the missing TclDot 2.21 package as I think
Back to top
View user's profile Send private message
ewc



Joined: 08 May 2007
Posts: 31

PostPosted: Mon Jun 22, 2009 10:09 am    Post subject: Reply with quote

Which version of graphviz did you install? You will need to have at least version 2.21 or greater. Prior versions of the tcldot interface with graphviz are broken and do not work.

For ubuntu/debian TclDot is part of the libgv-tcl
For redhat centos, I think you will need the graphviz-tcl<version>.rpm
These packages are available from: http://www.graphviz.org/Download..php

Ed.

_________________
Ed C
Back to top
View user's profile Send private message
hadar_agam



Joined: 10 May 2007
Posts: 38

PostPosted: Mon Jun 22, 2009 10:24 am    Post subject: GVIM Reply with quote

gvim is not part of the tcldot package; If you don't use gvim, you can change your editor by clicking
project -> options
at the workstation, choosing the "editor" tab, and clicking the button for emacs, or a different editor.
You can also edit your files outside of the workstation...
Back to top
View user's profile Send private message Visit poster's website
ewc



Joined: 08 May 2007
Posts: 31

PostPosted: Mon Jun 22, 2009 10:35 am    Post subject: Reply with quote

One final comment.

You problem with GVIM is NOT related to TclDot.

You will need to provide more information regarding the observed behavior, eg. button pushes error messages, etc if you would more assistance in this area.

Ed.

_________________
Ed C
Back to top
View user's profile Send private message
hake003



Joined: 02 Jun 2009
Posts: 3

PostPosted: Mon Jun 22, 2009 7:34 pm    Post subject: Reply with quote

Hi Ed,

Editing .bsv files are working properly when changing the editor, Thank you.

However, I need Tcldot package for scheduling graph and nWave for generating waveforms in the bluespec workstation.

I installed the latest version of graphviz (ver 2.24) and all related libraries including graphviz-tcl-2.24.0-1.e15.rpm, but tcldot package is still not recognized when I execute bluespec in the command shell.

Regarding nWave, can I get it from you or should I contact Springsoft?
Back to top
View user's profile Send private message
ewc



Joined: 08 May 2007
Posts: 31

PostPosted: Mon Jun 22, 2009 7:49 pm    Post subject: Reply with quote

You can view graphs using the the graphviz tools in the unix shell. The tcldot only provides a tight integration. use bsc -sched-dot to generate the .dot file during compile.

As a free alternative tool for wave-viewing you can use gtkwave. This does not have a tight integration to Bluspec workstation.

_________________
Ed C
Back to top
View user's profile Send private message
ShepSiegel



Joined: 14 Aug 2007
Posts: 41

PostPosted: Sat Nov 20, 2010 1:50 pm    Post subject: Tcldot DOA on RHEL 5 Reply with quote

We have never been able to get Tcldot to work with RHEL 5. The graphviz developers suggest on their website it is not possible (owing to the long-toothy-ness of RHEL 5). This is unfortunate, as it strips Bluespec workstation of a powerful visualization tool.

A far easier alteranative (that takes less time) is to print out the ASCII schedule and draw a graph by hand. Although error-prone, it yields the satisfaction of actually getting some work done.

-Shep

BTW: Since Ed wrote his response a year ago; gtkwave became well-integrated with workstation. Nice!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    bluespec.com Forum Index -> Tools: BSC (Bluespec Compiler) All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum
bluespec.com topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP