Forum Discussion

RRomano001's avatar
RRomano001
Icon for Contributor rankContributor
6 years ago

Qsys now Platform designer, no error , error at same time, on wrong Avalon parameter.

My IP core design, core was not working and error was hidden,

production fabric report component as ok, found debugging memory address was wrong.

Added missing byteenable was on conduit by error.

Moving Byteenable to avalon interface generated this uncought, waveform report error and same time module say there where no error.

Avalon bus doesn't show waveform, build without error.

offending parameter, byteenable was added late

byteenable added later then set to 8 bit

7 Replies

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    May I know which version and edition of the software you are using? Could you provide a test case and steps to reproduce the error?

    Thanks

    • RRomano001's avatar
      RRomano001
      Icon for Contributor rankContributor

      Versionless, both 18.1 and 15.0 where same, I recently removed 16.1 and 17.1.

      Avalon bus, wrong Symbol size with byteenable size 2 generate wrong Core.

      Error is partially captured on waveform but doesn't block code generation.

      Generating an IP assign all signal but byteenable (reread first post)

      moving byteenable from wrong interface produced this error.

      If you are not able to reproduce I can build two snippet, this is stable regardless of OS or version.

    • RRomano001's avatar
      RRomano001
      Icon for Contributor rankContributor

      Step to generate wrong model:

      Add Avalon Slave signals ( here was QSYS default, my code was written on Quartus editor then assigned.)

      Add byteenable after generating Conduit, then move to conduit ( this generated my mess with Qsys, probably selected by mistake then moved to conduit).

      changed symbol width. wrong without byteselect, so it map twice to bus elements still 16 bit wide.

      Address range look as it is ok

      Build say nothing

      Byteselect is still assigned to bus adapter. (found assigned as "11" (VHDL) or 2b'11 Verilog

      VHDL generated look ok (My core was ok so took some time to point out)

      Memory got duplicated from odd and even addresses, clearly no selection about byte was present and byte writing was destructive.

    • RRomano001's avatar
      RRomano001
      Icon for Contributor rankContributor

      Solve unaddressed issue:

      edit IP core(Qsys component):

      Select and move to avalon Byteenable

      Now Slave interface is complete byte addressable:

      Still no error but no wave and error or warning. Yes error is present.

      Set to Symbol to right byte size and issue is cured

      You can check on both error and correct code where reported as good. Also memory range was reported as good with misaddressed sizes.

      Both odd and even word where addressing same word cell.

      Here is ok than with wrong signalling was reported same size.

      If more details just tell about.

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Thanks for providing the test case. For the case where byteenable is moved to avalon_slave, the Platform Designer generates error when the byteenable is set to 2 and Bits per symbol is set to 16, which is correct. The byteenable should be 1 if the Bits per symbol is set to 16 and read/write data width is 16.

    When the byteenable is moved to conduit_end, byteenable is set to 2 and Bits per symbol is set to 16, the software did not generate any error message. The byteenable is generated as an input to the conduit_end. No error message is generated because the data transfer proceeds as if all byteenable are asserted if the interface does not have a byteenable signal.

    Thanks.

    • RRomano001's avatar
      RRomano001
      Icon for Contributor rankContributor

      I don't understand if you say me this is ok or recognize it don't reveal an hardware error.

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    The software generates an error message when user enters a wrong value for byteenable under Avalon Slave, which alerts user about the wrong setting. I suppose this is the correct behavior where error message is generated for wrong setting.