📄 dpram8x32_waveforms.html
字号:
<html>
<head>
<title>Sample Waveforms for dpram8x32.v </title>
</head>
<body>
<h2><CENTER>Sample behavioral waveforms for design file dpram8x32.v </CENTER></h2>
<P>The following waveforms show the behavior of altsyncram megafunction for the chosen set of parameters in design dpram8x32.v . For the purpose of this simulation, the contents of the memory at the start of the sample waveforms is assumed to be ( F0, F1, F2, F3, F4, ...). The design dpram8x32.v has one read port and one write port. The read port has 32 words of 8 bits each and the write port has 32 words of 8 bits each.
The ram block type of the design is AUTO . The output of the read port is registered by clock. </P>
<CENTER><img src=dpram8x32_wave0.jpg> </CENTER>
<P><CENTER><FONT size=2>Fig. 1 : Wave showing read operation. </CENTER></P>
<P><FONT size=3>The above waveform shows the behavior of the design under normal read conditions. The read happens at the rising edge of the enabled clock cycle. The output from the RAM is undefined until after the first rising edge of the read clock. Read enable port should be enabled for read in the simple dual port mode </P>
<CENTER><img src=dpram8x32_wave1.jpg> </CENTER>
<P><CENTER><FONT size=2>Fig. 2 : Waveform showing read operation with clear(s) </CENTER></P>
<P><FONT size=3>The above waveform shows the behavior of the design under read conditions with clears on input and/or output registers. The read happens at the rising edge of the enabled clock cycle. The read cycle is assumed to be from the rising edge of the clock cycle till the next rising clock edge. If the address register is cleared in the middle of a read cycle, the output from the RAM is unknown. The clear on the output register is asynchronous. </P>
<CENTER><img src=dpram8x32_wave2.jpg> </CENTER>
<P><CENTER><FONT size=2>Fig. 3 : Waveform showing write operation </CENTER></P>
<P><FONT size=3>The above waveform shows the behavior of the design under normal write conditions. The write cycle is assumed to be from the rising edge of the enabled clock in which wren is high till the rising edge of the next clock cycle. In DUAL_PORT mode, when the write happens at the same address as the one being read in the other port, the read output is unknown. Actual write into the RAM happens at the rising edge or falling edge of the write clock, depending on whether the RAM blocks are assigned to M-RAM or not. In the sample waveforms, they are shown to be on the falling edge of the write clock. </P>
<CENTER><img src=dpram8x32_wave3.jpg> </CENTER>
<P><CENTER><FONT size=2>Fig. 4 : Waveform showing write operation with clear(s) </CENTER></P>
<P><FONT size=3>The above waveform shows the behavior of the design under write conditions with clear(s). A clear on the write address during a write cycle corrupts the whole RAM (The contents of the RAM become unknown). A clear on the input data during a write cycle corrupts the RAM contents in that particular address (The contents become unknown). A clear on the write enable during a write cycle corrupts the RAM contents in that particular address (The contents become unknown). </P>
<P></P>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -