Hướng dẫn sử dụng matlab 2023 Informational, Transactional năm 2024
The MATLAB Runtime is a standalone set of shared libraries that enables the execution of compiled MATLAB, Simulink applications, or components. When used together, MATLAB, MATLAB Compiler, Simulink Compiler, and the MATLAB Runtime enable you to create and distribute numerical applications, simulations, or software components quickly and securely. Show
To download and install the MATLAB Runtime:
Notes
The memory controller has an internal state, which is visible when using a Logic Analyzer to view simulation and execution metrics. The state values are:
For information about visualizing memory controller latencies, see . Limitations
PortsInputexpand all burstReq`N` — Request for memory accessscalar This port receives requests for memory access as messages. Connect this input port to one of the burst request message ports ( The number of burstReq`N` input ports is defined by the parameter. burstReq`N` represents the `N`th input port. Data Types: `BurstRequest`2 Outputexpand all burstDone`N` — Signal toward masterscalar After a master is granted access to the memory and the burst transaction has completed, this port sends a message that the transaction completed. Memory access is then given to the next master according to the arbitration scheme. For more information on messages, see Messages. The number of burstDone`N` output ports is defined by the parameter. burstDone`N` represents the `N`th input port Data Types: `BurstRequest`2 Parametersexpand all Hardware board — View or modify current hardware settingsname of current hardware board This parameter is read-only. This parameter shows a link to the selected hardware board. Click the link to open the configuration parameters, and adjust the settings or choose a different board. To learn more about configuration parameters for the memory controller, see . MainMemory selection — Choose between memory regions`BurstRequest`8 (default) | `BurstRequest`9 Select between processing subsystem (PS) or programming logic (PL) memory.
Number of masters — Number of masters connected to this controller`BurstAccepted`1 (default) | positive integer Set this parameter to generate the interface accordingly, and specify how many masters connect to the memory. Advanced Interconnect arbitration — Arbitration policy`BurstAccepted`2 (default) | `BurstAccepted`3 Set the arbitration policy for the memory-interconnect block. When multiple masters request for memory access, the policy is determined by the value of this parameter.
Use hardware board settings — Use hardware implementation settings from the configuration parameters`BurstAccepted`6 (default) | `BurstAccepted`7 Select this parameter to use the same model-wide settings as set in the configuration parameters. Clear this parameter to customize the settings for this memory controller. When using customized settings, values are still checked against hardware-specific constraints. For more information, see FPGA design (mem controllers). Bandwidth — Bandwidth for transactions towards external memoryscalar This parameter is read-only. This value shows the calculated bandwidth between the memory controller and the external memory. It is calculated as Frequency (MHz) multiplied by Data width (bits). Frequency (MHz) — Controller clock frequency, in MHz`BurstAccepted`8 (default) | scalar The clock rate of the bus used to drive interactions with the external memory. The controller frequency determines the overall system bandwidth for external memory that must be shared among all the masters in the model. DependenciesTo enable this parameter, clear the Use hardware board settings parameter. Data width (bits) — Bit width of datapath`BurstAccepted`9 (default) | positive integer Set the width, in bits, of the datapath between the memory controller and the memory interconnect. DependenciesTo enable this parameter, clear the Use hardware board settings parameter. Bandwidth derating (%) — Memory transaction inefficiencies0-100 Model memory transaction inefficiencies specified by a derating percentage value. For every 100 clocks, memory transaction execution is paused for the number of clocks equal to Bandwidth derating. To set this parameter, measure the maximum bandwidth on your board and reflect the bandwidth derating from your board in this parameter. See an example in Analyze Memory Bandwidth Using Traffic Generators. DependenciesTo enable this parameter, clear the Use hardware board settings parameter. Request to first transfer (in clocks) — Number of clock cycles between request and start of transfernonnegative integer Specify the delay, in clock cycles, between a read or write request and the start of a transfer. Specify nonnegative integer values in both Write and Read boxes. This delay is the number of clock cycles between making a request to the memory controller and until it returns a response. It is reflected in the Logic Analyzer waveforms as the time that the memory controller state remains as`BurstAccepted`. For more information about viewing waveforms in simulation, see . To set this value, measure the clock cycles between the burst-request and start of transfer on your board. For instructions for extracting this information from a hardware execution, see . DependenciesTo enable this parameter, clear the Use hardware board settings parameter. Last transfer to transaction complete (in clocks) — Number of clock cycles between the end of transfer and completion of transactionnonnegative integer Specify the delay in clock cycles between the end of a memory transfer and the end of a transaction. Specify nonnegative integer values in both Write and Read boxes. To set this value, measure the clock cycles between the end of the burst and the completion of the transaction on your board. For instructions for extracting this information from a hardware execution, see . DependenciesTo enable this parameter, clear the Use hardware board settings parameter. PerformanceClick Launch performance app to open the Performance Metrics window. For additional information, see Simulation Performance Plots. Extended CapabilitiesHDL Code GenerationGenerate VHDL, Verilog and SystemVerilog code for FPGA and ASIC designs using HDL Coder™. To automatically generate HDL code for your design, and execute on an SoC device, use the SoC Builder tool. See Generate SoC Design. |