4 Replies Latest reply on Nov 4, 2018 1:50 PM by kchp

    MiniZed PDM reference design

    kchp
      Hello,
      I am currently going through the reference design for using the onboard microphone, but have run into a bit of an issue with the PreLoadFcn for the Simulink model.
      When I open the model I am presented with a diagnostics window with a warning
       
      Index in position 2 exceeds array bounds (must not exceed 1).
       
      This issue seems to prevent me from running the simulation as the ila_data_struct isn't created. Has anyone else encountered this issue and found a solution. Or is it possible to skib this part and go straight to the next section?
       
      I am running this with System Generator 2018.2 and Matlab R2018a.
       
        • PDM
          stefanrousseau

          Hello,

          Are you able to run the TCL script that generates the Vivado design without problems, or does it give you errors at that stage?

          Thanks,

          Stefan

          • Hello Stefan,
            kchp

            Hello Stefan,

            No, I'm not able to run the TCL script to completion. So far I have encountered two errors, the first was a version check so worked around this be setting 'version_override=yes'
            The error I'm currently stuck on gives the error message:

            ERROR: [Board 49-71] The board_part definition was not found for em.avnet.com:minized:part0:1.2. The project's board_part property was not set, but the project's part property was set to xc7z007sclg225-1. Valid board_part values can be retrieved with the 'get_board_parts' Tcl command. Check if board.repoPaths parameter is set and the board_part is installed from the tcl app store.

            Thanks

             
            • Board definition files
              stefanrousseau

              Overriding the tools version check is fine, as this build does work current tools versions (at the time that the script was generated, this could of course not be predicted).  But to use MiniZed, you first have to exit Vivado, instal the board definition files in the Vivado tools directory, and then start Vivado again.  Please see: "Board Definition Files" on minized.org/product/minized under "Documentation.

              Regards,
              Stefan