Open Side Menu
Skip to contentBrand Logo
Forums
BlogKnowledge BaseAltera.com
RegisterSign In
  1. Altera Community
  2. Forums
  3. Quartus® Prime

Forum Discussion

07dshaffer's avatar
07dshaffer
Icon for New Contributor rankNew Contributor
5 years ago

Creating BSF strips parentheses from output signal size

When I attempt to generate a BSF using the following system verilog code, Quartus 20.1 Prime Lite is stripping the parentheses from the calculation of the output signal size. This results in an incorrect calculation of the size of the output (it is doing 4*2*8+24 = 88). However, it only does this on the BSF (see first attachment). Inside of my module, the size of the signal is correctly calculated as 4*2*(8+24) = 256.

Is this expected behavior for using BSF and BDF files? It's been several years and versions of Quartus since I used a BDF (>10 yrs) rather than doing everything in HDL.

If I use a text editor to edit the BSF file I can change the text to include parentheses and my system compiles (see second attachment). However, as soon I regenerate the BSF it overwrites the old text and is incorrect again.

module sync_adc_data #(
	parameter integer STREAM_COUNT = 4,
	parameter integer CHANNELS_PER_STREAM = 2,
	parameter integer HEADER_WIDTH = 8,
	parameter integer DATA_WIDTH = 24
)
(
	input				clk_i,
	input				rst_i,
	
	output logic [((STREAM_COUNT * CHANNELS_PER_STREAM * (HEADER_WIDTH + DATA_WIDTH)) - 1) : 0]	word_o
);

endmodule : sync_adc_data

7 Replies

  • Nurina's avatar
    Nurina
    Icon for Regular Contributor rankRegular Contributor
    4 years ago

    Hi,


    Sometimes there are problems with generating block symbols from HDL and vice versa. I've reproduced your error and am reporting this issue to engineering.


    Regards,

    Nurina


  • Nurina's avatar
    Nurina
    Icon for Regular Contributor rankRegular Contributor
    4 years ago

    Hi,



    I'd just like to update you on this matter. Engineering is currently investigating the root cause of the problem.


    Regards,

    Nurina


  • 07dshaffer's avatar
    07dshaffer
    Icon for New Contributor rankNew Contributor
    4 years ago

    Thank you for the update.

  • Nurina's avatar
    Nurina
    Icon for Regular Contributor rankRegular Contributor
    4 years ago

    Hi,

    Engineering has investigated root cause. However, they are now focusing feature enhancement/bug fixing on Pro edition. For standard, they will put it as lower priority. This fix will take some time . We are sorry to inform this.
    With that, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.
    Regards,
    Nurina
  • 07dshaffer's avatar
    07dshaffer
    Icon for New Contributor rankNew Contributor
    4 years ago

    Okay, thank you for looking into the issue. If I leave this issue open, can you let me know when this bug is fixed?

  • Nurina's avatar
    Nurina
    Icon for Regular Contributor rankRegular Contributor
    4 years ago

    Hi,

    Yes, I can do that. Please note that it will take a while to be fixed.

    Regards,

    Nurina


  • Nurina's avatar
    Nurina
    Icon for Regular Contributor rankRegular Contributor
    4 years ago

    Hi,

    Engineering has made preliminary plan to fix this issue in Quartus Standard version 21.1 which will be released around September. Until then you will have to use the workaround of editing the symbol after regenerating it.

    With that being said, I will put this case to a close pending. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

    Regards,

    Nurina

Recent Discussions

  • Jens's avatar
    Quartus did not start
    3 hours ago
    Jens
  • RZhen11's avatar
    Self service license server doesn't work
    5 hours ago
    RZhen11
  • cjak's avatar
    Timing analysis - long combinational path
    15 hours ago
    cjak
  • torerams's avatar
    Docker image for Quartus Pro 26.1 missing ?
    21 hours ago
    torerams
  • PWang61's avatar
    Error (292014): Can't find valid feature line for core SLL_CA_HBC_T001_Hyperbus_Memory_Controller_10
    22 hours ago
    PWang61
Contact Us
Altera YoutubeAltera YoutubeAltera Twitter
  • Company Overview
  • Newsroom
  • Our Leaders
  • Careers
Subscribe to Altera Newsletter

© Altera Corporation | Terms of Use | Privacy Policy | Cookies | Trademarks | PSIRT

Altera Logo