Installing edif2verilog on WIN32
================================

The edif2verilog is available for Windows NT and Windows 95 in the .zip
file:
        edif2verilog-1.0-win32.zip



This document describes how to install edif2verilog.
edif2verilog must be invoked from a MSDOS Command Window.


1. Unpack the software
----------------------

First choose an empty installation directory e.g. C:\concept,
and unpack the .zip file.  If you have an MSDOS Command Window,
you can execute:
 
        mkdir \concept
        cd \concept
        unzip -d edif2verilog-1.0-win32.zip

This will create two directories, "edif2verilog-1.0"  and "flexlm-5.12".
The flexlm-5.12 directory stores the flexlm license software
(see 4b below).

        Directory "edif2verilog-1.0" contains Concept Engineering software:

            doc\INSTALL-WIN32.TXT   This file
            doc\edif2verilog.ps     User Manual in PostScript
            win32\edif2verilog.exe  The executable file
            win32\lmgr325c.dll      Flexlm DLL file required by edif2verilog

        Directory "flexlm-5.12" contains FLEXlm software:

            win32\conceptd.exe      The Concept Engineering license daemon
            win32\flexlm.cpl        The Flexlm daemon manager
            win32\lmgrd.exe         The Flexlm license daemon
            win32\lmtools.exe       Flexlm utility tools with GUI
            win32\lmutil.exe        Flexlm utility tools
            win32\lmgr325c.dll      DLL file required by flexlm tools
            license.template        a template file for license.dat



2. Add edif2verilog into your search path (PATH variable)
---------------------------------------------------------

Extend your PATH variable by the bin-directory of edif2verilog.
One possibility to do this, is adding the following lines
to C:\autoexec.bat:
 
        set PATH C:\concept\edif2verilog-1.0\win32;%PATH%

On WindowsNT you can alternatively use the "System Properties" window
(Start->Settings->Control Panel->System) to extend your
PATH variable.



4b. Install a flexlm-based license mechamism
--------------------------------------------

To run edif2verilog, you must add a flexlm license
key.  The flexlm license mechanism locked to your Ethernet
card and is located by the environment variable "LM_LICENSE_FILE".

You must provide the hostid and hostname of
your license server and you will receive a "license.dat" file.
Please use the FLEXlm utility "lmtools" to determine the ID
of your license server PC (this can be your local PC - see 4b3):

C:\concept\flexlm-5.12\win32\lmtools

displays the hostname and hostid (Press "Hostid").  Concept
Engineering need this information to create your "license.dat"
file.


Before you continue, make sure that tcp/ip is correctly
installed on your PC.

There are different alternatives, how you can setup and
use the flexlm license scheme.  Continue with one of
4b1, 4b2 or 4b3.


4b1  If you already have a flexlm license server running on
---  another Windows PC in the local network and you want to
     use this network license server.

     We expect you are familiar with the flexlm software.
     Go to your license server (the host where lmgrd is running)
     and copy "conceptd" to the directory of your flexlm vendor
     daemons (e.g. to C:\flexlm):

            copy C:\concept\flexlm-5.12\win32\conceptd  C:\flexlm\conceptd

     Edit the license file on your license server.  Use the
     "FLEXlm License Manager" that is already installed on your
     network license server (normally available in Control Panel
     (Start->Settings->Control Panel->FLEXlm License Manager)).
     In the "Setup" window, you will see the name of the License File
     and in the "License" window, you can view the License File.

     Add a DAEMON and a FEATURE line into your License File.
     The DAEMON line looks like:

            DAEMON conceptd C:\flexlm\conceptd

     The FEATURE line must be exactly as received from Concept
     Engineering.  See above, how to obtain the license key.

     Check the IP port number in the SERVER line and note that
     you must use the same number in LM_LICENSE_FILE below.

     Goto your local PC (where you have installed edif2verilog-1.0).
     Here, you must locate the license server, by defining the environment
     variable LM_LICENSE_FILE.  For example, if your license server's name
     is "Orion" and lmgrd listens on port 1700, then you should set
     LM_LICENSE_FILE to 1700@Orion.

     One possibility to define environment variables is to add
     a line like the following to C:\autoexec.bat and reboot afterwards.
 
        set LM_LICENSE_FILE=1700@Orion
 
     On WindowsNT you can alternatively use the "System Properties" window
     (Start->Settings->Control Panel->System) to set the environment variable
     LM_LICENSE_FILE.

     Please make sure, that the node-locked environment variable
     ceBoxLicenseNLV is undefined (remove it from your C:\autoexec.bat).


4b2  If you already have a flexlm license server running on
---  a UNIX workstation in your local network and you want to
     use this UNIX workstation as your network license server.

     We expect you are familiar with the flexlm software.
     Go to your UNIX license server (the host where lmgrd is running)
     and install a UNIX-version of "conceptd" on this computer.
     To get "conceptd", you must also download the UNIX version of
     the edif2verilog sofware from:

        //www.concept.de/edif2verilog/edif2verilog-1.0-PLATFORM.tar.gz

     Now, follow the FLEXlm section in the UNIX installation notes
     edif2verilog-1.0/doc/INSTALL-UNIX.TXT.  The only UNIX file you need is
     "conceptd", you can delete all other files from the UNIX installation
     tree.

     Check the IP port number in the SERVER line and note that
     you must use the same number in LM_LICENSE_FILE on your local
     PC.  Go to your local PC and define LM_LICENSE_FILE as described
     in 4b1 above.


4b3  If you don't have a lmgrd running, or if you want to start a
---  separate lmgrd on your PC to manage the Concept Engineering
     license file.

     Copy the license.dat file that you have received from Concept
     Engineering license file to

        C:\concept\flexlm-5.12\license.dat

     Modify the DAEMON line by entering the correct pathname to the
     Concept daemon at C:\concept\flexlm-5.12\win32\conceptd.
 
     If the IP port number 1700 is already in use, then you must
     change the IP port number in the SERVER line of the file
     license.dat and in LM_LICENSE_FILE below.
 
     Use the "FLEXlm License Manager" to start the "lmgrd" License
     Daemon.  With the explorer, double-click on

        C:\concept\flexlm-5.12\win32\flexlm.cpl
 
     In the "FLEXlm License Manager" go to the "Setup" window and
     fill in the fields:
 
        lmgrd.exe:    C:\concept\flexlm-5.12\win32\lmgrd.exe
        License File  C:\concept\flexlm-5.12\license.dat
        Debug Log:    C:\concept\flexlm-5.12\licence.log
 
     Enable "Start Server at Power-Up"
 
     Go to the "Control" window and start the License Server.
     The press "Status" to display the server status.  If anything
     went wrong, check the logfile C:\concept\flexlm-5.12\licence.log.
 
     If you want to have the FLEXlm License Manager" in the "Control Panel"
     (Start->Settings->Control Panel), then you should copy flexlm.cpl and
     lmgr325c.dll to the "system" directory (on Windows95 C:\windows\system,
     on WindowsNT %SystemRoot%\system32).

     Locate the license file by the environment variable LM_LICENSE_FILE.
     One possibility to define environment variables is to add
     a line like the following to C:\autoexec.bat and reboot afterwards.
 
        set LM_LICENSE_FILE=C:\concept\flexlm-5.12\license.dat
 
     On WindowsNT you can alternatively use the "System Properties" window
     (Start->Settings->Control Panel->System) to set the environment variable
     LM_LICENSE_FILE.

     Please make sure, that the node-locked environment variable
     ceBoxLicenseNLV is undefined (remove it from your C:\autoexec.bat).


Test the FLEXlm installation
----------------------------

Invoke lmtools:

        C:\concept\flexlm-5.12\win32\lmtools
 
If LM_LICENSE_FILE is setup correctly, then there is no need to
specify a "Current License File" in the window.
 
Test the "Checksum", and run "Diagnostics".  The Concept
Engineering vendor daemon is "conceptd".

FLEXlm problems ?
-----------------
    If you run into any FLEXlm problem, then you may check out the
    FLEXlm End User Manual at http://www.globetrotter.com/manual.htm
    or the FAQ at http://www.globetrotter.com/flmfaq.htm).


That is all.  Now, you can use a MSDOS Command Window to invoke edif2verilog.
E.g. type:
        edif2verilog -symlib C:\concept\edif2verilog-1.0\symlib\generic.edf

If you want, you can follow the tutorial in demo/doc/tutorial.html.
Please refer to the user manual in doc/user_manual.html if you want
to derive symbol shapes for your library.

** End of installation **
