Skip to content
Snippets Groups Projects
Commit 8fde0254 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Read back BG settings after it has been enabled, to check that BG enable is...

Read back BG settings after it has been enabled, to check that BG enable is recognized in the dp_clk domain.
parent 10f05e3b
No related branches found
No related tags found
No related merge requests found
...@@ -163,9 +163,6 @@ if __name__ == "__main__": ...@@ -163,9 +163,6 @@ if __name__ == "__main__":
# Write setting for the block generator: # Write setting for the block generator:
bg.write_block_gen_settings(samplesPerPacket=c_frame_size, blocksPerSync=g_nof_blocks, gapSize=c_gap_size, memLowAddr=0, memHighAddr=c_bg_ram_size-1, BSNInit=10) bg.write_block_gen_settings(samplesPerPacket=c_frame_size, blocksPerSync=g_nof_blocks, gapSize=c_gap_size, memLowAddr=0, memHighAddr=c_bg_ram_size-1, BSNInit=10)
# Read back the setting for the block generator:
bg.read_block_gen_settings()
# Write the stimuli to the block generator and enable the block generator # Write the stimuli to the block generator and enable the block generator
if c_write_block_gen == True: if c_write_block_gen == True:
for i in range(c_bg_nof_streams): for i in range(c_bg_nof_streams):
...@@ -185,6 +182,9 @@ if __name__ == "__main__": ...@@ -185,6 +182,9 @@ if __name__ == "__main__":
# Enable the blockgenerator # Enable the blockgenerator
bg.write_enable() bg.write_enable()
# Read back the setting for the block generator to check that the BG enable has reached the dp_clk domain.
bg.read_block_gen_settings()
# Wait until the DDR3 model is initialized. # Wait until the DDR3 model is initialized.
if tc.sim == True: if tc.sim == True:
do_until_gt(io.simIO.getSimTime, ms_retry=1000, val=110000, s_timeout=13600) # 110000 do_until_gt(io.simIO.getSimTime, ms_retry=1000, val=110000, s_timeout=13600) # 110000
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment