Re: asg 3

Ed Casas (edc@ece.ubc.ca) Sun, 5 Nov 2000 10:13:35 -0800


Date: Sun, 5 Nov 2000 10:13:35 -0800
From: Ed Casas <edc@ece.ubc.ca>
Subject: Re: asg 3

> I still obtain the same library error message after compiling the asg3 > package, that is, > > library error: primary unit 'package' denoted by prefix 'work' must > exist in the library. > i use another entity to call it.....use work.package.all....and i save > the package in maxIIwork->asg3. Note that "package" is a reserved word in VHDL so you should call your package something else (e.g. asg3) and use: use work.asg3.all ; > Can it be that the directory that i saved is not the work directory? > thanks for your help. In MaxPlusII the work library is stored in the project directory. The work library will contain all of the packages compiled with the same project directory (read the file "Lib.dls" with notepad to see a list of the packages currently in a directory's work library). If you put the files for one assignment/lab in the same directory then all the packages you compile should end up in the same "work" library. -- Ed Casas edc@ece.ubc.ca http://casas.ece.ubc.ca +1 604 822-2592