Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #488123 > unrolled thread

FPGA one-shot

Started byJohn Larkin <jjlarkin@highlandtechnology.com>
First post2017-12-13 19:43 -0800
Last post2017-12-16 11:59 -0600
Articles 20 on this page of 48 — 12 participants

Back to article view | Back to sci.electronics.design


Contents

  FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-13 19:43 -0800
    Re: FPGA one-shot krw@notreal.com - 2017-12-13 22:57 -0500
      Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-13 20:02 -0800
    Re: FPGA one-shot Richard Damon <Richard@Damon-Family.org> - 2017-12-13 23:29 -0500
    Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 02:10 -0500
      Re: FPGA one-shot Theo Markettos <theom+news@chiark.greenend.org.uk> - 2017-12-14 11:44 +0000
        Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-14 08:54 -0800
          Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:39 -0500
      Re: FPGA one-shot krw@notreal.com - 2017-12-14 09:12 -0500
        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 10:02 -0500
          Re: FPGA one-shot krw@notreal.com - 2017-12-14 10:35 -0500
            Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:50 -0500
              Re: FPGA one-shot krw@notreal.com - 2017-12-14 21:59 -0500
                Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-15 00:56 -0500
                  Re: FPGA one-shot krw@notreal.com - 2017-12-15 07:19 -0500
    Re: FPGA one-shot whit3rd <whit3rd@gmail.com> - 2017-12-14 00:52 -0800
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 09:53 -0500
    Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-14 10:49 +0000
      Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-14 11:39 +0000
        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 10:18 -0500
          Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-15 10:21 +0000
            Re: FPGA one-shot krw@notreal.com - 2017-12-15 07:21 -0500
            Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-15 10:57 -0500
              Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-16 09:50 +0000
                Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-16 09:27 -0500
                  Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-16 16:32 +0000
                    Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-16 12:44 -0500
                      Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-18 08:54 +0000
                        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-18 12:07 -0500
                          Re: FPGA one-shot Allan Herriman <allanherriman@hotmail.com> - 2017-12-19 10:11 +0000
                            Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-19 09:30 -0500
                        Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-19 07:29 -0800
      Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 10:31 -0800
        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 14:06 -0500
    Re: FPGA one-shot bloggs.fredbloggs.fred@gmail.com - 2017-12-14 07:33 -0800
      Re: FPGA one-shot John Larkin <jjlarkin@highlandtechnology.com> - 2017-12-14 09:09 -0800
        Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 12:45 -0500
        Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-14 13:56 -0600
    Re: FPGA one-shot Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-12-14 11:05 -0800
      Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 11:23 -0800
        Re: FPGA one-shot Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-12-14 11:35 -0800
          Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 13:24 -0800
    Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-14 13:49 -0600
      Re: FPGA one-shot rickman <gnuarm@gmail.com> - 2017-12-14 15:03 -0500
      Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-14 13:34 -0800
        Re: FPGA one-shot Jon Elson <jmelson@wustl.edu> - 2017-12-15 15:50 -0600
          Re: FPGA one-shot John Larkin <jjlarkin@highland_snip_technology.com> - 2017-12-15 15:10 -0800
    Re: FPGA one-shot Les Cargill <lcargill99@comcast.com> - 2017-12-16 11:59 -0600

Page 1 of 3  [1] 2 3  Next page →


#488123 — FPGA one-shot

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-12-13 19:43 -0800
SubjectFPGA one-shot
Message-ID<5fr33dlrlngel72risuluap0mhlrlkms0f@4ax.com>
I have an async signal, call it TRIG, inside a Zynq 7020.

At the rising edge of TRIG, I want to make an async one-shot. It will
leave the chip as RX and reset some outboard ecl logic. Anything from,
say, 2 ns to 10 ns width would work.

The board is built, and we can't easily add more connections to the
FPGA or hack in glue logic. Well, it would be ugly.

Here are some ideas:

https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1

We could play with i/o cell slew rates and drive strengths to tune the
timing. And use as many delay stages (circuit B) as we like... there
are tons of unused balls.

Or maybe use some internal delay path, if we can find one that is
reasonably repeatable.

The compiler will probably let us do circuit A or B without whining
much, but might object to the third one.

I grew up on async hairball logic, so this seems reasonable to me, but
my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
here and do it synchronously, for various reasons.

An internal passive pullup resistor charging an i/o pin capacitance
would be fun, but I don't think we could make a short enough blip.

Any other ideas or comments?


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [next] | [standalone]


#488124

Fromkrw@notreal.com
Date2017-12-13 22:57 -0500
Message-ID<set33dd0oc9oh59qbt266efuhisiaedtpk@4ax.com>
In reply to#488123
On Wed, 13 Dec 2017 19:43:20 -0800, John Larkin
<jjlarkin@highlandtechnology.com> wrote:

>
>I have an async signal, call it TRIG, inside a Zynq 7020.
>
>At the rising edge of TRIG, I want to make an async one-shot. It will
>leave the chip as RX and reset some outboard ecl logic. Anything from,
>say, 2 ns to 10 ns width would work.
>
>The board is built, and we can't easily add more connections to the
>FPGA or hack in glue logic. Well, it would be ugly.
>
>Here are some ideas:
>
>https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1

How about (A) *AND* not(A), with an external delay, or capacitor on
not(A)?
>
>We could play with i/o cell slew rates and drive strengths to tune the
>timing. And use as many delay stages (circuit B) as we like... there
>are tons of unused balls.
>
>Or maybe use some internal delay path, if we can find one that is
>reasonably repeatable.

That's going to be difficult without a low-level editing tool (and
even with, is _highly_ not recommended).
>
>The compiler will probably let us do circuit A or B without whining
>much, but might object to the third one.
>
>I grew up on async hairball logic, so this seems reasonable to me, but
>my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>here and do it synchronously, for various reasons.
>
>An internal passive pullup resistor charging an i/o pin capacitance
>would be fun, but I don't think we could make a short enough blip.
>
>Any other ideas or comments?

[toc] | [prev] | [next] | [standalone]


#488125

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-12-13 20:02 -0800
Message-ID<ant33dt0n1s8ro48fq5udoq3avu7l6kt35@4ax.com>
In reply to#488124
On Wed, 13 Dec 2017 22:57:40 -0500, krw@notreal.com wrote:

>On Wed, 13 Dec 2017 19:43:20 -0800, John Larkin
><jjlarkin@highlandtechnology.com> wrote:
>
>>
>>I have an async signal, call it TRIG, inside a Zynq 7020.
>>
>>At the rising edge of TRIG, I want to make an async one-shot. It will
>>leave the chip as RX and reset some outboard ecl logic. Anything from,
>>say, 2 ns to 10 ns width would work.
>>
>>The board is built, and we can't easily add more connections to the
>>FPGA or hack in glue logic. Well, it would be ugly.
>>
>>Here are some ideas:
>>
>>https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>
>How about (A) *AND* not(A), with an external delay, or capacitor on
>not(A)?

I could do all sorts of stuff if I could access some FPGA balls, but I
can't. I brought out some test points, but we used them for another
hack!

And kluging parts onto the board is second-best to doing something
invisible like this.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#488128

FromRichard Damon <Richard@Damon-Family.org>
Date2017-12-13 23:29 -0500
Message-ID<I6nYB.80$uM7.30@fx06.iad>
In reply to#488123
On 12/13/17 10:43 PM, John Larkin wrote:
> 
> I have an async signal, call it TRIG, inside a Zynq 7020.
> 
> At the rising edge of TRIG, I want to make an async one-shot. It will
> leave the chip as RX and reset some outboard ecl logic. Anything from,
> say, 2 ns to 10 ns width would work.
> 
> The board is built, and we can't easily add more connections to the
> FPGA or hack in glue logic. Well, it would be ugly.
> 
> Here are some ideas:
> 
> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
> 
> We could play with i/o cell slew rates and drive strengths to tune the
> timing. And use as many delay stages (circuit B) as we like... there
> are tons of unused balls.
> 
> Or maybe use some internal delay path, if we can find one that is
> reasonably repeatable.
> 
> The compiler will probably let us do circuit A or B without whining
> much, but might object to the third one.
> 
> I grew up on async hairball logic, so this seems reasonable to me, but
> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
> here and do it synchronously, for various reasons.
> 
> An internal passive pullup resistor charging an i/o pin capacitance
> would be fun, but I don't think we could make a short enough blip.
> 
> Any other ideas or comments?
> 
> 

The big issue with trying to do this sort of stuff asynchronously in an 
FPGA is that timing is tremendously dependent on routing and placement, 
including at times things that you really can't control at the typical 
programming level. It is quite different from the old days of using 
discrete chips where the gates were the slow part, and the wires were 
mostly negligible. Inside the FPGA, the wires are significant part of 
timing, and the tools and chip designs go to a LOT of work to make 
synchronous stuff work.

My guess is that the most repeatable method would be to build a delay 
line by instancing a buffer, with the synthesis directives to force the 
system to not optimize/remove the buffer, and force it at one end of the 
FPGA, and then have that drive a similar buffer which you have forced to 
be on the other side of the chip, and so on back and forth until you 
have built up enough delay.

[toc] | [prev] | [next] | [standalone]


#488130

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 02:10 -0500
Message-ID<p0t84p$1lm$1@dont-email.me>
In reply to#488123
John Larkin wrote on 12/13/2017 10:43 PM:
>
> I have an async signal, call it TRIG, inside a Zynq 7020.
>
> At the rising edge of TRIG, I want to make an async one-shot. It will
> leave the chip as RX and reset some outboard ecl logic. Anything from,
> say, 2 ns to 10 ns width would work.
>
> The board is built, and we can't easily add more connections to the
> FPGA or hack in glue logic. Well, it would be ugly.
>
> Here are some ideas:
>
> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>
> We could play with i/o cell slew rates and drive strengths to tune the
> timing. And use as many delay stages (circuit B) as we like... there
> are tons of unused balls.
>
> Or maybe use some internal delay path, if we can find one that is
> reasonably repeatable.
>
> The compiler will probably let us do circuit A or B without whining
> much, but might object to the third one.
>
> I grew up on async hairball logic, so this seems reasonable to me, but
> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
> here and do it synchronously, for various reasons.
>
> An internal passive pullup resistor charging an i/o pin capacitance
> would be fun, but I don't think we could make a short enough blip.
>
> Any other ideas or comments?

The variation in delay in an FPGA for any given route aren't all that bad, 
about the same as with regular logic.  I assume Xilinx still has a manual 
chip editing tool.  It will give you delays of routes.  So you can do a run 
of the chip and manually reroute the one delay path to get your time delay. 
There are ways to force placement of the FF with attributes in your source 
code.  So as long as the routes you need are not used it would be a simple 
matter to hand route the same path each time.  Getting a 2 ns minimum pulse 
width shouldn't be hard at all.

You seem to be thinking you can tune the loop with I/O pad delays, but that 
will still require manual work in the chip editor to make adjustments each 
time you get a different route on the delay path and so need different I/O 
pad slew rates.

One other thought is to use some number of LUTs as the main delay element, 
there are ways to force the use of such a component in HDL source.  By 
constraining the placement to cells that are in the same logic block you 
will get consistent route delays and routing variation should go away.  I 
believe it is the inter-logic cell routes that have lots of variation.

The main reason why your FPGA guys are reacting in horror is because they 
know what a royal PITA it will be to learn the tools well enough to make all 
this happen.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488150

FromTheo Markettos <theom+news@chiark.greenend.org.uk>
Date2017-12-14 11:44 +0000
Message-ID<AIh*iKjJw@news.chiark.greenend.org.uk>
In reply to#488130
In comp.arch.fpga rickman <gnuarm@gmail.com> wrote:
> The main reason why your FPGA guys are reacting in horror is because they
> know what a royal PITA it will be to learn the tools well enough to make
> all this happen.

Is this a mature product, or one which is likely to see frequent updates?

That may direct your strategy.  If it's mature, it might be feasible to use
the ECO tools to manually add cells to an existing design.

If it's still in flux, you probably need to understand how to direct the
tool that this piece of logic needs special treatment and should be
constructed like so.  This means it will persist over respins of the rest of
the logic.  You will likely still need to verify over a number of respins
that it does in fact persist, given that it's hard to get this right.

Theo

[toc] | [prev] | [next] | [standalone]


#488189

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2017-12-14 08:54 -0800
Message-ID<5ha53d1h0i161g4i48d0ri71om003hjrt0@4ax.com>
In reply to#488150
On 14 Dec 2017 11:44:34 +0000 (GMT), Theo Markettos
<theom+news@chiark.greenend.org.uk> wrote:

>In comp.arch.fpga rickman <gnuarm@gmail.com> wrote:
>> The main reason why your FPGA guys are reacting in horror is because they
>> know what a royal PITA it will be to learn the tools well enough to make
>> all this happen.
>
>Is this a mature product, or one which is likely to see frequent updates?
>
>That may direct your strategy.  If it's mature, it might be feasible to use
>the ECO tools to manually add cells to an existing design.
>
>If it's still in flux, you probably need to understand how to direct the
>tool that this piece of logic needs special treatment and should be
>constructed like so.  This means it will persist over respins of the rest of
>the logic.  You will likely still need to verify over a number of respins
>that it does in fact persist, given that it's hard to get this right.
>
>Theo

The virtue of putting most of the delay into i/o cells is that they
will behave the same independent of compiles. And the slew/drive
strength params can be set without any hand routing or fighting the
tools to do something they don't want to do. We can hang timing
constraints on the presumably short runs to the dflop to keep that
uncertainty low.

Rob here suggested that an adder/carry chain might have a more
consistent internal delay (it's a fixed structure) than routing
delays, which might change every compile. Maybe a MAC?

I'll ask my folks to add a couple of experiments to the next compile.
We are iterating the design to add and test features once or twice a
week. This thing is maybe 20x as complex as our average design, which
is our excuse for not thinking out everything in advance.




-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#488202

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 12:39 -0500
Message-ID<p0ud03$h97$1@dont-email.me>
In reply to#488189
John Larkin wrote on 12/14/2017 11:54 AM:
> On 14 Dec 2017 11:44:34 +0000 (GMT), Theo Markettos
> <theom+news@chiark.greenend.org.uk> wrote:
>
>> In comp.arch.fpga rickman <gnuarm@gmail.com> wrote:
>>> The main reason why your FPGA guys are reacting in horror is because they
>>> know what a royal PITA it will be to learn the tools well enough to make
>>> all this happen.
>>
>> Is this a mature product, or one which is likely to see frequent updates?
>>
>> That may direct your strategy.  If it's mature, it might be feasible to use
>> the ECO tools to manually add cells to an existing design.
>>
>> If it's still in flux, you probably need to understand how to direct the
>> tool that this piece of logic needs special treatment and should be
>> constructed like so.  This means it will persist over respins of the rest of
>> the logic.  You will likely still need to verify over a number of respins
>> that it does in fact persist, given that it's hard to get this right.
>>
>> Theo
>
> The virtue of putting most of the delay into i/o cells is that they
> will behave the same independent of compiles. And the slew/drive
> strength params can be set without any hand routing or fighting the
> tools to do something they don't want to do. We can hang timing
> constraints on the presumably short runs to the dflop to keep that
> uncertainty low.
>
> Rob here suggested that an adder/carry chain might have a more
> consistent internal delay (it's a fixed structure) than routing
> delays, which might change every compile. Maybe a MAC?
>
> I'll ask my folks to add a couple of experiments to the next compile.
> We are iterating the design to add and test features once or twice a
> week. This thing is maybe 20x as complex as our average design, which
> is our excuse for not thinking out everything in advance.

There is nothing inherent in the IOBs that makes their delay more consistent 
than any other internal logic component.  The issue is the routing 
*changing* when you recompile the design.  *That* will give widely varying 
timing unless you lock the placement of each component so there is a direct 
route available between them.  I have not studied the routing flow of the 
newer families of Xilinx devices, but I believe if you stay within a local 
block of logic the routing resources have very direct paths, so the timing 
with not change appreciably on different passes.  This location constraint 
can be relative so it simply puts the logic in the same block but allows the 
block to "float" anywhere in the device.  If you also want to minimize the 
delay from the leading edge of the trigger pulse you need to further 
constrain the logic to be adjacent to the IOB which should again be able to 
use dedicated routing for adjacent blocks.

The adder carry chain has a defined delay just like any other block of 
logic, but the delays are very short per bit, I recall around 200 ps, but 
may be less in the newer devices.  Again, no advantage other than being able 
to customize the pulse width with very high resolution which you appear to 
have indicated is not important.

The way to reduce variation in the pulse width is to use logic block local 
routing which will have much less potential variation.  In all cases you 
will have PVT variation in timing which you can't do anything about.  It is 
not clear if the delay time (trigger to leading edge of pulse) is important. 
  If it is you will likely still need to deal with widely varying routing 
delays between blocks (IOB and logic).  The delay from trigger input to the 
FF can be constrained I believe although I've never used this.  So the 
routing from the FF to the output should be optimized through placement.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488164

Fromkrw@notreal.com
Date2017-12-14 09:12 -0500
Message-ID<n6153d5p37nohu2fu18ssg7ppkd58u9nj2@4ax.com>
In reply to#488130
On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:

>John Larkin wrote on 12/13/2017 10:43 PM:
>>
>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>
>> At the rising edge of TRIG, I want to make an async one-shot. It will
>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>> say, 2 ns to 10 ns width would work.
>>
>> The board is built, and we can't easily add more connections to the
>> FPGA or hack in glue logic. Well, it would be ugly.
>>
>> Here are some ideas:
>>
>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>
>> We could play with i/o cell slew rates and drive strengths to tune the
>> timing. And use as many delay stages (circuit B) as we like... there
>> are tons of unused balls.
>>
>> Or maybe use some internal delay path, if we can find one that is
>> reasonably repeatable.
>>
>> The compiler will probably let us do circuit A or B without whining
>> much, but might object to the third one.
>>
>> I grew up on async hairball logic, so this seems reasonable to me, but
>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>> here and do it synchronously, for various reasons.
>>
>> An internal passive pullup resistor charging an i/o pin capacitance
>> would be fun, but I don't think we could make a short enough blip.
>>
>> Any other ideas or comments?
>
>The variation in delay in an FPGA for any given route aren't all that bad, 
>about the same as with regular logic.  

It's higher in FPGAs since the wires are longer (higher capacitance),
though distance between gates may (or may not) be similar.  The wires
in an FPGA are "fixed" length, where they are only as long as needed
in an ASIC.  There is also a lot of capacitance from all of the muxes
(pass gates) hanging off the wire.  The higher magnitude will mean a
higher variation, too.

>I assume Xilinx still has a manual 
>chip editing tool.  It will give you delays of routes.  So you can do a run 
>of the chip and manually reroute the one delay path to get your time delay. 
>There are ways to force placement of the FF with attributes in your source 
>code.  So as long as the routes you need are not used it would be a simple 
>matter to hand route the same path each time.  Getting a 2 ns minimum pulse 
>width shouldn't be hard at all.

A very poor way of doing things but it may be the only way to make
such a kludge.

>You seem to be thinking you can tune the loop with I/O pad delays, but that 
>will still require manual work in the chip editor to make adjustments each 
>time you get a different route on the delay path and so need different I/O 
>pad slew rates.
>
>One other thought is to use some number of LUTs as the main delay element, 
>there are ways to force the use of such a component in HDL source.  By 
>constraining the placement to cells that are in the same logic block you 
>will get consistent route delays and routing variation should go away.  I 
>believe it is the inter-logic cell routes that have lots of variation.
>
>The main reason why your FPGA guys are reacting in horror is because they 
>know what a royal PITA it will be to learn the tools well enough to make all 
>this happen.

Not to mention the maintenance of this kludge for the life of the
product.

[toc] | [prev] | [next] | [standalone]


#488175

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 10:02 -0500
Message-ID<p0u3q4$sdi$2@dont-email.me>
In reply to#488164
krw@notreal.com wrote on 12/14/2017 9:12 AM:
> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>
>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>
>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>
>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>> say, 2 ns to 10 ns width would work.
>>>
>>> The board is built, and we can't easily add more connections to the
>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>
>>> Here are some ideas:
>>>
>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>
>>> We could play with i/o cell slew rates and drive strengths to tune the
>>> timing. And use as many delay stages (circuit B) as we like... there
>>> are tons of unused balls.
>>>
>>> Or maybe use some internal delay path, if we can find one that is
>>> reasonably repeatable.
>>>
>>> The compiler will probably let us do circuit A or B without whining
>>> much, but might object to the third one.
>>>
>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>> here and do it synchronously, for various reasons.
>>>
>>> An internal passive pullup resistor charging an i/o pin capacitance
>>> would be fun, but I don't think we could make a short enough blip.
>>>
>>> Any other ideas or comments?
>>
>> The variation in delay in an FPGA for any given route aren't all that bad,
>> about the same as with regular logic.
>
> It's higher in FPGAs since the wires are longer (higher capacitance),
> though distance between gates may (or may not) be similar.  The wires
> in an FPGA are "fixed" length, where they are only as long as needed
> in an ASIC.  There is also a lot of capacitance from all of the muxes
> (pass gates) hanging off the wire.  The higher magnitude will mean a
> higher variation, too.
>
>> I assume Xilinx still has a manual
>> chip editing tool.  It will give you delays of routes.  So you can do a run
>> of the chip and manually reroute the one delay path to get your time delay.
>> There are ways to force placement of the FF with attributes in your source
>> code.  So as long as the routes you need are not used it would be a simple
>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>> width shouldn't be hard at all.
>
> A very poor way of doing things but it may be the only way to make
> such a kludge.
>
>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>> will still require manual work in the chip editor to make adjustments each
>> time you get a different route on the delay path and so need different I/O
>> pad slew rates.
>>
>> One other thought is to use some number of LUTs as the main delay element,
>> there are ways to force the use of such a component in HDL source.  By
>> constraining the placement to cells that are in the same logic block you
>> will get consistent route delays and routing variation should go away.  I
>> believe it is the inter-logic cell routes that have lots of variation.
>>
>> The main reason why your FPGA guys are reacting in horror is because they
>> know what a royal PITA it will be to learn the tools well enough to make all
>> this happen.
>
> Not to mention the maintenance of this kludge for the life of the
> product.

Something like this was done in test equipment from a major manufacturer. 
They needed to mux a clock and the delay through the chip needed to be 
minimal.  I don't recall if the LUT was hand placed or not, but the routing 
was done by hand in the chip editor.  I found out about it because we had to 
touch the chip.  My boss was the guy who had originally done this and not 
documented a single thing on it.  He gave a demonstration on how to do the 
hand mod to few of us and that was how he passed the torch, by oral 
tradition.  lol

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488180

Fromkrw@notreal.com
Date2017-12-14 10:35 -0500
Message-ID<9h653d5mds8qjqin95urvd25fsoh5ic8dg@4ax.com>
In reply to#488175
On Thu, 14 Dec 2017 10:02:25 -0500, rickman <gnuarm@gmail.com> wrote:

>krw@notreal.com wrote on 12/14/2017 9:12 AM:
>> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>>
>>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>>
>>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>>
>>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>>> say, 2 ns to 10 ns width would work.
>>>>
>>>> The board is built, and we can't easily add more connections to the
>>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>>
>>>> Here are some ideas:
>>>>
>>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>>
>>>> We could play with i/o cell slew rates and drive strengths to tune the
>>>> timing. And use as many delay stages (circuit B) as we like... there
>>>> are tons of unused balls.
>>>>
>>>> Or maybe use some internal delay path, if we can find one that is
>>>> reasonably repeatable.
>>>>
>>>> The compiler will probably let us do circuit A or B without whining
>>>> much, but might object to the third one.
>>>>
>>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>>> here and do it synchronously, for various reasons.
>>>>
>>>> An internal passive pullup resistor charging an i/o pin capacitance
>>>> would be fun, but I don't think we could make a short enough blip.
>>>>
>>>> Any other ideas or comments?
>>>
>>> The variation in delay in an FPGA for any given route aren't all that bad,
>>> about the same as with regular logic.
>>
>> It's higher in FPGAs since the wires are longer (higher capacitance),
>> though distance between gates may (or may not) be similar.  The wires
>> in an FPGA are "fixed" length, where they are only as long as needed
>> in an ASIC.  There is also a lot of capacitance from all of the muxes
>> (pass gates) hanging off the wire.  The higher magnitude will mean a
>> higher variation, too.
>>
>>> I assume Xilinx still has a manual
>>> chip editing tool.  It will give you delays of routes.  So you can do a run
>>> of the chip and manually reroute the one delay path to get your time delay.
>>> There are ways to force placement of the FF with attributes in your source
>>> code.  So as long as the routes you need are not used it would be a simple
>>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>>> width shouldn't be hard at all.
>>
>> A very poor way of doing things but it may be the only way to make
>> such a kludge.
>>
>>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>>> will still require manual work in the chip editor to make adjustments each
>>> time you get a different route on the delay path and so need different I/O
>>> pad slew rates.
>>>
>>> One other thought is to use some number of LUTs as the main delay element,
>>> there are ways to force the use of such a component in HDL source.  By
>>> constraining the placement to cells that are in the same logic block you
>>> will get consistent route delays and routing variation should go away.  I
>>> believe it is the inter-logic cell routes that have lots of variation.
>>>
>>> The main reason why your FPGA guys are reacting in horror is because they
>>> know what a royal PITA it will be to learn the tools well enough to make all
>>> this happen.
>>
>> Not to mention the maintenance of this kludge for the life of the
>> product.
>
>Something like this was done in test equipment from a major manufacturer. 
>They needed to mux a clock and the delay through the chip needed to be 
>minimal.  I don't recall if the LUT was hand placed or not, but the routing 
>was done by hand in the chip editor.  I found out about it because we had to 
>touch the chip.  My boss was the guy who had originally done this and not 
>documented a single thing on it.  He gave a demonstration on how to do the 
>hand mod to few of us and that was how he passed the torch, by oral 
>tradition.  lol

What a wonderful way to run a company.  I assume they're no longer in
business?

[toc] | [prev] | [next] | [standalone]


#488207

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 12:50 -0500
Message-ID<p0udl9$m6i$1@dont-email.me>
In reply to#488180
krw@notreal.com wrote on 12/14/2017 10:35 AM:
> On Thu, 14 Dec 2017 10:02:25 -0500, rickman <gnuarm@gmail.com> wrote:
>
>> krw@notreal.com wrote on 12/14/2017 9:12 AM:
>>> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>>>
>>>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>>>
>>>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>>>
>>>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>>>> say, 2 ns to 10 ns width would work.
>>>>>
>>>>> The board is built, and we can't easily add more connections to the
>>>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>>>
>>>>> Here are some ideas:
>>>>>
>>>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>>>
>>>>> We could play with i/o cell slew rates and drive strengths to tune the
>>>>> timing. And use as many delay stages (circuit B) as we like... there
>>>>> are tons of unused balls.
>>>>>
>>>>> Or maybe use some internal delay path, if we can find one that is
>>>>> reasonably repeatable.
>>>>>
>>>>> The compiler will probably let us do circuit A or B without whining
>>>>> much, but might object to the third one.
>>>>>
>>>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>>>> here and do it synchronously, for various reasons.
>>>>>
>>>>> An internal passive pullup resistor charging an i/o pin capacitance
>>>>> would be fun, but I don't think we could make a short enough blip.
>>>>>
>>>>> Any other ideas or comments?
>>>>
>>>> The variation in delay in an FPGA for any given route aren't all that bad,
>>>> about the same as with regular logic.
>>>
>>> It's higher in FPGAs since the wires are longer (higher capacitance),
>>> though distance between gates may (or may not) be similar.  The wires
>>> in an FPGA are "fixed" length, where they are only as long as needed
>>> in an ASIC.  There is also a lot of capacitance from all of the muxes
>>> (pass gates) hanging off the wire.  The higher magnitude will mean a
>>> higher variation, too.
>>>
>>>> I assume Xilinx still has a manual
>>>> chip editing tool.  It will give you delays of routes.  So you can do a run
>>>> of the chip and manually reroute the one delay path to get your time delay.
>>>> There are ways to force placement of the FF with attributes in your source
>>>> code.  So as long as the routes you need are not used it would be a simple
>>>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>>>> width shouldn't be hard at all.
>>>
>>> A very poor way of doing things but it may be the only way to make
>>> such a kludge.
>>>
>>>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>>>> will still require manual work in the chip editor to make adjustments each
>>>> time you get a different route on the delay path and so need different I/O
>>>> pad slew rates.
>>>>
>>>> One other thought is to use some number of LUTs as the main delay element,
>>>> there are ways to force the use of such a component in HDL source.  By
>>>> constraining the placement to cells that are in the same logic block you
>>>> will get consistent route delays and routing variation should go away.  I
>>>> believe it is the inter-logic cell routes that have lots of variation.
>>>>
>>>> The main reason why your FPGA guys are reacting in horror is because they
>>>> know what a royal PITA it will be to learn the tools well enough to make all
>>>> this happen.
>>>
>>> Not to mention the maintenance of this kludge for the life of the
>>> product.
>>
>> Something like this was done in test equipment from a major manufacturer.
>> They needed to mux a clock and the delay through the chip needed to be
>> minimal.  I don't recall if the LUT was hand placed or not, but the routing
>> was done by hand in the chip editor.  I found out about it because we had to
>> touch the chip.  My boss was the guy who had originally done this and not
>> documented a single thing on it.  He gave a demonstration on how to do the
>> hand mod to few of us and that was how he passed the torch, by oral
>> tradition.  lol
>
> What a wonderful way to run a company.  I assume they're no longer in
> business?

Ever hear of TTC?  I was interviewed with TTC but came on board Acterna. 
TTC merged with Dynatech and WWG along with nearly a billion in debt which 
ultimately sunk the company, not anything about their designs.  I believe 
TTC was very well respected in the test equipment world.  I don't know who 
bought the pieces.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488284

Fromkrw@notreal.com
Date2017-12-14 21:59 -0500
Message-ID<ohe63d9anh7q4tcmguanj47jq4batkdbc5@4ax.com>
In reply to#488207
On Thu, 14 Dec 2017 12:50:30 -0500, rickman <gnuarm@gmail.com> wrote:

>krw@notreal.com wrote on 12/14/2017 10:35 AM:
>> On Thu, 14 Dec 2017 10:02:25 -0500, rickman <gnuarm@gmail.com> wrote:
>>
>>> krw@notreal.com wrote on 12/14/2017 9:12 AM:
>>>> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>>>>
>>>>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>>>>
>>>>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>>>>
>>>>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>>>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>>>>> say, 2 ns to 10 ns width would work.
>>>>>>
>>>>>> The board is built, and we can't easily add more connections to the
>>>>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>>>>
>>>>>> Here are some ideas:
>>>>>>
>>>>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>>>>
>>>>>> We could play with i/o cell slew rates and drive strengths to tune the
>>>>>> timing. And use as many delay stages (circuit B) as we like... there
>>>>>> are tons of unused balls.
>>>>>>
>>>>>> Or maybe use some internal delay path, if we can find one that is
>>>>>> reasonably repeatable.
>>>>>>
>>>>>> The compiler will probably let us do circuit A or B without whining
>>>>>> much, but might object to the third one.
>>>>>>
>>>>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>>>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>>>>> here and do it synchronously, for various reasons.
>>>>>>
>>>>>> An internal passive pullup resistor charging an i/o pin capacitance
>>>>>> would be fun, but I don't think we could make a short enough blip.
>>>>>>
>>>>>> Any other ideas or comments?
>>>>>
>>>>> The variation in delay in an FPGA for any given route aren't all that bad,
>>>>> about the same as with regular logic.
>>>>
>>>> It's higher in FPGAs since the wires are longer (higher capacitance),
>>>> though distance between gates may (or may not) be similar.  The wires
>>>> in an FPGA are "fixed" length, where they are only as long as needed
>>>> in an ASIC.  There is also a lot of capacitance from all of the muxes
>>>> (pass gates) hanging off the wire.  The higher magnitude will mean a
>>>> higher variation, too.
>>>>
>>>>> I assume Xilinx still has a manual
>>>>> chip editing tool.  It will give you delays of routes.  So you can do a run
>>>>> of the chip and manually reroute the one delay path to get your time delay.
>>>>> There are ways to force placement of the FF with attributes in your source
>>>>> code.  So as long as the routes you need are not used it would be a simple
>>>>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>>>>> width shouldn't be hard at all.
>>>>
>>>> A very poor way of doing things but it may be the only way to make
>>>> such a kludge.
>>>>
>>>>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>>>>> will still require manual work in the chip editor to make adjustments each
>>>>> time you get a different route on the delay path and so need different I/O
>>>>> pad slew rates.
>>>>>
>>>>> One other thought is to use some number of LUTs as the main delay element,
>>>>> there are ways to force the use of such a component in HDL source.  By
>>>>> constraining the placement to cells that are in the same logic block you
>>>>> will get consistent route delays and routing variation should go away.  I
>>>>> believe it is the inter-logic cell routes that have lots of variation.
>>>>>
>>>>> The main reason why your FPGA guys are reacting in horror is because they
>>>>> know what a royal PITA it will be to learn the tools well enough to make all
>>>>> this happen.
>>>>
>>>> Not to mention the maintenance of this kludge for the life of the
>>>> product.
>>>
>>> Something like this was done in test equipment from a major manufacturer.
>>> They needed to mux a clock and the delay through the chip needed to be
>>> minimal.  I don't recall if the LUT was hand placed or not, but the routing
>>> was done by hand in the chip editor.  I found out about it because we had to
>>> touch the chip.  My boss was the guy who had originally done this and not
>>> documented a single thing on it.  He gave a demonstration on how to do the
>>> hand mod to few of us and that was how he passed the torch, by oral
>>> tradition.  lol
>>
>> What a wonderful way to run a company.  I assume they're no longer in
>> business?
>
>Ever hear of TTC?

No.  I think I know why.

>I was interviewed with TTC but came on board Acterna. 
>TTC merged with Dynatech and WWG along with nearly a billion in debt which 
>ultimately sunk the company, not anything about their designs.  I believe 
>TTC was very well respected in the test equipment world.  I don't know who 
>bought the pieces.

Makes complete sense.  Knowledge locked up in someone's head =>
company in pieces.

[toc] | [prev] | [next] | [standalone]


#488289

Fromrickman <gnuarm@gmail.com>
Date2017-12-15 00:56 -0500
Message-ID<p0vo6n$6ec$1@dont-email.me>
In reply to#488284
krw@notreal.com wrote on 12/14/2017 9:59 PM:
> On Thu, 14 Dec 2017 12:50:30 -0500, rickman <gnuarm@gmail.com> wrote:
>
>> krw@notreal.com wrote on 12/14/2017 10:35 AM:
>>> On Thu, 14 Dec 2017 10:02:25 -0500, rickman <gnuarm@gmail.com> wrote:
>>>
>>>> krw@notreal.com wrote on 12/14/2017 9:12 AM:
>>>>> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>>>>>
>>>>>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>>>>>
>>>>>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>>>>>
>>>>>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>>>>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>>>>>> say, 2 ns to 10 ns width would work.
>>>>>>>
>>>>>>> The board is built, and we can't easily add more connections to the
>>>>>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>>>>>
>>>>>>> Here are some ideas:
>>>>>>>
>>>>>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>>>>>
>>>>>>> We could play with i/o cell slew rates and drive strengths to tune the
>>>>>>> timing. And use as many delay stages (circuit B) as we like... there
>>>>>>> are tons of unused balls.
>>>>>>>
>>>>>>> Or maybe use some internal delay path, if we can find one that is
>>>>>>> reasonably repeatable.
>>>>>>>
>>>>>>> The compiler will probably let us do circuit A or B without whining
>>>>>>> much, but might object to the third one.
>>>>>>>
>>>>>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>>>>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>>>>>> here and do it synchronously, for various reasons.
>>>>>>>
>>>>>>> An internal passive pullup resistor charging an i/o pin capacitance
>>>>>>> would be fun, but I don't think we could make a short enough blip.
>>>>>>>
>>>>>>> Any other ideas or comments?
>>>>>>
>>>>>> The variation in delay in an FPGA for any given route aren't all that bad,
>>>>>> about the same as with regular logic.
>>>>>
>>>>> It's higher in FPGAs since the wires are longer (higher capacitance),
>>>>> though distance between gates may (or may not) be similar.  The wires
>>>>> in an FPGA are "fixed" length, where they are only as long as needed
>>>>> in an ASIC.  There is also a lot of capacitance from all of the muxes
>>>>> (pass gates) hanging off the wire.  The higher magnitude will mean a
>>>>> higher variation, too.
>>>>>
>>>>>> I assume Xilinx still has a manual
>>>>>> chip editing tool.  It will give you delays of routes.  So you can do a run
>>>>>> of the chip and manually reroute the one delay path to get your time delay.
>>>>>> There are ways to force placement of the FF with attributes in your source
>>>>>> code.  So as long as the routes you need are not used it would be a simple
>>>>>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>>>>>> width shouldn't be hard at all.
>>>>>
>>>>> A very poor way of doing things but it may be the only way to make
>>>>> such a kludge.
>>>>>
>>>>>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>>>>>> will still require manual work in the chip editor to make adjustments each
>>>>>> time you get a different route on the delay path and so need different I/O
>>>>>> pad slew rates.
>>>>>>
>>>>>> One other thought is to use some number of LUTs as the main delay element,
>>>>>> there are ways to force the use of such a component in HDL source.  By
>>>>>> constraining the placement to cells that are in the same logic block you
>>>>>> will get consistent route delays and routing variation should go away.  I
>>>>>> believe it is the inter-logic cell routes that have lots of variation.
>>>>>>
>>>>>> The main reason why your FPGA guys are reacting in horror is because they
>>>>>> know what a royal PITA it will be to learn the tools well enough to make all
>>>>>> this happen.
>>>>>
>>>>> Not to mention the maintenance of this kludge for the life of the
>>>>> product.
>>>>
>>>> Something like this was done in test equipment from a major manufacturer.
>>>> They needed to mux a clock and the delay through the chip needed to be
>>>> minimal.  I don't recall if the LUT was hand placed or not, but the routing
>>>> was done by hand in the chip editor.  I found out about it because we had to
>>>> touch the chip.  My boss was the guy who had originally done this and not
>>>> documented a single thing on it.  He gave a demonstration on how to do the
>>>> hand mod to few of us and that was how he passed the torch, by oral
>>>> tradition.  lol
>>>
>>> What a wonderful way to run a company.  I assume they're no longer in
>>> business?
>>
>> Ever hear of TTC?
>
> No.  I think I know why.
>
>> I was interviewed with TTC but came on board Acterna.
>> TTC merged with Dynatech and WWG along with nearly a billion in debt which
>> ultimately sunk the company, not anything about their designs.  I believe
>> TTC was very well respected in the test equipment world.  I don't know who
>> bought the pieces.
>
> Makes complete sense.  Knowledge locked up in someone's head =>
> company in pieces.

You didn't read a word I wrote.  The company failed because like so many in 
the dot com bubble they didn't see it was a bubble and borrowed a shit-ton 
of money to expand, then when the bubble burst they couldn't pay the debt. 
it had nothing to do with the dick-head I had for a boss.

The dick-head came from the company's history developing as a startup and 
having loose engineering management principles.  So he didn't know any 
better because they never taught him any better.  But the company was a 
technical success.  Ask anyone who works in telecom if they've ever used a 
T-BERD.  It is highly regarded test equipment from what I've heard and very 
widely used.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488308

Fromkrw@notreal.com
Date2017-12-15 07:19 -0500
Message-ID<u9f73d98vfsb6g6bb6hgrnb9a3ur7941m6@4ax.com>
In reply to#488289
On Fri, 15 Dec 2017 00:56:37 -0500, rickman <gnuarm@gmail.com> wrote:

>krw@notreal.com wrote on 12/14/2017 9:59 PM:
>> On Thu, 14 Dec 2017 12:50:30 -0500, rickman <gnuarm@gmail.com> wrote:
>>
>>> krw@notreal.com wrote on 12/14/2017 10:35 AM:
>>>> On Thu, 14 Dec 2017 10:02:25 -0500, rickman <gnuarm@gmail.com> wrote:
>>>>
>>>>> krw@notreal.com wrote on 12/14/2017 9:12 AM:
>>>>>> On Thu, 14 Dec 2017 02:10:06 -0500, rickman <gnuarm@gmail.com> wrote:
>>>>>>
>>>>>>> John Larkin wrote on 12/13/2017 10:43 PM:
>>>>>>>>
>>>>>>>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>>>>>>>
>>>>>>>> At the rising edge of TRIG, I want to make an async one-shot. It will
>>>>>>>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>>>>>>>> say, 2 ns to 10 ns width would work.
>>>>>>>>
>>>>>>>> The board is built, and we can't easily add more connections to the
>>>>>>>> FPGA or hack in glue logic. Well, it would be ugly.
>>>>>>>>
>>>>>>>> Here are some ideas:
>>>>>>>>
>>>>>>>> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
>>>>>>>>
>>>>>>>> We could play with i/o cell slew rates and drive strengths to tune the
>>>>>>>> timing. And use as many delay stages (circuit B) as we like... there
>>>>>>>> are tons of unused balls.
>>>>>>>>
>>>>>>>> Or maybe use some internal delay path, if we can find one that is
>>>>>>>> reasonably repeatable.
>>>>>>>>
>>>>>>>> The compiler will probably let us do circuit A or B without whining
>>>>>>>> much, but might object to the third one.
>>>>>>>>
>>>>>>>> I grew up on async hairball logic, so this seems reasonable to me, but
>>>>>>>> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL
>>>>>>>> here and do it synchronously, for various reasons.
>>>>>>>>
>>>>>>>> An internal passive pullup resistor charging an i/o pin capacitance
>>>>>>>> would be fun, but I don't think we could make a short enough blip.
>>>>>>>>
>>>>>>>> Any other ideas or comments?
>>>>>>>
>>>>>>> The variation in delay in an FPGA for any given route aren't all that bad,
>>>>>>> about the same as with regular logic.
>>>>>>
>>>>>> It's higher in FPGAs since the wires are longer (higher capacitance),
>>>>>> though distance between gates may (or may not) be similar.  The wires
>>>>>> in an FPGA are "fixed" length, where they are only as long as needed
>>>>>> in an ASIC.  There is also a lot of capacitance from all of the muxes
>>>>>> (pass gates) hanging off the wire.  The higher magnitude will mean a
>>>>>> higher variation, too.
>>>>>>
>>>>>>> I assume Xilinx still has a manual
>>>>>>> chip editing tool.  It will give you delays of routes.  So you can do a run
>>>>>>> of the chip and manually reroute the one delay path to get your time delay.
>>>>>>> There are ways to force placement of the FF with attributes in your source
>>>>>>> code.  So as long as the routes you need are not used it would be a simple
>>>>>>> matter to hand route the same path each time.  Getting a 2 ns minimum pulse
>>>>>>> width shouldn't be hard at all.
>>>>>>
>>>>>> A very poor way of doing things but it may be the only way to make
>>>>>> such a kludge.
>>>>>>
>>>>>>> You seem to be thinking you can tune the loop with I/O pad delays, but that
>>>>>>> will still require manual work in the chip editor to make adjustments each
>>>>>>> time you get a different route on the delay path and so need different I/O
>>>>>>> pad slew rates.
>>>>>>>
>>>>>>> One other thought is to use some number of LUTs as the main delay element,
>>>>>>> there are ways to force the use of such a component in HDL source.  By
>>>>>>> constraining the placement to cells that are in the same logic block you
>>>>>>> will get consistent route delays and routing variation should go away.  I
>>>>>>> believe it is the inter-logic cell routes that have lots of variation.
>>>>>>>
>>>>>>> The main reason why your FPGA guys are reacting in horror is because they
>>>>>>> know what a royal PITA it will be to learn the tools well enough to make all
>>>>>>> this happen.
>>>>>>
>>>>>> Not to mention the maintenance of this kludge for the life of the
>>>>>> product.
>>>>>
>>>>> Something like this was done in test equipment from a major manufacturer.
>>>>> They needed to mux a clock and the delay through the chip needed to be
>>>>> minimal.  I don't recall if the LUT was hand placed or not, but the routing
>>>>> was done by hand in the chip editor.  I found out about it because we had to
>>>>> touch the chip.  My boss was the guy who had originally done this and not
>>>>> documented a single thing on it.  He gave a demonstration on how to do the
>>>>> hand mod to few of us and that was how he passed the torch, by oral
>>>>> tradition.  lol
>>>>
>>>> What a wonderful way to run a company.  I assume they're no longer in
>>>> business?
>>>
>>> Ever hear of TTC?
>>
>> No.  I think I know why.
>>
>>> I was interviewed with TTC but came on board Acterna.
>>> TTC merged with Dynatech and WWG along with nearly a billion in debt which
>>> ultimately sunk the company, not anything about their designs.  I believe
>>> TTC was very well respected in the test equipment world.  I don't know who
>>> bought the pieces.
>>
>> Makes complete sense.  Knowledge locked up in someone's head =>
>> company in pieces.
>
>You didn't read a word I wrote.

You're lying, as always.

>The company failed because like so many in 
>the dot com bubble they didn't see it was a bubble and borrowed a shit-ton 
>of money to expand, then when the bubble burst they couldn't pay the debt. 
>it had nothing to do with the dick-head I had for a boss.

No, they failed because their business practices sucked and their
people sucked more.

>The dick-head came from the company's history developing as a startup and 
>having loose engineering management principles.  So he didn't know any 
>better because they never taught him any better.  But the company was a 
>technical success.  Ask anyone who works in telecom if they've ever used a 
>T-BERD.  It is highly regarded test equipment from what I've heard and very 
>widely used.

So you agree with me.  Funny that.

[toc] | [prev] | [next] | [standalone]


#488134

Fromwhit3rd <whit3rd@gmail.com>
Date2017-12-14 00:52 -0800
Message-ID<48bfc559-c85a-45bd-bbe7-61797eb51b56@googlegroups.com>
In reply to#488123
On Wednesday, December 13, 2017 at 7:43:29 PM UTC-8, John Larkin wrote:
> I have an async signal, call it TRIG, inside a Zynq 7020.
> 
> At the rising edge of TRIG, I want to make an async one-shot. It will
> leave the chip as RX and reset some outboard ecl logic. Anything from,
> say, 2 ns to 10 ns width would work.

So, about 16 inches of twisted-pair, connected to your logic at inch 1
and shorted at inch 16?   Hopefully, a short won't kill the FPGA output pin.
Hopefully, too, the short wins.

[toc] | [prev] | [next] | [standalone]


#488173

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 09:53 -0500
Message-ID<p0u3a4$sdi$1@dont-email.me>
In reply to#488134
whit3rd wrote on 12/14/2017 3:52 AM:
> On Wednesday, December 13, 2017 at 7:43:29 PM UTC-8, John Larkin wrote:
>> I have an async signal, call it TRIG, inside a Zynq 7020.
>>
>> At the rising edge of TRIG, I want to make an async one-shot. It will
>> leave the chip as RX and reset some outboard ecl logic. Anything from,
>> say, 2 ns to 10 ns width would work.
>
> So, about 16 inches of twisted-pair, connected to your logic at inch 1
> and shorted at inch 16?   Hopefully, a short won't kill the FPGA output pin.
> Hopefully, too, the short wins.

When Xilinx first came out with the 3.3 volt max I/Os on the Spartan 3 they 
warned users they were very sensitive to transients.  I don't think a 
shorted end would produce a transient though.

I think he said he doesn't have any I/Os that are routed to accessible 
points, so this is a bit moop.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


#488146

FromAllan Herriman <allanherriman@hotmail.com>
Date2017-12-14 10:49 +0000
Message-ID<5a325744$0$2072$b1db1813$d948b532@news.astraweb.com>
In reply to#488123
On Wed, 13 Dec 2017 19:43:20 -0800, John Larkin wrote:

> I have an async signal, call it TRIG, inside a Zynq 7020.
> 
> At the rising edge of TRIG, I want to make an async one-shot. It will
> leave the chip as RX and reset some outboard ecl logic. Anything from,
> say, 2 ns to 10 ns width would work.
> 
> The board is built, and we can't easily add more connections to the FPGA
> or hack in glue logic. Well, it would be ugly.
> 
> Here are some ideas:
> 
> https://www.dropbox.com/s/4azi5hzkqzsyeiy/FPGA_OneShots.JPG?raw=1
> 
> We could play with i/o cell slew rates and drive strengths to tune the
> timing. And use as many delay stages (circuit B) as we like... there are
> tons of unused balls.
> 
> Or maybe use some internal delay path, if we can find one that is
> reasonably repeatable.
> 
> The compiler will probably let us do circuit A or B without whining
> much, but might object to the third one.
> 
> I grew up on async hairball logic, so this seems reasonable to me, but
> my FPGA guys are horrified. We don't want to spin up a 250 MHz PLL here
> and do it synchronously, for various reasons.
> 
> An internal passive pullup resistor charging an i/o pin capacitance
> would be fun, but I don't think we could make a short enough blip.
> 
> Any other ideas or comments?


"Some internal delay mechanism" on your block diagram could be an IDELAY 
(or IODELAY), which gives you a calibrated delay that will be independent 
of PVT.  Of course, it's independent of PVT because you give it (actually 
an IDELAY_CTRL) a reference clock at 200MHz (or some other, higher 
frequencies).  Max delay is a few ns, delay resolution is some tens of ps, 
and jitter is some tens of ps as well.

I recently ran some ring oscillator experiments in the same FPGA family.  
I used LUTs as delay elements and when coded (in VHDL) such that all 
elements were in the same slice and the routing was all in the local 
switchbox, I measured a frequency of 945MHz for a 3 element ring.  That 
should give you some idea of the achievable delays.

The placement and routing is quite easy to control from your favourite 
HDL, once you know how.  This is important to get right as otherwise the 
results will not be repeatable.


Watch the minimum pulse widths on the FF clear input.  This will be 
specified in the datasheet somewhere.

I'm guessing you want an IOB FF rather than a CLB flip flop though.  The 
IOB FF are described in the "SelectIO Logic Resources" chapter of UG471.  
They should be as fast as the internal FF.  Maybe faster, as they are 
designed for superior metastability resolution.

[Assuming the trig input is on a pin.]
You also have the option of using special IO clocking resources to get 
the clock from a pin to the FF clock input with much less delay / delay 
variation / jitter than you would get through the global clock networks.  
(These are the clocking resources that are used for DDR3 data clocks, 
etc. so they have to have low, predictable delays.)  This will only work 
if you put the trig input on the correct pin (as not all pins can be used 
as clock inputs this way), but hey, of course you picked that up at the 
schematic design review.

Allan

[toc] | [prev] | [next] | [standalone]


#488149

FromAllan Herriman <allanherriman@hotmail.com>
Date2017-12-14 11:39 +0000
Message-ID<5a3262f3$0$2086$b1db1813$d948b532@news.astraweb.com>
In reply to#488146
On Thu, 14 Dec 2017 10:49:41 +0000, Allan Herriman wrote:


> The placement and routing is quite easy to control from your favourite
> HDL, once you know how.  This is important to get right as otherwise the
> results will not be repeatable.

This Xilinx forum thread gives some examples of placement and routing in VHDL:

https://forums.xilinx.com/t5/UltraScale-Architecture/Gated-ring-oscillator/m-p/808774/highlight/true#M5557

Regards,
Allan

[toc] | [prev] | [next] | [standalone]


#488176

Fromrickman <gnuarm@gmail.com>
Date2017-12-14 10:18 -0500
Message-ID<p0u4o4$6vf$1@dont-email.me>
In reply to#488149
Allan Herriman wrote on 12/14/2017 6:39 AM:
> On Thu, 14 Dec 2017 10:49:41 +0000, Allan Herriman wrote:
>
>
>> The placement and routing is quite easy to control from your favourite
>> HDL, once you know how.  This is important to get right as otherwise the
>> results will not be repeatable.
>
> This Xilinx forum thread gives some examples of placement and routing in VHDL:
>
> https://forums.xilinx.com/t5/UltraScale-Architecture/Gated-ring-oscillator/m-p/808774/highlight/true#M5557

When you say "routing", it doesn't appear to deal with the actual routing. 
He does mention that the attributes assign specific I/Os on the LUTs and so 
which pin is connected to which is determined.  But the routing 
interconnects still need to be wired up in the chip editor I believe.

-- 

Rick C

Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998

[toc] | [prev] | [next] | [standalone]


Page 1 of 3  [1] 2 3  Next page →

Back to top | Article view | sci.electronics.design


csiph-web