Inc. Portable Generator User Manual
Memory 111
Xilinx Blocks
Block Parameters Dialog Box
The block parameters dialog box can be invoked by double-clicking the icon in your
Simulink model.
Figure 3-74: Single Port RAM block parameters dialog box
Parameters specific to this block are:
• Depth: specifies the number of words stored; must be a positive integer.
• Initial Value Vector: specifies the initial value. When the vector is longer
than the RAM, the vector’s trailing elements are discarded. When the RAM is
longer than the vector, the RAM’s trailing words are set to zero.
• Zero Initial Output: when checked, the data out ports have a value of zero
at clock 0; otherwise, they have a value of NaN (“not a number”).
• Write Mode: specifies the memory behavior to beRead Before Write, Read After
Write, or No Read On Write. There are device specific restrictions on the
applicability of these modes.
• Use Distributed Memory (instead of Block RAM): when checked, the
block is implemented with distributed RAM; otherwise, it is implemented with
Block RAM.
Other parameters usedby thisblock areexplained in the CommonParameters section
of the previous chapter.
During a write operation (WE asserted), the data presented to the data input is stored
in memory at the location selected by the addressinput. Duringa writecycle, theuser
can configure the behavior of the data out port A to one of the following choices: