alliance/alliance/src
Jean-Paul Chaput 565c0db1a4 Bug in mbk/vel, when SEPAR is *not* '.', the separator is kept as is.
* Bug: In mbk/src/vel_drive.c, when making the signal names VHDL
    compliants, we should transliterate the SEPAR character, whatever
    it is, by an '_'. It seems that cougar/lynx was not abiding with
    the SEPAR and creates signal names with '.' anyway. So we add a
    test to check for '.' in addition to SEPAR.
      This problem was causing invalid VHDL to be written, with dots
    in signal names.
* Change: In rds/src/etc/cmos.rds, correctly generate GDS for CALUx.
2019-08-18 14:06:22 +02:00
..
abe Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
abl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
abt Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
abv Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
alcban Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
asimut Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
attila Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
aut Added missing link directories (for scratch build) by N. Shimizu. 2017-03-13 13:49:33 +01:00
b2f More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
bdd Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
beh Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
bhl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
boog Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
boom Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
btr Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
bvl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
cells Updated liberty description of sxlib (made with alliance-check-toolkit). 2018-06-13 14:19:59 +02:00
ctl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
ctp Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
debian Align to the new package version. 2012-05-23 14:44:24 +00:00
distrib Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
documentation Smart HTTP commit test #2 2018-08-07 11:59:13 +02:00
dreal Manage RDS rectangles with null width or height. 2016-03-07 15:39:52 +01:00
druc English keywords support for RDS file (courtesy of Frederic Petrot). 2019-03-21 11:09:40 +01:00
elp Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
exp Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
fks Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
flatbeh More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
flatlo In MBK (mvl) losig associated to locon on a lofig where not created. 2014-06-21 17:50:33 +02:00
flatph More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
fmi Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
fsm Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
fsp Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
ftl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
fvh Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
genlib Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
genpat Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
graal Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
gscr Strange exchange between decl & desc in PAT sed patterns. 2018-09-02 19:47:55 +02:00
k2f More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
l2p Added missing link directories (for scratch build) by N. Shimizu. 2017-03-13 13:49:33 +01:00
log Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
loon Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
lvx Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
lynx More DSO (missing library link) corrections (courtesy of Luke Leighton). 2017-04-07 11:48:08 +02:00
m2e Suppress link dependency loop in libraries. 2014-04-22 12:30:26 +02:00
mbk Bug in mbk/vel, when SEPAR is *not* '.', the separator is kept as is. 2019-08-18 14:06:22 +02:00
mips_asm Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
mocha More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
nero In nero, template methods must be in headers (thanks clang). 2017-11-28 16:55:11 +01:00
ocp yylineno in OCP and ring settings for scn6m_deep. 2014-09-25 14:20:26 +02:00
pat Strange exchange between decl & desc in PAT sed patterns. 2018-09-02 19:47:55 +02:00
pat2spi More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
proof More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
rds Bug in mbk/vel, when SEPAR is *not* '.', the separator is kept as is. 2019-08-18 14:06:22 +02:00
ring Port gscr/src from Alliance 4 to restore 2 metal routing capabilities. 2017-03-10 11:20:35 +01:00
rtd Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
rtn Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
s2r Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
scapin Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
scl Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
scr Strange exchange between decl & desc in PAT sed patterns. 2018-09-02 19:47:55 +02:00
sea Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
syf Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
vasy Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
vbh Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
vex Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
vpn Add shared libraries directories to Makefile.am for link before install 2018-08-06 16:47:32 +02:00
x2y Better interface for x2y to YoSys (courtesy of N. Shimizu) 2016-07-19 17:27:28 +02:00
xfsm More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
xgra Strange exchange between decl & desc in PAT sed patterns. 2018-09-02 19:47:55 +02:00
xpat Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
xsch Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
xvpn More library path correction (for non-Linux systems). 2014-04-30 15:11:12 +02:00
.asim Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
CHANGES ALLIANCE revision 5.0 (2011/02/03) 2011-02-06 14:37:33 +00:00
COPYING-2.0 Updated GNU/FSF address (patch from Thibault North). 2012-05-14 14:20:56 +00:00
COPYING.LIB-2.0 Updated GNU/FSF address (patch from Thibault North). 2012-05-14 14:20:56 +00:00
FAQ tut dans doc 2002-10-24 09:55:22 +00:00
LICENCE un debut... 2002-10-17 10:04:09 +00:00
Makefile.am Remove CVS file in patches directory before distributing. 2012-05-06 12:11:44 +00:00
README Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
README.macosx Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
README.win32 - update (lesstif compilation tips) 2004-07-31 15:58:57 +00:00
alliance.m4 Correct the annoying aclocal "underquoted definition" warning. 2011-02-09 22:13:40 +00:00
autostuff Detect correctly configure.in in tool directories. 2018-01-29 20:07:06 +01:00
build - ajout dans les Makefile.am des -L et -I vers les chemins necessaires 2005-01-19 15:13:58 +00:00
config.guess Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
config.sub Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
depcomp Correct spelling errors (courtesy of klemens/ka7). 2016-05-06 17:02:13 +02:00
motif.m4 Correct the annoying aclocal "underquoted definition" warning. 2011-02-09 22:13:40 +00:00
oldgcc.m4 Correct the annoying aclocal "underquoted definition" warning. 2011-02-09 22:13:40 +00:00
xpm.m4 Correct the annoying aclocal "underquoted definition" warning. 2011-02-09 22:13:40 +00:00
ylwrap English keywords support for RDS file (courtesy of Frederic Petrot). 2019-03-21 11:09:40 +01:00

README

# Alliance VLSI CAD System
# Copyright (C) 1990, 2016 UPMC
#
# Home page          : http://asim.lip6.fr/recherche/alliance/
# E-mail             : mailto:alliance-users@asim.lip6.fr
# ftp site           : ftp://asim.lip6.fr/pub/alliance/
#
# NOTE: You can find the latest revision of this document at:
# http://asim.lip6.fr/pub/alliance/latest-checkout/alliance/src
#
# $Id: README,v 1.10 2004/09/13 18:14:52 ludo Exp $

This file discuss about installation of Alliance on UNIX machines.



# Downloading and installing binary distribution :
# ===================================================================

If you don't find the exact precompiled package for your system, or if you 
have trouble with a package, please consider downloading the sources 
and build them. 

Note that for running some precompiled Alliance binaries you will need gcc and
other gnu tools (gmake, gcc ...), X11R6.4 libraries (http://www.x.org/), Motif
1.2 libraries. You can find a semi free Motif distribution at 
http://www.motifzone.net/ and a free clone at http://www.lesstif.org/.
If you use Linux RedHat 7.1 you'll find 2 openmotif rpm in 
ftp://asim.lip6.fr/pub/alliance/distribution/5.0/redist/rh7.1/
If you use RedHat 7.3 or 8.0, install the 3 openmotif rpm found on the 
RedHat cdroms (especially the openmotif21 rpm which is a compatibility library
for Open Motif 2.1 that can be installed with the openmotif-2.2.


Alliance naming scheme:
=======================

- sources: alliance-XXX-YYY.tar.gz
    where:
        XXX = Alliance version number. eg 5.0
        YYY = Alliance release number, which is the date of the build. eg 20020624

- binaries: alliance-XXX-YYY-ZZZ.KKK
    where:
        XXX, YYY = same as above.
        ZZZ = indicate the platform target
        KKK = archive type (gzipped tar or rpm)


To install a tar.gz package (*nix)
----------------------------------

Get the latest binary package for your platform, 
log as root then type :

> cd /
> tar -xzf /mnt/cdrom/alliance-5.0-XXX-YYY.tar.gz
> ln -s /opt/alliance-5.0/etc/alc_env.csh /etc/profile.d/
> ln -s /opt/alliance-5.0/etc/alc_env.sh /etc/profile.d/


To install a .rpm package (Linux redHat 7+)
-------------------------------------------

This rpm has been build on a modified RedHat 7.1 and requires: ld-linux.so.2
libICE.so.6 libSM.so.6 libX11.so.6 libXext.so.6 libXm.so.2 libXp.so.6
libXpm.so.4 libXt.so.6 libc.so.6 libm.so.6 libstdc++-libc6.2-2.so.3 /bin/sh
libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3)
libm.so.6(GLIBC_2.0). 

You can get the latest rpm package available on alliance site,
Rpm named *.rpm are build on a modified RedHat 7.2 we use at lip6.
Rpm named *-rh8.rpm are build on a up2date full install of RedHat 8o 

log as root then type :

> rpm -Uvh alliance-5.0-YYY.rpm

To build a .rpm package for your platform
-------------------------------------------

You can generate the rpm for your platform (czo is my login name) :

# change the default rpm path for non root build
 echo "%_topdir    /var/tmp/czo/rpm" > $HOME/.rpmmacros

# create these dirs...
 mkdir -p /var/tmp/czo/rpm ;\
 cd /var/tmp/czo/rpm ;\
 mkdir BUILD RPMS SOURCES SPECS SRPMS

 then cd where you have downloaded alliance and type

 1- if you are using rpm version < 4.1
 rpm -ta alliance-5.0-XXX.tar.gz 
 
 2- if you are using rpm version > 4.1
 rpmbuild -ta alliance-5.0-XXX.tar.gz 


# Building from the sources :
# ===================================================================

Alliance's sources are now conforming to GNU's automake/autoconf.

1/ Get the latest alliance-5.0-YYY.tar.gz archive.

2/ Unarchive it

> tar xzf alliance-5.0-XXX.tar.gz

3/ The install stage has to be done at the same time 
   as the make itself : the way the configure and Makefiles 
   are written implies that you do a "make install" in one 
   step rather than a "make" followed by a "make install"

   To avoid make problems, please use gnu make (gmake)
   The following commands builds the full package from scratch.

> export ALLIANCE_TOP=/opt/alliance
> ./configure --prefix=$ALLIANCE_TOP
> gmake install

All this is done by a script called ./build in the alliance directory.

# Building from the cvs tree :
# ===================================================================

This explains how to proceed from the Alliance CVS tree.

1/ Get the latest alliance release on the ASIM CVS server.
   To checkout the Alliance CVS tree, you have to first login
   onto the cvs server using the following command:
> cvs -d :pserver:anoncvs@asim.lip6.fr:/cvsroot login
   At the CVS password prompt answer:
> anoncvs
   This has to be done only once. Then to actually retrieve the latest
   version of the sources, issue the command:
> cvs -d :pserver:anoncvs@asim.lip6.fr:/cvsroot co alliance
   To update your files once on a while (usually when we have done minor
   bug corrections, that you can be aware of by reading the alliance-users
   mailing list once on a while), cd into your alliance top directory
   and type :
> cvs update -d -P

2/ Remove some directories from the Alliance tree. These directories
   contain tools that may be helpful but are not maintained anymore,
   so they will likely not compile.
   Assuming Alliance sources reside in "~fred/alliance", do:
> cd src
> source .asim

3/ We recommand not to build the tool in the source directory.
   Also, the install stage has to be done at the same time 
   as the make itself : the way the configure and Makefiles 
   are written implies that you do a "make install" in one 
   step rather than a "make" followed by a "make install"

   To avoid make problems, please use gnu make (gmake)

   Assuming user "fred" did the cvs checkout in "~fred/alliance", the
   following commands builds the full package from scratch in the
   '/opt/alliance/objects' and installs it in '/opt/alliance'.
> su root
> mkdir /opt/alliance
> chown fred /opt/alliance
> logout
> cd /opt/alliance
> mkdir objects
> cd objects
> export ALLIANCE_TOP=/opt/alliance
> ~fred/alliance/src/configure --prefix=$ALLIANCE_TOP
> gmake install

# Usage :
# ===================================================================

Each user has to source alc_env.[c]sh to set Alliance environment
variables to be able to run the Alliance tools.

in sh  > . [where you have installed Alliance]/alliance/etc/alc_env.sh

in csh > source [where you have installed Alliance]/alliance/etc/alc_env.csh

This sets various default environment variables which could be changed by user
later (Like MBK_OUT_LO to set the netlist output file format).

If you are a SysAdmin, you should consider linking these scripts in 
the system's profile (e.g.: /etc/profile.d/ on Linux) so that configuration
would be done at user login.


# EOF