FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > VHDL

VHDL comp.lang.vhdl newsgroup / Usenet

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2003, 07:51 PM
Muhammad Khan
Guest
 
Posts: n/a
Default how can I use a signal defined in one Architecture to another Architecture

Hello everybody,

I want to use the signal defined in one architecture in VHDL to
another architecture. I have two architecture in the same .vhd file
and I am using Component mapping. I required the result of calculation
of a signal to be used in second architecture. Can any one tell how to
defined signal so that it is globally visible to other architectures.

Regards

Khan
Reply With Quote
  #2 (permalink)  
Old 07-09-2003, 10:30 PM
Mario Trams
Guest
 
Posts: n/a
Default Re: how can I use a signal defined in one Architecture to another Architecture

Muhammad Khan wrote:

> I want to use the signal defined in one architecture in VHDL to
> another architecture. I have two architecture in the same .vhd file
> and I am using Component mapping. I required the result of calculation
> of a signal to be used in second architecture. Can any one tell how to
> defined signal so that it is globally visible to other architectures.


Hello Muhammad,

this is a common question.

The clean way for handling this is to feed the signal through
the port maps.

Regards,
Mario

--
----------------------------------------------------------------------
Digital Force / Mario Trams [email protected]
[email protected]
Chemnitz University of Technology http://www.tu-chemnitz.de/~mtr
Dept. of Computer Science Tel.: (+49) 371 531 1660
Chair of Computer Architecture Fax.: (+49) 371 531 1818
----------------------------------------------------------------------
Reply With Quote
  #3 (permalink)  
Old 07-10-2003, 12:20 AM
Jon
Guest
 
Posts: n/a
Default Re: how can I use a signal defined in one Architecture to another Architecture

Hi Khan,
If you declare a signal in a package and you include the package
then the signal can be globally used by all architectures that
reference that package. This is for simulation only and will not
work for synthesis.

Jon


[email protected] (Muhammad Khan) wrote in message news:<[email protected] com>...
> Hello everybody,
>
> I want to use the signal defined in one architecture in VHDL to
> another architecture. I have two architecture in the same .vhd file
> and I am using Component mapping. I required the result of calculation
> of a signal to be used in second architecture. Can any one tell how to
> defined signal so that it is globally visible to other architectures.
>
> Regards
>
> Khan

Reply With Quote
  #4 (permalink)  
Old 07-10-2003, 06:11 AM
Ken McElvain
Guest
 
Posts: n/a
Default Re: how can I use a signal defined in one Architecture to another Architecture



Jon wrote:

> Hi Khan,
> If you declare a signal in a package and you include the package
> then the signal can be globally used by all architectures that
> reference that package. This is for simulation only and will not
> work for synthesis.



This will work for synthesis in Synplify Pro 7.3.


>
> Jon
>
>
> [email protected] (Muhammad Khan) wrote in message news:<[email protected] com>...
>
>>Hello everybody,
>>
>>I want to use the signal defined in one architecture in VHDL to
>>another architecture. I have two architecture in the same .vhd file
>>and I am using Component mapping. I required the result of calculation
>>of a signal to be used in second architecture. Can any one tell how to
>>defined signal so that it is globally visible to other architectures.
>>
>>Regards
>>
>>Khan
>>


Reply With Quote
  #5 (permalink)  
Old 07-10-2003, 08:14 PM
Mike Treseler
Guest
 
Posts: n/a
Default Re: how can I use a signal defined in one Architecture to anotherArchitecture

Ken McElvain wrote:

> Jon wrote:


>> If you declare a signal in a package and you include the package
>> then the signal can be globally used by all architectures that
>> reference that package. This is for simulation only and will not
>> work for synthesis.

>
> This will work for synthesis in Synplify Pro 7.3.


Cool. Never seen that in synthesis before.
How did you get test cases?

-- Mike Treseler

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pipelined Architecture ? dash82 Verilog 3 11-30-2007 06:03 AM
architecture nezhate FPGA 4 11-22-2005 12:21 PM
how can I use a signal defined in one Architecture to another Architecture Muhammad Khan Verilog 3 07-10-2003 06:11 AM
how can I use a signal defined in one Architecture to another Architecture Muhammad Khan FPGA 3 07-10-2003 06:11 AM


All times are GMT +1. The time now is 03:38 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved