- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
my code instantiates 16 ROMS of 256 X 8 length each. but in post translate step, i observe in modelsim output that only 4 such ROMS are instantiated... wat may be the reason for such behaviour? thanks, sumanth options http://forums.xilinx.com/i/p.gifLink Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Most likely, the ROM is never read in the code, so it's removed in synthesis. You can check details in Quartus compilation reports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
well..... all the ROMs are read.... but in the report its giving me equivalent rom and all but one is being removed. behavioural simulation is all right. but other simulations are giving wrong results.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To expand on FvM comment...
Is there an output from your design that depends on the read from all ROMs. If there is no logic output that depends on the read data from a ROM then the ROM will be deleted in synthesis. The ROMS may be read by a testbench but does the result affect an output pin?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ya.... the next module to which the module in question is connected depends solely on the trimmed module.......
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do the ROMs contain the same data and are driven by the same address?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
they contain the same data, but are driven by different addresses.....

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page