Author Topic: Are Xilinx XC7A35T actually the same die as something else or...?  (Read 6443 times)

0 Members and 1 Guest are viewing this topic.

Offline daqqTopic starter

  • Super Contributor
  • ***
  • Posts: 2302
  • Country: sk
    • My site
Hi guys,

So, I've used a large buffer for something in my project, the synthesis ran and everything is OK... but I'm at 93% usage of the BRAM resources available to me. That's OK, but when I checked the synthesis device results (the actual physical representation of the device) something was weird:

There seems to be a lot of unused (and apparently unusable) BRAM left. What gives? Is it some sort of remapping? Or am I missing something weird?

Here are the device usage results. It seems that there is more physically available BRAM than there is logically. At a quick guess there seems to be around a third more BRAM that is not available.



Thanks,

David
Believe it or not, pointy haired people do exist!
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
 

Offline daqqTopic starter

  • Super Contributor
  • ***
  • Posts: 2302
  • Country: sk
    • My site
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #1 on: July 12, 2019, 06:13:31 am »
Adding partial detail of left region. The BRAMs are there.
Believe it or not, pointy haired people do exist!
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #2 on: July 12, 2019, 07:12:06 am »
Your thinking is correct. The validation of IDCODE in the bit stream by the  FPGA enforces the resource limit.

Thermal limits on package may also apply...
« Last Edit: July 12, 2019, 07:14:45 am by hamster_nz »
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 
The following users thanked this post: daqq

Offline daqqTopic starter

  • Super Contributor
  • ***
  • Posts: 2302
  • Country: sk
    • My site
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #3 on: July 12, 2019, 08:45:25 am »
Thanks, minor mystery solved. Now if I could just figure out why do they do it  ;D
Believe it or not, pointy haired people do exist!
+++Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
 

Offline mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13748
  • Country: gb
    • Mike's Electric Stuff
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #4 on: July 12, 2019, 08:50:48 am »
ISTR reading that someone hacked this a few years ago to allow use of the undocumented RAM by tweaking the bitstream
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #5 on: July 12, 2019, 09:00:48 am »
ISTR reading that someone hacked this a few years ago to allow use of the undocumented RAM by tweaking the bitstream

Quite a few have.

If you generate exactly the same bit stream for the two devices (and I mean exactly - routing and logic), you can XOR them with each other to discover the constant difference in the checksum that changing the id code makes. You can then apply the same changes to transmute bit streams at will.

Or you can just work out the checksum's CRC polynomial...


Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9890
  • Country: us
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #6 on: July 12, 2019, 02:33:09 pm »
None of which is guaranteed to work...l  It has always been common practice in the memory business to add extra rows and columns to replace cells that turn up DOA at some test operation.  Then the metal layer can map in replacement cells and map out rejects.

Looking inside may be interesting and hacking extra capabilities seems terribly clever but buying the next larger chip is a better way to go.
 

Online Sal Ammoniac

  • Super Contributor
  • ***
  • Posts: 1673
  • Country: us
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #7 on: July 12, 2019, 02:52:22 pm »
None of which is guaranteed to work...l  It has always been common practice in the memory business to add extra rows and columns to replace cells that turn up DOA at some test operation.  Then the metal layer can map in replacement cells and map out rejects.

Really? I strongly doubt these chips are tested before the final metal layer is added.
Complexity is the number-one enemy of high-quality code.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2733
  • Country: ca
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #8 on: July 12, 2019, 03:27:08 pm »
Really? I strongly doubt these chips are tested before the final metal layer is added.
It's likely the other way around - they do the tests and then laser trim out parts which don't work. At least that's how they cut off MGTs in packages that don't have them bonded out.

Online SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14480
  • Country: fr
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #9 on: July 12, 2019, 03:46:10 pm »
Yes I think so too. That's usually done with laser trimming.

In any case, I wouldn't do this kind of hacking on FPGAs that end up in real products... so unless it's just for the kicks on personal projects, I'm not sure how useful that would be to know this.
 

Offline filssavi

  • Frequent Contributor
  • **
  • Posts: 433
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #10 on: July 12, 2019, 05:07:57 pm »
It can be done in many ways laser trimming, fuses/anti fuses, internal flash/eprom memory read at boot

Anyways I have read somewhere (probably on Xilinx forum but don’t quote me on that) that for artix devices only 2 dies exist one for 50T and lower and the other for the higher end ones
 

Offline tmbinc

  • Frequent Contributor
  • **
  • Posts: 250
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #11 on: July 12, 2019, 05:22:04 pm »
https://github.com/brouhaha/xchange is a tool that patches the ID.
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #12 on: July 12, 2019, 07:46:29 pm »
For the FOSS IceStorm toolchain the iCE40-HX4K and iCE40-HX8K are treated identically, as they are the same die.

Works fine.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3146
  • Country: ca
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #13 on: July 16, 2019, 04:23:35 am »
Yes I think so too. That's usually done with laser trimming.

The die is completely the same. A50T is the same as A15T. You can use anything inside it. The overall limit on various resources is enforced by tools and the FPGA internals. Such approach has benefits for A15T - you'll never get any congestion.
 
The following users thanked this post: iMo

Online iMo

  • Super Contributor
  • ***
  • Posts: 4789
  • Country: pm
  • It's important to try new things..
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #14 on: July 16, 2019, 10:24:34 am »
The manufacturing of the lithography masks (you need many masks in order to produce a chip, based on technology, say 30-50) is the most expensive exercise in chip manufacturing (not counting the chip design costs itself, of course).

And a single set of masks is not enough.

It is much cheaper to produce the 50T and sell it as the 15T, than to mess with different sets of masks (ie. silicon revisions)..

PS: my guess would be a single set of masks for 50T costs something like 1.500.000,-USD

The actual production costs for a single silicon wafer full of chips is flat fee, something like 2.000,-USD per wafer (depends on the fab node, but usually 1000-2000), and you get maybe 2500 "50T" chips off a single wafer.
« Last Edit: July 16, 2019, 10:52:28 am by imo »
 

Offline mark03

  • Frequent Contributor
  • **
  • Posts: 711
  • Country: us
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #15 on: July 17, 2019, 02:50:55 am »
Presumably (?) one can identify which parts have identical dies by looking at the table of quiescent supply current.  Parts with the same Iq_vccint:

-12T, -25T (lowest)
-15T, -35T, -50T (middle)
-75T, -100T (high)
-200T (in a class by itself, highest)

Interestingly, for Spartan-7, the two lowest-gate-count devices (-6, -15) have lower Iq_vccint than Artix-7 12T/25T.  The higher-gate-count devices (-25, -50, -75, -100) match their Artix-7 counterparts exactly.
 
The following users thanked this post: Someone

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #16 on: July 17, 2019, 03:47:21 am »
Bitstream size is a good indicator.
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #17 on: July 18, 2019, 12:56:58 am »
Anyways I have read somewhere (probably on Xilinx forum but don’t quote me on that) that for artix devices only 2 dies exist one for 50T and lower and the other for the higher end ones
Too late! ;D

The various related threads on the Xilinx forum:

Short Non-super-long version:

Group by the bitstream length & quiescent current ==> die groups. I noticed that when you sort by IDCODE the die groups end up as continuous sections. Which makes sense, since that would coincide with a somewhat systematic numbering scheme on Xilinx' part. Or put another way, assuming a systematic numbering scheme of the IDCODE's grouped by die, you would end up with the sorted result as found.

Which got me these die groups:
7S15  : XA7S6, XC7S6, XA7S15, XC7S15
7A25T : XA7A12T, XC7A12T, XA7A25T, XA7S25, XC7A25T, XC7S25
7A50T : XA7A15T, XC7A15T, XA7A35T, XC7A35T, XA7A50T, XA7S50, XC7A50T, XC7S50, XQ7A50T
7S100 : XA7S75, XC7S75, XA7S100, XC7S100
7A100T: XA7A75T, XC7A75T, XA7A100T, XC7A100T, XQ7A100T
7A200T: XC7A200T, XQ7A200T


Tables for bitstream length & quiescent current taken from these docs:
* ug470_7Series_Config.pdf
* ds181_Artix_7_Data_Sheet.pdf
* ds189-spartan-7-data-sheet.pdf
« Last Edit: July 18, 2019, 01:00:51 am by mrflibble »
 

Offline ali_asadzadeh

  • Super Contributor
  • ***
  • Posts: 1905
  • Country: ca
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #18 on: July 19, 2019, 09:48:26 am »
It sounds a good plan for xilinx, If I where them I would do the same! just change a magic number called ID code and chnage the chip and sell if for less ;)

Any clue about spartan 6 devices, specially the XC6SLX9-2TQG144I, I hope it could be upgraded to XC6slx25 ;D
So we can get higher density in TQFP package, Any clues out there?
ASiDesigner, Stands for Application specific intelligent devices
I'm a Digital Expert from 8-bits to 64-bits
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #19 on: July 19, 2019, 10:23:33 am »
It sounds a good plan for xilinx, If I where them I would do the same! just change a magic number called ID code and chnage the chip and sell if for less ;)

Any clue about spartan 6 devices, specially the XC6SLX9-2TQG144I, I hope it could be upgraded to XC6slx25 ;D
So we can get higher density in TQFP package, Any clues out there?

Looking at https://www.xilinx.com/support/documentation/user_guides/ug380.pdf the LX4 and LX9 are most likely the same die, but all other sizes have different bitstream lengths.

Not very helpful!
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #20 on: July 19, 2019, 10:26:11 am »
Any clue about spartan 6 devices, specially the XC6SLX9-2TQG144I, I hope it could be upgraded to XC6slx25 ;D
So we can get higher density in TQFP package, Any clues out there?
Based on the bitstream sizes listed in UG380 I suspect the answer is going to be no. You could maaaybe try downgrading to LX4 though. ;)
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #21 on: July 19, 2019, 10:36:44 am »
About that LX4 vs LX9 ... the bitstream size is almost the same, so you might think maybe it's the same die. But chances are pretty good it's not though. While going over the 7-series dies I noticed that the 7S100 and 7A100T bitstream sizes were almost the same as well. The quiescent currents however were different. And the IDCODE's didn't fit the hypothetical nice numbering scheme either, while all the other ones did fit. So with those 3 factors combined I randomly guessed it to be more likely that the 7S100 and 7A100T are separate dies.

And coming back to the spartan-6, it would be somewhat curious for Xilinx to limit the die production cost saving measures to just the LX4 & LX9.
« Last Edit: July 19, 2019, 10:40:45 am by mrflibble »
 

Offline hamster_nz

  • Super Contributor
  • ***
  • Posts: 2803
  • Country: nz
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #22 on: July 19, 2019, 11:08:52 am »
It sounds a good plan for xilinx, If I where them I would do the same! just change a magic number called ID code and chnage the chip and sell if for less ;)

Any clue about spartan 6 devices, specially the XC6SLX9-2TQG144I, I hope it could be upgraded to XC6slx25 ;D
So we can get higher density in TQFP package, Any clues out there?

Looking at https://www.xilinx.com/support/documentation/user_guides/ug380.pdf the LX4 and LX9 are most likely the same die, but all other sizes have different bitstream lengths.

Not very helpful!

Looking at table 5-5, I now think that LX4 & LX9 are most likely different...
Gaze not into the abyss, lest you become recognized as an abyss domain expert, and they expect you keep gazing into the damn thing.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #23 on: July 19, 2019, 11:42:15 am »
Looking at table 5-5, I now think that LX4 & LX9 are most likely different...
Agreed. Too lazy to check the quiescent current, but expecting that to be different as well for LX4 & LX9.
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: Are Xilinx XC7A35T actually the same die as something else or...?
« Reply #24 on: July 26, 2019, 09:35:46 am »
Looking at table 5-5, I now think that LX4 & LX9 are most likely different...
Agreed. Too lazy to check the quiescent current, but expecting that to be different as well for LX4 & LX9.
Is it possible that LX4 uses LX9 die but with whole sections being unpowered?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf