A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » General Hardware
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how can I use a signal defined in one Architecture to another Architecture



 
 
Thread Tools Display Modes
  #1  
Old July 9th 03, 06:51 PM
Muhammad Khan
external usenet poster
 
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
  #2  
Old July 9th 03, 09:30 PM
Mario Trams
external usenet poster
 
Posts: n/a
Default

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

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
----------------------------------------------------------------------
  #3  
Old July 9th 03, 11:20 PM
Jon
external usenet poster
 
Posts: n/a
Default

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


(Muhammad Khan) wrote in message . 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

  #4  
Old July 10th 03, 05:11 AM
Ken McElvain
external usenet poster
 
Posts: n/a
Default



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


(Muhammad Khan) wrote in message . 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


 




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video Signal Loss w/ATI X700PRO on P5AD2-E Premium JB Asus Motherboards 2 January 16th 05 03:00 PM
Power supply changed - No video signal Corson27 Asus Motherboards 2 February 21st 04 12:21 AM
lost of video capture signal and forced to restart my PC tibo Nvidia Videocards 0 January 9th 04 09:06 PM
Signal frequency is out of range - Please change timing signal Zordiac Homebuilt PC's 3 December 30th 03 08:43 AM
Need help finding Cable signal problem Vanguard General 1 August 1st 03 09:56 PM


All times are GMT +1. The time now is 12:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.