Download HDL Coder™ Release Notes
Transcript
For each RAM block of a particular size, the coder generates an HDL module. The module file name reflects the name and size of the RAM block or persistent variable in your design. For example, suppose DPRAM_foo is the name of a Dual Port RAM block in your model. The generated code for the instance is: u_DPRAM_foo : DualPortRAM_Wrapper_256x8b The RAM module name and wrapper name also match the name of the Simulink block: DualPortRAM_256x8b.vhd DualPortRAM_Wrapper_256x8b.vhd for-generate statements in generated VHDL code When you generate VHDL code for block architectures that use replicated structures, the coder generates for-generate statements for better readability. For example, VHDL code generated for the Add and Product blocks uses for-generate statements. Composite user-defined System object support You can generate code for user-defined System objects that contain child user-defined System objects. System object output and update method support You can generate code for the output and update methods in user-defined System objects that inherit from the matlab.system.mixin.Nondirect class. RAM mapping for user-defined System object private properties Private properties in user-defined System objects can map to RAM. For details, see Implement RAM Using a Persistent Array or System object Properties. hdlram renamed to hdl.RAM The hdlram System object has been renamed to hdl.RAM and is now available with MATLAB. Previously, hdlram required a Fixed-Point Designer™ license. 2-7