Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - Does this 'structure' exist in VHDL

 
Thread Tools Search this Thread
Old 05-25-2008, 03:00 PM   #1
Question Does this 'structure' exist in VHDL


I'm somewhat new to VHDL so I'll try to explain what I want to do.

I'm using an evaluation board (from Lattice) and want to create a debounced signal to use with student labs, that I'll use in a course on Digital Logic.

I can create the debounced signal (I'll call it "DCLK") in a VHDL entity/architecture file that uses the proper pin numbers for the inputs of the switch (it is a spdt, so two inputs)..

But now I just want to use the output signal in other VHDL designs.. I don't want to have to instantiate a component.. port map the inputs, etc.

now in C it might be like using an "include" statement.. maybe I can do it using a subroutine?.. I simply want to use the output signal "DCLK" in future designs as easily as possible.

So I'm unsure of quite how to create this 'block'.. I want to have a separate file for the debounced switch that I include with my design (I'm using ispLever with Synplify), but just somehow access the output signal DCLK in my main VHDL lab file that I might be using at the time..

I have read quite a bit on components and instantiating components, but this is not really a component that I'll have multiple instances of. It is like have circuit A having a single signal (DCLK) feed circuit B and I want the two circuit descriptions in their own VHDL file.. And in the VHDL for circuit B I just want to use signal DCLK.. I am unsure how to include and use the Circuit A VHDL file.


Hope this makes some sense..

Dave Crabbe
Nova Scotia Community College


crabbedh
crabbedh is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
xslt for tree structure. please help me arumahi Software 0 09-03-2007 04:29 PM
ASP.Net Project Structure Question koraykazgan Software 0 08-10-2007 08:23 AM
HD-DVD Changers? Do they exist yet? markm75 DVD Video 6 01-11-2007 12:26 AM
Data Structure shivanigkaur Software 1 09-19-2006 08:11 AM
Re: Landing on the Moon Abraxas DVD Video 14 12-12-2003 01:55 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46