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

Reply

VHDL - Signal use from pin

 
Thread Tools Search this Thread
Old 04-28-2005, 02:05 PM   #1
Default Signal use from pin


Hi newsgroup,

in my last post "SYNC + FIFO" I talked about the sychronization method
of an external data stream.
Additional to the bus data I have some control signals coming from
the USB transceiver which are also synchronous to the RXCLK which
I use as the FIFO write clock (see last post).

In order to respond directly to the control signals I get from the
transceiver(for example:
USB transceiver drives one control signal high to notify the FPGA to
place the next data byte on the DATA[7..0] bus)
I have to use the control signal from the pin in my state machine
running
with the RXCLK.

What recommendations do you make when using such a signal from a pin
with regard to placement, timing constraints etc. ?

Thank you for your great help.

Rgds
André


ALuPin
  Reply With Quote
Old 04-28-2005, 03:04 PM   #2
Gabor
 
Posts: n/a
Default Re: Signal use from pin
ALuPin wrote:
> Hi newsgroup,
>
> in my last post "SYNC + FIFO" I talked about the sychronization

method
> of an external data stream.
> Additional to the bus data I have some control signals coming from
> the USB transceiver which are also synchronous to the RXCLK which
> I use as the FIFO write clock (see last post).
>
> In order to respond directly to the control signals I get from the
> transceiver(for example:
> USB transceiver drives one control signal high to notify the FPGA to
> place the next data byte on the DATA[7..0] bus)
> I have to use the control signal from the pin in my state machine
> running
> with the RXCLK.
>
> What recommendations do you make when using such a signal from a pin
> with regard to placement, timing constraints etc. ?
>
> Thank you for your great help.
>
> Rgds
> André



If latency is not an issue, I would register the control signal at the
IOB to make sure you don't have setup timing issues. Then add another
delay stage (register) for the DATA[7..0] bus so you can use the
control signal a cycle later.

If you need to reduce latency into your FIFO, you need to create a
timing spec in the ucf file for the control signal like:
OFFSET = IN 7.2 ns BEFORE "RXCLK";
to make sure your state machine does not exceed the input setup
time available.

If you haven't assigned pins yet, I would suggest grouping the control
pin near the data pins so your state machine can be placed easily
near the control input.



Gabor
  Reply With Quote
Old 05-04-2005, 08:35 AM   #3
ALuPin@web.de
 
Posts: n/a
Default Re: Signal use from pin
> If latency is not an issue, I would register the control signal at
the
> IOB to make sure you don't have setup timing issues. Then add

another
> delay stage (register) for the DATA[7..0] bus so you can use the
> control signal a cycle later.
>
> If you need to reduce latency into your FIFO, you need to create a
> timing spec in the ucf file for the control signal like:
> OFFSET = IN 7.2 ns BEFORE "RXCLK";
> to make sure your state machine does not exceed the input setup
> time available.
>
> If you haven't assigned pins yet, I would suggest grouping the

control
> pin near the data pins so your state machine can be placed easily
> near the control input.



How can I make this timing constraint "OFFSET X BEFORE Clk" in
QuartusII ?

Thank you for your help.

Rgds
Andre



ALuPin@web.de
  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
I am having trouble editing a signal in a sub program. Haai Hardware 0 08-28-2007 02:58 PM
Need help on Modelsim VHDL syntax? ASAP:) kaji General Help Related Topics 0 03-14-2007 10:43 PM
Need help on a Modelsim VHDL Syntax? ASAP:) kaji Software 0 03-14-2007 10:43 PM
IMHO, Digital SECAM video is better than Analog NTSC video Radium DVD Video 167 10-25-2006 04:16 AM
Convert S-video to RF signal Monkey Monkey DVD Video 10 01-14-2004 08:17 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