element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design Synthesis tool not utilizing RAMB18
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 1 reply
  • Subscribers 354 subscribers
  • Views 410 views
  • Users 0 members are here
Related

Synthesis tool not utilizing RAMB18

martingaraj
martingaraj over 9 years ago

I have a design with multiple buffers (128 element-long arrays storing 32 bit numbers) and during the synthesis I have came across following warning in the Synthesis Log:

ROM "read_buffer_reg[0]" won't be mapped to RAM because address size (32) is larger than maximum supported(18)
ROM "read_buffer_reg[1]" won't be mapped to RAM because address size (32) is larger than maximum supported(18)
... all the way to 127

I have somehow assumed, that the reason, why it cannot be mapped to RAM is that element size is 32 bits, so I have broken down the buffer into 2 smaller buffers,128 element-long buffers with 16 bit value per element. But the problem persists:

ROM "read_buffer_1_reg[0]" won't be mapped to RAM because address size (32) is larger than maximum supported(18)
ROM "read_buffer_1_reg[1]" won't be mapped to RAM because address size (32) is larger than maximum supported(18)
... all the way to 127


The trick seems to be in the "address size", but my buffers are long only 128 elements, that should be easily addressable by 1 byte (only 7 bits actually).

So is there a way to make the Synthesis Tool utilize the RAMB instead of other logic when it comes to such buffers?



P.S.
I have tried the following

ttype mem_buffer_short is array (0 to 127) of std_logic_vector(15 downto 0);
tsignal read_buffer_0 : mem_buffer_short;
tsignal read_buffer_1 : mem_buffer_short;
tattribute ram_style: string;
tattribute ram_style of read_buffer_0: signal is "block";
tattribute ram_style of read_buffer_1: signal is "block";


but I got the following message

WARNING: [Synth 8-3514] cannot infer block ram on a non-memory variable 'read_buffer_0' [c:/xilinx_projects_2014/fft_generator_test_01/ip_vga_axi_driver_3.6/src/VGA_stream.vhd:219]
INFO: [Synth 8-4472] Detected and applied attribute ram_style = block [c:/xilinx_projects_2014/fft_generator_test_01/ip_vga_axi_driver_3.6/src/VGA_stream.vhd:216]
WARNING: [Synth 8-3514] cannot infer block ram on a non-memory variable 'read_buffer_1' [c:/xilinx_projects_2014/fft_generator_test_01/ip_vga_axi_driver_3.6/src/VGA_stream.vhd:220]
INFO: [Synth 8-4472] Detected and applied attribute ram_style = block [c:/xilinx_projects_2014/fft_generator_test_01/ip_vga_axi_driver_3.6/src/VGA_stream.vhd:217]

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 9 years ago

    Hello Martin,

     

    This is really a Xilinx tools specific question. I think you will find a broader and more knowledgeable audience on one of the Xilinx Community Forums targeted to the tools: 

     

    https://forums.xilinx.com/

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 9 years ago

    Hello Martin,

     

    This is really a Xilinx tools specific question. I think you will find a broader and more knowledgeable audience on one of the Xilinx Community Forums targeted to the tools: 

     

    https://forums.xilinx.com/

     

    -Gary

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube