info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiple modules inside a module hierarchy


From: Colm Murphy
Subject: Re: Multiple modules inside a module hierarchy
Date: Wed, 06 Mar 2002 18:11:28 +0000
User-agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-GB; rv:0.9.4) Gecko/20011019 Netscape6/6.2

Hi Bruno,

We are also using CVS for IC/FPGA dev.

We found the best way was to use alias modules as follows:

USB_DEVICE -a IP_BLOCKS/USB_DEVICE
USART -a IP_BLOCKS/USART
ARM_CORE -a ARM_CORE

Using alias modules you can also include individual files from a directory, all the files in a directory or another alias module.

Hope this helps,

Colm A

Bruno Mussard wrote:

Hi everybody,

I manage an ARM-based chip development project and I have entered a
couple of digital functions  (IP BLOCKS) in my CVS repository (USART,
USB_DEVICE, etc...). I should like to set-up  the following hierarchy
configuration for a new "top-level" module MY_PROJECT :

 MY_PROJECT/ ---> IP_BLOCKS/ ---> USART/
              |               |
              |                -> USB_DEVICE/
              |
               -> ARM_CORE/

(The modules USART, USB_DEVICE and ARM_CORE are separate modules in
CVS).
I should like to re-create the previous hierarchy at checkout, with the
sub-modules being placed at the right place.

I made a trial in the $CVSROOT/modules with the entry :

USART        USART
USB_DEVICE   USB_DEVICE
ARM_CORE     ARM_CORE
MY_PROJECT   MY_PROJECT &USART &USB_DEVICE &ARM_CORE

As expected, I get all sub-modules directly placed under the main
module.
I also tried :

MY_PROJECT   MY_PROJECT IP_BLOCKS/&USART IP_BLOCKS/&USB_DEVICE &ARM_CORE

I don't succeed in placing them under the IP_BLOCKS directory.

Anybody knows how to place USART and USB_DEVICE at the right place ?

Best regards

Bruno

+----------------------------------------------------------+
| Bruno MUSSARD                                 ATMEL S.A. |
| Design Engineer                            ZI de Rousset |
| CASP division                        13106 Rousset Cedex |
| phone  : 33 (0)4 42 53 65 36                      FRANCE |
| e-mail : address@hidden                               |
+----------------------------------------------------------+





reply via email to

[Prev in Thread] Current Thread [Next in Thread]