Compare commits

...
Sign in to create a new pull request.

8 commits

Author SHA1 Message Date
Fedora Release Engineering
6bc765edb6 dist-git conversion 2010-07-28 09:43:21 +00:00
Bill Nottingham
ddaea6c562 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:26:31 +00:00
Chitlesh GOORAH
3d55750039 bugfix path 2008-06-02 19:38:58 +00:00
Chitlesh GOORAH
36e6272a96 bugfix 2008-05-26 20:58:56 +00:00
Chitlesh GOORAH
ca12fdaa17 *** empty log message *** 2007-08-19 15:10:19 +00:00
Chitlesh GOORAH
68f9c7373a *** empty log message *** 2007-08-16 12:10:42 +00:00
Chitlesh GOORAH
29a7809a26 *** empty log message *** 2007-08-13 20:58:56 +00:00
Kevin Fenzi
f024280172 Initialize branch F-7 for alliance 2007-08-13 19:36:51 +00:00
23 changed files with 1302 additions and 21 deletions

View file

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
alliance-5.0-20070718.tar.gz
alliance-5.0-tutorials.tar.bz2

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: alliance
# $Id$
NAME := alliance
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

84
alliance-env.patch Normal file
View file

@ -0,0 +1,84 @@
--- distrib/etc/alc_env.csh.in 2006-10-05 12:09:25.000000000 +0200
+++ etc/alc_env.csh.in 2008-05-26 22:37:15.000000000 +0200
@@ -70,20 +70,23 @@
# System environment variables.
if ( $?PATH ) then
- setenv PATH "${ALLIANCE_TOP}/bin:$PATH"
+ setenv PATH "${PATH}:${ALLIANCE_TOP}/bin:"
else
setenv PATH "${ALLIANCE_TOP}/bin"
endif
# Only needed on Solaris (included in /etc/ld.so.conf under Linux).
if ( $?LD_LIBRARY_PATH ) then
- setenv LD_LIBRARY_PATH "${ALLIANCE_TOP}/lib:$LD_LIBRARY_PATH"
+ setenv LD_LIBRARY_PATH "${LD_LIBRARY_PATH}:${ALLIANCE_TOP}/lib:"
else
setenv LD_LIBRARY_PATH "${ALLIANCE_TOP}/lib"
endif
- if ( $?MANPATH ) then
- setenv MANPATH "${ALLIANCE_TOP}/man:${MANPATH}"
+ if ($?MANPATH) then
+ setenv MANPATH "${MANPATH}:${ALLIANCE_TOP}/man"
else
- setenv MANPATH "${ALLIANCE_TOP}/man"
+ setenv MANPATH "${ALLIANCE_TOP}/man"
endif
+
+# fixing *** ERROR *** : Variable MBK_SPI_MODEL not found.
+ setenv MBK_SPI_MODEL "${ALLIANCE_TOP}/etc/spimodel.cfg"
--- distrib/etc/alc_env.sh.in 2006-10-05 12:09:25.000000000 +0200
+++ etc/alc_env.sh.in 2008-05-26 22:41:30.000000000 +0200
@@ -70,20 +70,23 @@
# System environment variables.
- PATH=$ALLIANCE_TOP/bin:$PATH
+ PATH=$PATH:$ALLIANCE_TOP/bin:
export PATH
# Only needed on Solaris (included in /etc/ld.so.conf under Linux).
if [ -z "${LD_LIBRARY_PATH}" ]; then
LD_LIBRARY_PATH=$ALLIANCE_TOP/lib
else
- LD_LIBRARY_PATH=$ALLIANCE_TOP/lib:$LD_LIBRARY_PATH
+ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ALLIANCE_TOP/lib:
fi
export LD_LIBRARY_PATH
if [ -z "${MANPATH}" ]; then
MANPATH=$ALLIANCE_TOP/man
else
- MANPATH=$ALLIANCE_TOP/man:$MANPATH
+ MANPATH=$MANPATH:$ALLIANCE_TOP/man:
fi
export MANPATH
+
+# fixing *** ERROR *** : Variable MBK_SPI_MODEL not found.
+ MBK_SPI_MODEL=$ALLIANCE_TOP/etc/spimodel.cfg; export MBK_SPI_MODEL
diff -Naur distrib/etc/Makefile.am etc/Makefile.am
--- distrib/etc/Makefile.am 2002-06-25 16:09:38.000000000 +0200
+++ etc/Makefile.am 2007-08-18 13:58:38.000000000 +0200
@@ -1,6 +1,6 @@
# $Id: Makefile.am,v 1.4 2002/06/25 14:09:38 czo Exp $
-etcdir=$(prefix)/etc
+etcdir=/etc/profile.d
etc_SCRIPTS=alc_env.csh alc_env.sh
diff -Naur distrib/etc/Makefile.in etc/Makefile.in
--- distrib/etc/Makefile.in 2007-07-18 19:04:22.000000000 +0200
+++ etc/Makefile.in 2007-08-18 13:59:28.000000000 +0200
@@ -336,7 +336,7 @@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
-etcdir = $(prefix)/etc
+etcdir = /etc/profile.d
etc_SCRIPTS = alc_env.csh alc_env.sh
EXTRA_DIST = alc_env.csh.in alc_env.sh.in
all: all-am

594
alliance-examples.patch Normal file
View file

@ -0,0 +1,594 @@
diff -Naur documentation/alliance-examples/addaccu16/Makefile alliance-examples/addaccu16/Makefile
--- documentation/alliance-examples/addaccu16/Makefile 2004-05-24 00:15:16.000000000 +0200
+++ alliance-examples/addaccu16/Makefile 2007-07-19 13:13:51.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
diff -Naur documentation/alliance-examples/addaccu16/README alliance-examples/addaccu16/README
--- documentation/alliance-examples/addaccu16/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/addaccu16/README 2007-07-19 13:13:51.000000000 +0200
@@ -10,11 +10,13 @@
the associated stimuli file, and also a configuration file for IO
placement (used during the Place and Route step).
-The Makefile set environement variables properly and run Alliance tools,
+The Makefile set environment variables properly and run Alliance tools,
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "addaccu16" to any writable folder of your choice and type:
+$ make
The main targets of the makefile are listed below (following the design flow).
diff -Naur documentation/alliance-examples/adder4/adder4.ioc alliance-examples/adder4/adder4.ioc
--- documentation/alliance-examples/adder4/adder4.ioc 2004-05-23 19:27:03.000000000 +0200
+++ alliance-examples/adder4/adder4.ioc 2007-07-19 13:13:51.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
+#
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-examples/adder4/Makefile alliance-examples/adder4/Makefile
--- documentation/alliance-examples/adder4/Makefile 2004-05-24 00:15:20.000000000 +0200
+++ alliance-examples/adder4/Makefile 2007-07-19 13:13:51.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
diff -Naur documentation/alliance-examples/adder4/README alliance-examples/adder4/README
--- documentation/alliance-examples/adder4/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/adder4/README 2007-07-19 13:13:51.000000000 +0200
@@ -14,7 +14,9 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "adder4" to any writable folder of your choice and type:
+$ make
The main targets of the makefile are listed below (following the design flow).
diff -Naur documentation/alliance-examples/amd2901/amd2901_core.ioc alliance-examples/amd2901/amd2901_core.ioc
--- documentation/alliance-examples/amd2901/amd2901_core.ioc 2004-05-23 20:55:16.000000000 +0200
+++ alliance-examples/amd2901/amd2901_core.ioc 2007-07-19 13:13:52.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
+#
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-examples/amd2901/Makefile alliance-examples/amd2901/Makefile
--- documentation/alliance-examples/amd2901/Makefile 2004-05-24 00:15:22.000000000 +0200
+++ alliance-examples/amd2901/Makefile 2007-07-19 13:13:51.000000000 +0200
@@ -11,7 +11,9 @@
STANDART_PATH = PATH=$(STANDART_BIN); export PATH
# Standart Alliance binary access paths.
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
# --------------------------------------------------------------------
# Standarts binaries.
@@ -41,8 +43,8 @@
CATA_LIB2 = $(ALLIANCE_TOP)/cells/padlib
CATA_LIB = .:$(CATA_LIB0):$(CATA_LIB1):$(CATA_LIB2)
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
- RDS_TECHNO = ../etc/techno-symb.rds
- REAL_RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
GRAAL_TECHNO = $(ALLIANCE_TOP)/etc/cmos.graal
diff -Naur documentation/alliance-examples/amd2901-vasy/amd2901.ioc alliance-examples/amd2901-vasy/amd2901.ioc
--- documentation/alliance-examples/amd2901-vasy/amd2901.ioc 2004-05-23 21:00:16.000000000 +0200
+++ alliance-examples/amd2901-vasy/amd2901.ioc 2007-07-19 13:13:52.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
+#
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-examples/amd2901-vasy/Makefile alliance-examples/amd2901-vasy/Makefile
--- documentation/alliance-examples/amd2901-vasy/Makefile 2004-05-24 00:15:23.000000000 +0200
+++ alliance-examples/amd2901-vasy/Makefile 2007-07-19 13:13:52.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -40,8 +42,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 4
diff -Naur documentation/alliance-examples/digi/Makefile alliance-examples/digi/Makefile
--- documentation/alliance-examples/digi/Makefile 2004-09-09 22:03:49.000000000 +0200
+++ alliance-examples/digi/Makefile 2007-07-19 13:13:52.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
SYF = $(ALLIANCE_BIN)/syf
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -40,14 +42,14 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
METAL_LEVEL = 2
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
# /*------------------------------------------------------------\
# | |
-# | Environement |
+# | Environment |
# | |
# \------------------------------------------------------------*/
diff -Naur documentation/alliance-examples/divcas4/divcas4.ioc alliance-examples/divcas4/divcas4.ioc
--- documentation/alliance-examples/divcas4/divcas4.ioc 2004-05-23 19:52:10.000000000 +0200
+++ alliance-examples/divcas4/divcas4.ioc 2007-07-19 13:13:52.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
+#
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-examples/divcas4/Makefile alliance-examples/divcas4/Makefile
--- documentation/alliance-examples/divcas4/Makefile 2004-05-23 21:11:26.000000000 +0200
+++ alliance-examples/divcas4/Makefile 2007-07-19 13:13:52.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
diff -Naur documentation/alliance-examples/divcas4/README alliance-examples/divcas4/README
--- documentation/alliance-examples/divcas4/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/divcas4/README 2007-07-19 13:13:52.000000000 +0200
@@ -14,5 +14,6 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
-
+
+copy the folder "divcas4" to any writable folder of your choice and type:
+$ make
diff -Naur documentation/alliance-examples/hadamard/Makefile alliance-examples/hadamard/Makefile
--- documentation/alliance-examples/hadamard/Makefile 2004-05-24 00:15:25.000000000 +0200
+++ alliance-examples/hadamard/Makefile 2007-07-19 16:21:10.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,14 +41,14 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 6
# /*------------------------------------------------------------\
# | |
-# | Environement |
+# | Environment |
# | |
# \------------------------------------------------------------*/
@@ -163,11 +165,11 @@
res_vasy_1.pat : hadamard.vst calcul.vbe ram.vbe rom.vbe \
compteur.vbe sequenceur.vbe hadamard_model.vbe
- $(ENV_ASIMUT_VASY); $(ASIMUT) hadamard hadamard_1 res_vasy_1
+ $(ENV_ASIMUT_VASY); $(ASIMUT) hadamard hadamard_1 res_vasy_1
res_synth_1.pat : hadamard.vst calcul.vst ram.vst rom.vst \
compteur.vst sequenceur.vst hadamard_model.vst
- $(ENV_ASIMUT_SYNTH); $(ASIMUT) -zd hadamard hadamard_1 res_synth_1
+ $(ENV_ASIMUT_SYNTH); $(ASIMUT) -zd hadamard hadamard_1 res_synth_1
# /*------------------------------------------------------------\
@@ -299,7 +301,7 @@
# | |
# \------------------------------------------------------------*/
-lvx.done : hadamard.vst hadamard_e.al
+lvx.done : hadamard.vst hadamard_e.al
$(ENV_LVX); $(LVX) vst al hadamard hadamard_e -f
$(TOUCH) lvx.done
@@ -355,4 +357,4 @@
$(RM) -f *.vst *.vbe *.boom *.done *.xsc *.al *.ap *.gpl *.gds \
*.log *.drc *.cif *.fin *.dat *.out hadamard_e.spi res_synth_1.pat \
res_vasy_1.pat
-
+
diff -Naur documentation/alliance-examples/mipsR3000/sce/Makefile alliance-examples/mipsR3000/sce/Makefile
--- documentation/alliance-examples/mipsR3000/sce/Makefile 2004-07-30 02:40:09.000000000 +0200
+++ alliance-examples/mipsR3000/sce/Makefile 2007-07-19 13:13:58.000000000 +0200
@@ -5,7 +5,9 @@
STANDART_PATH = PATH=$(STANDART_BIN); export PATH
# Standart Alliance binary access paths.
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
# FitPath Alliance binary access paths.
# DEVEL_BIN = /users/soft5/newlabo/alliance-4.5.0/archi/Solaris/bin
diff -Naur documentation/alliance-examples/mipsR3000/sce/mips_core.ioc alliance-examples/mipsR3000/sce/mips_core.ioc
--- documentation/alliance-examples/mipsR3000/sce/mips_core.ioc 2004-05-24 00:23:35.000000000 +0200
+++ alliance-examples/mipsR3000/sce/mips_core.ioc 2007-07-19 13:13:58.000000000 +0200
@@ -1,4 +1,4 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
+#
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-examples/multi16b-reg/Makefile alliance-examples/multi16b-reg/Makefile
--- documentation/alliance-examples/multi16b-reg/Makefile 2004-05-24 00:15:29.000000000 +0200
+++ alliance-examples/multi16b-reg/Makefile 2007-07-19 13:13:59.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,14 +41,14 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 6
# /*------------------------------------------------------------\
# | |
-# | Environement |
+# | Environment |
# | |
# \------------------------------------------------------------*/
diff -Naur documentation/alliance-examples/multi4b/Makefile alliance-examples/multi4b/Makefile
--- documentation/alliance-examples/multi4b/Makefile 2004-05-24 00:15:29.000000000 +0200
+++ alliance-examples/multi4b/Makefile 2007-07-19 13:14:00.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,14 +41,14 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
# /*------------------------------------------------------------\
# | |
-# | Environement |
+# | Environment |
# | |
# \------------------------------------------------------------*/
diff -Naur documentation/alliance-examples/multi4b/README alliance-examples/multi4b/README
--- documentation/alliance-examples/multi4b/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/multi4b/README 2007-07-19 13:14:00.000000000 +0200
@@ -14,7 +14,9 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "multi4b" to any writable folder of your choice and type:
+$ make
The main targets of the makefile are listed below (following the design flow).
diff -Naur documentation/alliance-examples/multi8/Makefile alliance-examples/multi8/Makefile
--- documentation/alliance-examples/multi8/Makefile 2004-05-24 00:15:30.000000000 +0200
+++ alliance-examples/multi8/Makefile 2007-07-19 13:14:00.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
diff -Naur documentation/alliance-examples/multi8/README alliance-examples/multi8/README
--- documentation/alliance-examples/multi8/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/multi8/README 2007-07-19 13:14:00.000000000 +0200
@@ -15,4 +15,6 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "multi8" to any writable folder of your choice and type:
+$ make
diff -Naur documentation/alliance-examples/multi8b/Makefile alliance-examples/multi8b/Makefile
--- documentation/alliance-examples/multi8b/Makefile 2004-05-24 00:15:30.000000000 +0200
+++ alliance-examples/multi8b/Makefile 2007-07-19 13:14:00.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 4
diff -Naur documentation/alliance-examples/multi8b/README alliance-examples/multi8b/README
--- documentation/alliance-examples/multi8b/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/multi8b/README 2007-07-19 13:14:00.000000000 +0200
@@ -14,7 +14,9 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "multi8b" to any writable folder of your choice and type:
+$ make
The main targets of the makefile are listed below (following the design flow).
diff -Naur documentation/alliance-examples/pgcd/Makefile alliance-examples/pgcd/Makefile
--- documentation/alliance-examples/pgcd/Makefile 2004-05-24 00:15:31.000000000 +0200
+++ alliance-examples/pgcd/Makefile 2007-07-19 13:14:00.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 2
diff -Naur documentation/alliance-examples/pgcd/README alliance-examples/pgcd/README
--- documentation/alliance-examples/pgcd/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/pgcd/README 2007-07-19 13:14:00.000000000 +0200
@@ -15,5 +15,7 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "pgcd" to any writable folder of your choice and type:
+$ make
diff -Naur documentation/alliance-examples/sqrt32/Makefile alliance-examples/sqrt32/Makefile
--- documentation/alliance-examples/sqrt32/Makefile 2004-05-23 20:49:27.000000000 +0200
+++ alliance-examples/sqrt32/Makefile 2007-07-19 13:14:00.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,8 +41,8 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 5
diff -Naur documentation/alliance-examples/sqrt32/README alliance-examples/sqrt32/README
--- documentation/alliance-examples/sqrt32/README 2004-07-28 13:00:06.000000000 +0200
+++ alliance-examples/sqrt32/README 2007-07-19 13:14:00.000000000 +0200
@@ -14,4 +14,6 @@
following each step of the design flow from VHDL up to real layout in a
pseudo 0.35 techno.
-The environement variable ALLIANCE_TOP has to be set.
+
+copy the folder "sqrt32" to any writable folder of your choice and type:
+$ make
diff -Naur documentation/alliance-examples/sqrt8/Makefile alliance-examples/sqrt8/Makefile
--- documentation/alliance-examples/sqrt8/Makefile 2004-05-23 20:51:00.000000000 +0200
+++ alliance-examples/sqrt8/Makefile 2007-07-19 16:20:40.000000000 +0200
@@ -16,7 +16,9 @@
# | |
# \------------------------------------------------------------*/
ALLIANCE_BIN=$(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
VASY = $(ALLIANCE_BIN)/vasy
ASIMUT = $(ALLIANCE_BIN)/asimut
@@ -39,14 +41,14 @@
TOUCH = touch
TARGET_LIB = $(ALLIANCE_TOP)/cells/sxlib
-RDS_TECHNO_SYMB = ../etc/techno-symb.rds
-RDS_TECHNO = ../etc/techno-035.rds
+RDS_TECHNO_SYMB = $(ALLIANCE_EXAMPLES)/etc/techno-symb.rds
+RDS_TECHNO = $(ALLIANCE_EXAMPLES)/etc/techno-035.rds
SPI_MODEL = $(ALLIANCE_TOP)/etc/spimodel.cfg
METAL_LEVEL = 5
# /*------------------------------------------------------------\
# | |
-# | Environement |
+# | Environment |
# | |
# \------------------------------------------------------------*/
@@ -161,9 +163,9 @@
# \------------------------------------------------------------*/
res_vasy_1.pat : sqrt8.vst sm.vbe sqrt8_model.vbe
- $(ENV_ASIMUT_VASY); $(ASIMUT) sqrt8 sqrt8 res_vasy_1
+ $(ENV_ASIMUT_VASY); $(ASIMUT) sqrt8 sqrt8 res_vasy_1
-res_synth_1.pat : sqrt8.vst sm.vst sqrt8_model.vst
+res_synth_1.pat : sqrt8.vst sm.vst sqrt8_model.vst
$(ENV_ASIMUT_SYNTH); $(ASIMUT) sqrt8 sqrt8 res_synth_1
@@ -257,7 +259,7 @@
# | |
# \------------------------------------------------------------*/
-lvx.done : sqrt8.vst sqrt8_e.al
+lvx.done : sqrt8.vst sqrt8_e.al
$(ENV_LVX); $(LVX) vst al sqrt8 sqrt8_e -f
$(TOUCH) lvx.done
@@ -313,4 +315,4 @@
$(RM) -f *.vst *.vbe *.boom *.done *.xsc *.al *.ap *.gpl *.gds \
*.log *.drc *.cif *.fin *.dat *.out sqrt8_e.spi res_synth_1.pat \
res_vasy_1.pat
-
+

47
alliance-gcc43.patch Normal file
View file

@ -0,0 +1,47 @@
diff -Nur alliance-5.0.old/nero/src/ADefs.h alliance-5.0/nero/src/ADefs.h
--- alliance-5.0.old/nero/src/ADefs.h 2002-10-29 19:46:03.000000000 +0100
+++ alliance-5.0/nero/src/ADefs.h 2008-03-19 03:16:12.000000000 +0100
@@ -138,7 +138,7 @@
// Allocators.
private: static void *operator new (size_t size);
- private: static void operator delete (void *zone);
+ public: static void operator delete (void *zone);
public: static void *operator new (size_t size, CNodeASSet &NS);
// Modifiers.
diff -Nur alliance-5.0.old/nero/src/MDefs.h alliance-5.0/nero/src/MDefs.h
--- alliance-5.0.old/nero/src/MDefs.h 2005-10-10 17:34:05.000000000 +0200
+++ alliance-5.0/nero/src/MDefs.h 2008-03-19 01:08:24.000000000 +0100
@@ -25,6 +25,8 @@
# include "UDefs.h"
+# include <limits.h>
+# include <string.h>
diff -Nur alliance-5.0.old/ocp/src/placer/PPlacement.h alliance-5.0/ocp/src/placer/PPlacement.h
--- alliance-5.0.old/ocp/src/placer/PPlacement.h 2006-03-30 21:07:47.000000000 +0200
+++ alliance-5.0/ocp/src/placer/PPlacement.h 2008-03-19 01:10:41.000000000 +0100
@@ -43,6 +43,7 @@
#include <fstream>
#include <vector>
#include <map>
+#include <string.h>
using namespace std;
#include "mut.h"
diff -Nur alliance-5.0.old/sea/src/DEF_grammar_lex.l alliance-5.0/sea/src/DEF_grammar_lex.l
--- alliance-5.0.old/sea/src/DEF_grammar_lex.l 2002-04-25 18:16:20.000000000 +0200
+++ alliance-5.0/sea/src/DEF_grammar_lex.l 2008-03-19 01:11:28.000000000 +0100
@@ -18,7 +18,7 @@
# define yylineno DEF_grammarlineno
- int yylineno = 1;
+ // int yylineno = 1;
static int yywrap(void);

14
alliance-perms.patch Normal file
View file

@ -0,0 +1,14 @@
--- configure 2006-05-09 12:10:10.000000000 +0200
+++ configure_mod 2007-07-17 02:24:57.000000000 +0200
@@ -26054,9 +26054,9 @@
-INSTALL_DATA='${INSTALL} -m 664'
+INSTALL_DATA='${INSTALL} -m 644'
-INSTALL_PROGRAM='${INSTALL} -m 775'
+INSTALL_PROGRAM='${INSTALL} -m 755'
cat >>confdefs.h <<_ACEOF

21
alliance-run.patch Normal file
View file

@ -0,0 +1,21 @@
diff -Naur documentation/alliance-run/amd2901_core.ioc alliance-run/amd2901_core.ioc
--- documentation/alliance-run/amd2901_core.ioc 2003-10-09 14:31:00.000000000 +0200
+++ alliance-run/amd2901_core.ioc 2007-07-13 15:42:11.000000000 +0200
@@ -1,4 +1,3 @@
-# Copyright (c) 1997 by Cadence. All rights reserved.
###################################################################
# In each of TOP()/BOTTOM()/LEFT()/RIGHT() section, there are #
# placed IOs. In the IGNORE() section, the IOs are ignored #
diff -Naur documentation/alliance-run/Makefile alliance-run/Makefile
--- documentation/alliance-run/Makefile 2003-12-01 14:07:11.000000000 +0100
+++ alliance-run/Makefile 2007-07-13 15:37:37.000000000 +0200
@@ -12,7 +12,9 @@
STANDART_PATH = PATH=$(STANDART_BIN); export PATH
# Standart Alliance binary access paths.
ALLIANCE_BIN = $(ALLIANCE_TOP)/bin
+
+ALLIANCE_EXAMPLES=/usr/share/doc/alliance-doc-5.0/alliance-examples
# --------------------------------------------------------------------
# Standarts binaries.

44
alliance.fedora Normal file
View file

@ -0,0 +1,44 @@
=== License ===
Alliance CAD system is distributed under the GNU license v2.
There is no more or less limitation than the ones defined by the GPL v2.
You are kindly requested to mention
" Designed with alliance (c) LIP6, Université Pierre et Marie Curie"
so as to spread the word about "alliance CAD system" and its development team.
=== Proper Usage ===
It is recommended to source the alc_env.sh or alc_env.csh before using alliance.
source /etc/profile.d/alc_env.sh
(for example)
When a user logs in, environment variables on
/etc/profile.d/alc_env.sh
are set will be automatically sourced.
=== Overview ===
A general overview of Alliance CAD System can be found here:
/usr/share/doc/alliance-doc-5.0/design-flow/index.html
(available on the alliance-doc rpm)
=== Tutorials ===
The tutorials can be found at /usr/share/doc/alliance-doc-5.0/tutorials/
(available on the alliance-doc rpm)
It is recommended to first read /usr/share/doc/alliance-doc-5.0/overview.pdf
1. start.pdf
2. simulation.pdf
3. synthesis.pdf
4. place_and_route.pdf
=========================================================================================
Chitlesh Goorah (chitlesh AT fedoraproject DOT org)
Alliance development team and other contributors (ASIM/LIP6/UPMC)
alliance-users AT asim DOT lip6 DOT fr

434
alliance.spec Normal file
View file

@ -0,0 +1,434 @@
%define prefix %{_libdir}/%{name}
%define snapshot 20070718
Name: alliance
Version: 5.0
Release: 16.%{snapshot}snap%{?dist}
Summary: Alliance VLSI CAD Sytem
License: GPLv2
Group: Applications/Engineering
Source: http://www-asim.lip6.fr/pub/alliance/distribution/5.0/%{name}-%{version}-%{snapshot}.tar.gz
URL: http://www-asim.lip6.fr/recherche/alliance/
Patch0: alliance-env.patch
Patch1: alliance-examples.patch
Patch2: alliance-run.patch
Patch3: alliance-perms.patch
Patch4: alliance-gcc43.patch
Source1: xsch.desktop
Source2: dreal.desktop
Source3: xpat.desktop
Source4: xfsm.desktop
Source5: xvpn.desktop
Source6: graal.desktop
Source7: alliance.fedora
# Chitlesh's donated pictures to alliance
Source8: graal.png
Source9: dreal.png
Source10: xvpn.png
Source11: xfsm.png
Source12: xpat.png
Source13: xsch.png
Source14: %{name}-5.0-tutorials.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: lesstif-devel libXt-devel byacc desktop-file-utils bison
BuildRequires: libXp-devel libXpm-devel libstdc++-devel flex m4
BuildRequires: transfig ghostscript
Requires: %{name}-libs = %{version}-%{release}
# 442379
Requires(post): %{name}-libs = %{version}-%{release}
%description
Alliance is a complete set of free CAD tools and portable libraries for
VLSI design. It includes a VHDL compiler and simulator, logic synthesis
tools, and automatic place and route tools.
A complete set of portable CMOS libraries is provided, including a RAM
generator, a ROM generator and a data-path compiler.
Alliance is the result of more than ten years effort spent at ASIM department
of LIP6 laboratory of the Pierre et Marie Curie University (Paris VI, France).
Alliance has been used for research projects such as the 875 000 transistors
StaCS superscalar microprocessor and 400 000 transistors IEEE Gigabit HSL
Router.
You are kindly requested to mention
" Designed with alliance (c) LIP6, Université Pierre et Marie Curie"
so as to spread the word about "alliance CAD system" and its development team.
Alliance provides CAD tools covering most of all the digital design flow:
* VHDL Compilation and Simulation
* Model checking and formal proof
* RTL and Logic synthesis
* Data-Path compilation
* Macro-cells generation
* Place and route
* Layout edition
* Netlist extraction and verification
* Design rules checking
%{name} is listed among Fedora Electronic Lab (FEL) packages.
%package libs
Summary: Alliance VLSI CAD Sytem - multilibs
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
Requires: electronics-menu
Obsoletes: %{name} < 5.0-12
%description libs
Architecture dependent files for the Alliance VLSI CAD Sytem.
%package doc
Summary: Alliance VLSI CAD Sytem - Documentations
Group: Applications/Engineering
Requires: %{name} = %{version}-%{release}
Requires: gnuplot
%description doc
Documentation and tutorials for the Alliance VLSI CAD Sytem.
%prep
%setup -q
%{__cp} -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} .
sed -i "s|ALLIANCE_TOP|%{prefix}|" *.desktop
%patch0 -p0 -b .env
# removing useless copyrighted (by Cadence) lines from the examples
# and even in alliance-run
# https://www-asim.lip6.fr/wws/arc/alliance-users/2007-07/msg00006.html
%patch1 -p0 -b .examples
%patch2 -p0 -b .run
# fixing permissions
%patch3 -p0 -b .perms
### 2008 March: TexLive introduction to Rawhide
sed -i "s|tutorials||" documentation/Makefile.in
tar -xvf %{SOURCE14}
%patch4 -p1 -b .include
# make sure the man pages are UTF-8...
for nonUTF8 in distrib/doc/alc_origin.1 alcban/man1/alcbanner.1 \
loon/doc/loon.1 m2e/doc/man1/m2e.1 boog/doc/boog.1 ; do
%{_bindir}/iconv -f ISO-8859-1 -t utf-8 $nonUTF8 > $nonUTF8.conv
%{__mv} -f $nonUTF8.conv $nonUTF8
done
#wrong-file-end-of-line-encoding
sed -i 's/\r//' documentation/alliance-examples/mipsR3000/asm/*
%build
export ALLIANCE_TOP=%{prefix}
%configure --prefix=%{prefix} \
--enable-alc-shared \
--disable-static \
--includedir=%{prefix}/include \
--libdir=%{prefix}/lib \
--bindir=%{prefix}/bin \
--mandir=%{_datadir}/%{name}/man #252941
# disabling rpath
sed -i 's|^hardcode_libdir_flag_spec="\\${wl}--rpath \\${wl}\\$libdir"|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# clean unused-direct-shlib-dependencies
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
# Is not parallel-build-safe
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} INSTALL="install -p" DESTDIR=%{buildroot} install
# Set execution rights on the alc_env.* batchs and adjust ALLIANCE_TOP.
pushd %{buildroot}%{_sysconfdir}/profile.d
chmod 0644 alc_env.*
sed -i "s|@DATE@|`date`|" alc_env*
sed "s|ALLIANCE_TOP *= *\([^;]*\)|ALLIANCE_TOP=%{prefix}|" alc_env.sh
sed "s|setenv *ALLIANCE_TOP *\([^;]*\)|setenv ALLIANCE_TOP %{prefix}|" alc_env.csh
popd
# documentation
%{__cp} -pr %{buildroot}%{prefix}/doc/ .
%{__cp} -pr %{buildroot}%{prefix}/examples/alliance-examples/ .
%{__rm} -rf %{buildroot}%{prefix}/doc/
%{__rm} -rf %{buildroot}%{prefix}/examples/
# correcting minor documentation details
sed -i "s|/bin/zsh|/bin/sh|" doc/alliance-run/bench.zsh
find %{buildroot} -name '*.la' -exec rm -f {} ';'
# Adding icons for the menus
%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
%{__cp} -p %{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13} \
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps/
# desktop files with enhanced menu from electronics-menu now on Fedora
# thanks Peter Brett
for desktopfile in *.desktop; do
desktop-file-install --vendor fedora \
--add-category Engineering \
--add-category Electronics \
--remove-category Science \
--dir %{buildroot}%{_datadir}/applications/ \
$desktopfile
done
# Architecture independent files
%{__mv} %{buildroot}%{prefix}/cells %{buildroot}%{_datadir}/%{name}/
%{__mv} %{buildroot}%{prefix}/etc %{buildroot}%{_datadir}/%{name}/
# protecting hardcoded links
ln -sf ../../..%{_datadir}/%{name}/cells %{buildroot}%{prefix}/cells
ln -sf ../../..%{_datadir}/%{name}/etc %{buildroot}%{prefix}/etc
ln -sf ../../..%{_datadir}/%{name}/man %{buildroot}%{prefix}/man
# manpage-not-gzipped
find %{prefix}/man -type f -not -name '*.gz' -print | xargs gzip -9f
%{__mkdir} -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
cat > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf << EOF
# Alliance VLSI design system
%{prefix}/lib
EOF
# removing tools for compiling and installing Alliance tools
# These are for the packager (i.e me) and not for user
%{__rm} -f %{buildroot}%{_sysconfdir}/%{name}/attila.conf
%{__rm} -f %{buildroot}%{prefix}/bin/attila
%{__rm} -f %{buildroot}%{_datadir}/man/man1/attila*
%{__rm} -f doc/html/alliance/*attila.html
%{__rm} -f doc/pdf/attila.pdf
%post
/sbin/ldconfig
source %{_sysconfdir}/profile.d/alc_env.sh
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%postun
/sbin/ldconfig
touch --no-create %{_datadir}/icons/hicolor || :
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
%clean
%{__rm} -rf %{buildroot}
#These headers are useful for the _usage_ of the binaries
#without these headers some of the binaries will be broken by default
%files
%doc CHANGES LICENCE COPYING* FAQ alliance.fedora
%defattr(-,root,root,-)
%{prefix}/
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/48x48/apps/*
%files libs
%config %{_sysconfdir}/ld.so.conf.d/*
%{_datadir}/applications/fedora-*.desktop
%{_sysconfdir}/profile.d/alc_env.*
%files doc
%doc doc/html/
%doc doc/design-flow
%doc doc/pdf/*.pdf
%doc doc/overview/*.ps
%doc doc/overview/*.pdf
%doc tutorials/
#Makefiles are present in alliance-examples/*. It is normal because
# * it gives the VLSI designer a template on how to create his own
# Makefile for alliance (VLSI designers normally don't know how to do so)
# * it is not part of the build, but part of the working environment of the user
%doc alliance-examples/
%doc doc/alliance-run/
%changelog
* Fri May 30 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-16.20070718snap
- Bugfix /etc/profile.d/alc_env.csh problem #449062 #448480
* Mon May 26 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-15.20070718snap
- Bugfix: error in postinstall scriptlet: /etc/profile.d/alc_env.sh not found #442379
- Bugfix: /etc/profile.d/alc_env.csh assumes MANPATH is preset #440083
* Tue May 20 2008 Thibault North < tnorth [AT] fedoraproject DOT org> - 5.0-14.20070718snap
- Add to Electronics Menu
* Fri Mar 21 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-13.20070718snap
- Requiring new FEL menu structure
- Fixing previous desktop files
- closing unconfirmed bug #427691
- fixing multilibs issues #340621
* Tue Mar 18 2008 Thibault North < tnorth [AT] fedoraproject DOT org> - 5.0-13.20070718snap
- dropped patch4: alliance-tutorials.patch
- fixed TexLive related issues for documentation
- commenting previous make in directory tutorials
- attached tutorials made in F8 Werewolf
- dropped BR :tetex-latex
- added patch4: including more useful includes to C files
- fixed bug #434020 : alliance failed massrebuild attempt for GCC4.3
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 5.0-12.20070718snap
- Autorebuild for GCC 4.3
* Sun Feb 10 2008 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-11.20070718snap
- mass rebuild for gcc43 on rawhide
- ensuring multilibs (#340621)
* Thu Aug 23 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-10.20070718snap
- complying to freedesktop policies - categories
* Sat Aug 18 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-9.20070718snap
- fixing desktop files
- fixing MANPATH and PATH for proper priority
* Thu Aug 16 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-8.20070718snap
- fixing conflicts with QuantLib-doc package (#252941)
- update license macro to comply with new guidelines)
* Sun Aug 12 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-7.20070718snap
- moved Architecture independent files to %%{_datadir}/%%{name}
- Uses verbs in the comments line for desktop files
* Thu Aug 02 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-6.20070718snap
- chose libdir/alliance as prefix
- added new icons to the menus
- removed useless attila
- fixed MANPATH override
* Sat Jul 28 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-5.20070718snap
- fixed unused-direct-shlib-dependency and undefined-non-weak-symbol warnings
* Tue Jul 24 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-4.20070718snap
- removed X-Desktop-File-Install-Version=0.10 from desktop files
- moved the alc_env to /etc/profile.d
- updated to meet reviewer's statements - #248649
* Thu Jul 19 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-3.20070718snap
- New upstream release which includes bug fixes
* Wed Jul 18 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-2.20060509snap
- minor fixes to the tutorials + added transfig ghostscript tetex-latex as BR
- corrected some hardcoded links in the scripts
- removed %%preun and updated alliance.fedora
- spec file updated to satisfy the review
* Tue Jul 17 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-1
- prepared spec file for review and spec clean ups
- removed rm and ln from %%post and %%preun
- removed log.3.gz from mandir since it's a duplicate and conflicts with man-pages
* Sat Jul 14 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.7
- since it is not parallel-build-safe, smp mflags are removed : (by wwoods)
- added missing BR : flex : (by wwoods)
- added missing BR : bison: (by rdieter)
* Fri Jul 13 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.6
- removing useless copyrighted lines from .ioc files
- added alliance.fedora among the %%doc
* Thu Jul 12 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.5
- removing copyrighted materials
- patching the remaining examples so that they will still be valid under another folder
* Wed Jul 04 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.4
- removing unwanted debug duplicates
* Wed May 02 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.3
- added desktop files
* Wed Feb 14 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.2
- fixing documentations
* Wed Dec 13 2006 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 5.0-0.1
- Initial package
* Thu Feb 17 2005 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Synch with current version: bug & compliance with gcc 3.4.x.
* Fri Jul 16 2004 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Added Tutorial sub-package (now managed by autoconf/automake).
- Removed release tag, must be given at compile time using the
--define command line argument of rpmbuild (see mkdistrib).
* Sat Nov 15 2003 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- assert is now in assert.h, patch mut.h to include it if
GCC_VERSION >= 3003 (gcc >= 3.3.x).
* Sat Oct 18 2003 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Synched with 2003/10/18 version.
- Missing depcomp : added "--add-missing --copy" to the individual
packages in autostuff, so the first who needs depcomp will add
it at top level.
* Sun Oct 13 2002 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- autoconf m4 macros moved back in the Alliance source tree to avoid
re-declaration on our development computers (on which the macros
are in teh source tree).
- Adopt the versioning scheme from czo.
- Try to switch to dynamic libraries.
* Wed Jul 17 2002 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Moved autoconf m4 macros to /usr/share/aclocal.
- Synched with the current CVS version of Alliance.
* Fri May 31 2002 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- GenPat added.
- GenLib docs added.
- seplace/seroute/sea bug fixes.
* Thu May 16 2002 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Corrected buggy substitution of ALLIANCE_TOP in alc_env.csh.
- Remove the alc_env.* scripts in "/etc/profile.d" only if this
is the last package to be removed.
* Mon May 6 2002 Jean-Paul.Chaput <Jean-Paul.Chaput@lip6.fr>
- Initial packaging for release 5.0 (alpha stage).

10
dreal.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: Layout Viewer
Exec=ALLIANCE_TOP/bin/dreal
Icon=dreal.png
Type=Application
Terminal=false
GenericName=dreal
Categories=Science;
Comment=View the Real layout

BIN
dreal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

10
graal.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: Layout Editor
Exec=ALLIANCE_TOP/bin/graal
Icon=graal.png
Type=Application
Terminal=false
GenericName=graal
Categories=Science;
Comment=Edits physical layouts

BIN
graal.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View file

@ -0,0 +1,2 @@
917f4493c09f6f5c49d5a606a5e9bbd8 alliance-5.0-20070718.tar.gz
32cac3116f85713aec2e1e18379811eb alliance-5.0-tutorials.tar.bz2

10
xfsm.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: FSM Viewer
Exec=ALLIANCE_TOP/bin/xfsm
Icon=xfsm.png
Type=Application
Terminal=false
GenericName=xfsm
Categories=Science;
Comment=View Finite State Machines

BIN
xfsm.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

10
xpat.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: Patterns Viewer
Exec=ALLIANCE_TOP/bin/xpat
Icon=xpat.png
Type=Application
Terminal=false
GenericName=xpat
Categories=Science;
Comment=View the Patterns

BIN
xpat.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

10
xsch.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: Schematic Viewer
Exec=ALLIANCE_TOP/bin/xsch
Icon=xsch.png
Type=Application
Terminal=false
GenericName=Xsch
Categories=Science;
Comment=View the Schematic

BIN
xsch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

10
xvpn.desktop Normal file
View file

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=Alliance: Petri Nets Viewer
Exec=ALLIANCE_TOP/bin/xvpn
Icon=xvpn.png
Type=Application
Terminal=false
GenericName=xpvn
Categories=Science;
Comment=View the Petri Nets

BIN
xvpn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB