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

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-16-2004, 03:27 PM
Drew
Guest
 
Posts: n/a
Default How Bidirectional (AHDL) or INOUT (VHDL) are displayed in the Waveform Simulation?

Hello all,

I am kind of confused how is bidirectional pin displayed in the
Waveform Simulation. In my waveform file I have A as an bidirectional
pin but when I run simulation one more pin name appears called
A~result. I guess that's the output and the other one which is
displayed as A is input in simulation. But I need to know more like,
are those pins supposed to be displaying same waveform? If not which
one is a true waveform. I am trying to find some help on this in
Quartus but I cannot see it.

Your help is appreciated
Drew
Reply With Quote
  #2 (permalink)  
Old 07-19-2004, 04:26 PM
Subroto Datta
Guest
 
Posts: n/a
Default Re: How Bidirectional (AHDL) or INOUT (VHDL) are displayed in the Waveform Simulation?

Hi Drew,

This is taken from the Quartus II online help and should answer your
questions.

This is copy-n-paste from the Quartus II Help file. (do "Search" for
"simulating bidirectional pin" from the Quartus II
Help)

================================================== ======================
Guidelines for Simulating Bidirectional Nodes

See Also
Using Vector Files with the Simulator


When simulating a vector file that contains bidirectional nodes, use the
following guidelines:

A bidirectional node is represented in a Vector Waveform File (.vwf) by
two channels: one channel represents the input to the bidirectional
node, the other channel represents the output from the bidirectional
node. You can enter the input channel into the VWF by adding the
bidirectional node to the VWF using the Node Finder dialog box, or you
can insert the bidirectional node into the VWF using the Insert Node or
Bus command (Edit menu).

If the Automatically add pins to simulation output waveforms option is
turned on, the Simulator automatically creates the corresponding output
channel for the bidirectional node, named <bidir node name>~result,
after simulation is complete. This channel contains the logic levels of
the output channel during simulation. Alternatively, you can manually
create the output channel and specify the expected logic levels for the
output channel. If you manually create the channel, you must name the
channel <bidir node name>~result, and follow the additional guidelines
below about specifying the logic levels of bidirectional nodes.

Hope this helps.

- Subroto Datta
Altera Corp.


"Drew" <[email protected]> wrote in message
news:[email protected] om...
> Hello all,
>
> I am kind of confused how is bidirectional pin displayed in the
> Waveform Simulation. In my waveform file I have A as an bidirectional
> pin but when I run simulation one more pin name appears called
> A~result. I guess that's the output and the other one which is
> displayed as A is input in simulation. But I need to know more like,
> are those pins supposed to be displaying same waveform? If not which
> one is a true waveform. I am trying to find some help on this in
> Quartus but I cannot see it.
>
> Your help is appreciated
> Drew



Reply With Quote
  #3 (permalink)  
Old 07-19-2004, 08:58 PM
Drew
Guest
 
Posts: n/a
Default Re: How Bidirectional (AHDL) or INOUT (VHDL) are displayed in the Waveform Simulation?

Thanks a lot Subroto,

I am having one more doubt now. If I place an Oscilloscope on the
Bidirectional Pin, what would I see? Will it be any form of
combination of A and A~result or it will be A~result only. Can I use
MAX3000 family EPLD for this sort of application?

Thanks,
Dhruvish
Reply With Quote
  #4 (permalink)  
Old 07-20-2004, 01:54 AM
Pino
Guest
 
Posts: n/a
Default Re: How Bidirectional (AHDL) or INOUT (VHDL) are displayed in the Waveform Simulation?

[email protected] (Drew) wrote in message news:<[email protected] com>...
> Thanks a lot Subroto,
>
> I am having one more doubt now. If I place an Oscilloscope on the
> Bidirectional Pin, what would I see? Will it be any form of
> combination of A and A~result or it will be A~result only. Can I use
> MAX3000 family EPLD for this sort of application?
>
> Thanks,
> Dhruvish


Dhruvish,

My understanding is that the bidirectional pin will only have one
set of values on it and therefore on the oscilloscope you will measure
what is present. The diagram should explain this. If OE = '1' for
example then whatever the value of A is should be present otherwise,
it should be whatever some other entity placed on that pin.

_____ OE
|
|/|
___/ |___ A
| \ |
| \|
Z --|
| |\
|___| \___ Y
| /
|/
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
Re: AHDL, VERILOG or VHDL?? Jon Beniston FPGA 0 04-06-2004 12:27 PM
Re: AHDL, VERILOG or VHDL?? john jakson FPGA 0 04-05-2004 04:02 AM
Re: AHDL, VERILOG or VHDL?? Chris Balough FPGA 6 04-04-2004 06:21 PM


All times are GMT +1. The time now is 03:31 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