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

Reply

VHDL - Delta delay problem between multiple ports

 
Thread Tools Search this Thread
Old 05-28-2008, 03:21 PM   #1
Default Delta delay problem between multiple ports


I have Module1 with an output port ClkA.
Module1 is instantiated in Module2 that has the two output ports ClkA
and ClkB.


mapping Module1.ClkA to either module2.ClkA or Module2.ClkB without
delta delay is easy.

But, is there any VHDL constructs, such that: Module1.ClkA can be
mapped to both Module2.ClkA and Module2.ClkB without any

delta delay difference between these 3 ?

Thanks in advance
Trygve


Trygve Odegaard
  Reply With Quote
Old 05-30-2008, 05:53 AM   #2
Thomas Stanka
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
On 28 Mai, 16:21, Trygve Odegaard <tro...@start.no> wrote:
> I have Module1 with an output port ClkA.
> Module1 is instantiated in Module2 that has the two output ports ClkA
> and ClkB.
> But, is there any VHDL constructs, such that: Module1.ClkA can be
> mapped to both Module2.ClkA and Module2.ClkB without any
>
> delta delay difference between these 3 ?


Question: Why do you bother about delta delays?
Use "Y <= X after 1 ns" for clocked signals and you have no problem
with delta delays.

There is no construct for signal assignment, that is free of delta
delay, only variables are updated in the same tick, but I would'nt use
variables for clocks, as i find it no good idea to have a rising edge
of clock within one delta delay (would'nt suprise me, if the tools
wouldn't support this propperly).

bye Thomas






Thomas Stanka
  Reply With Quote
Old 05-30-2008, 08:39 AM   #3
Trygve Odegaard
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
On 30 Mai, 06:53, Thomas Stanka <usenet_nospam_va...@stanka-web.de>
wrote:
> On 28 Mai, 16:21, Trygve Odegaard <tro...@start.no> wrote:
>
> > I have Module1 with an output port ClkA.
> > Module1 is instantiated in Module2 that has the two output ports ClkA
> > and ClkB.
> > But, is there any VHDL constructs, such that: *Module1.ClkA can be
> > mapped to both Module2.ClkA and Module2.ClkB without any

>
> > delta delay difference *between these 3 ?

>
> Question: Why do you bother about delta delays?
> Use "Y <= X after 1 ns" for clocked signals and you have no problem
> with delta delays.
>
> There is no construct for signal assignment, that is free of delta
> delay, only variables are updated in the same tick, but I would'nt use
> variables for clocks, as i find it no good idea to have a rising edge
> of clock within one delta delay (would'nt suprise me, if the tools
> wouldn't support this propperly).
>
> bye Thomas



My Module1 output data ( delta synchronously with clkA) in addition to
clkA. At he output of module2,
I still want both to be delta-synchronous, which is no problem. I
have already experienced how hard it is to debug HW-failures when the
simulation-OK is due to a architechually deeply buried delta offset.
The simple case with clock & data only, gives me no problem. The
problem arise when I want to take a clock, and split into two copies
at the next-higher level, still with all three copies at the same
delta.
Regards Trygve


Trygve Odegaard
  Reply With Quote
Old 05-30-2008, 10:34 AM   #4
Tricky
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
On 28 May, 15:21, Trygve Odegaard <tro...@start.no> wrote:
> I have Module1 with an output port ClkA.
> Module1 is instantiated in Module2 that has the two output ports ClkA
> and ClkB.
>
> mapping Module1.ClkA to either module2.ClkA or Module2.ClkB without
> delta delay is easy.
>
> But, is there any VHDL constructs, such that: Module1.ClkA can be
> mapped to both Module2.ClkA and Module2.ClkB without any
>
> delta delay difference between these 3 ?
>
> Thanks in advance
> Trygve


There is no way to avoid adding delta delays with signal assignments.
SingalB <= SignalA will always add a 1 delta delay. Its unavoidable.

I still dont understand why you are so worried. Delta delays are
infinitely small, so have no meaning in reality. If you are having
problems with variables updating, then I suggest that you are
triggering a process in the wrong way.

To align deltas in processes, you can add 1 delta wait states:
wait for 0 ns; will hold a process for 1 delta.


Tricky
  Reply With Quote
Old 05-30-2008, 06:08 PM   #5
Mike Treseler
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
Trygve Odegaard wrote:

> The simple case with clock & data only, gives me no problem. The
> problem arise when I want to take a clock, and split into two copies
> at the next-higher level, still with all three copies at the same
> delta.


The system clock should never appear
on the right side of an assignment,
or on a port output.

-- Mike Treseler


Mike Treseler
  Reply With Quote
Old 05-31-2008, 03:07 AM   #6
Dal
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
You can put a delta on the data to match those suffered by splitting
the clocks. Use local signals in the module2 architecture;

module2_ClkA <= module1_ClkA;
module2_ClkB <= module1_ClkA;
module2_data <= module1_data;

where module1_* are signals connected to the module1 instantiation
port map and module2_* are the module2 port names.

Obviously this only works if module2_data is an 'out' and not 'inout'.

Darrin


Dal
  Reply With Quote
Old 06-02-2008, 06:07 AM   #7
Thomas Stanka
 
Posts: n/a
Default Re: Delta delay problem between multiple ports
On 30 Mai, 19:08, Mike Treseler <mike_trese...@comcast.net> wrote:
> The system clock should never appear
> on the right side of an assignment,
> or on a port output.


Unless you intend to do so with reason (and knowing what to do).
I had several designs where it is necessary to have the clock on right
hand side of assignments or provide internal clocksignals at an
output.

bye Thomas


Thomas Stanka
  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
Ports & Bios Problem gullab2 General Help Related Topics 0 09-19-2006 01:14 PM
Re: USB issue ... some USB 2 ports working only in USB 1 mode hungsolo2005@yahoo.com A+ Certification 0 06-14-2006 08:26 PM
Re: storage problem SilverSurfer A+ Certification 6 06-09-2005 07:58 PM
Re: Virus Problem ** Help!** David BlandIII A+ Certification 1 03-02-2004 06:00 PM
Re: Serious Computer Problem hootnholler A+ Certification 1 11-24-2003 12:18 PM




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