Skip to content
Snippets Groups Projects
Commit 49d8fae9 authored by Priest's avatar Priest
Browse files

Changed g_blocks_per_sync to be an actual representation of blocks per sync and added g_blocksize

parent d7ac4b2f
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,8 @@ USE unb1_board_lib.unb1_board_pkg.ALL; ...@@ -8,7 +8,8 @@ USE unb1_board_lib.unb1_board_pkg.ALL;
ENTITY compaan_wrapper IS ENTITY compaan_wrapper IS
GENERIC ( GENERIC (
g_blocks_per_sync : NATURAL := 10 g_blocks_per_sync : NATURAL := 10;
g_blocksize : NATURAL := 8
); );
PORT ( PORT (
-- Streaming sink (RX: ASTRON -> Compaan) -- Streaming sink (RX: ASTRON -> Compaan)
...@@ -106,7 +107,7 @@ BEGIN ...@@ -106,7 +107,7 @@ BEGIN
g_use_sync => FALSE, g_use_sync => FALSE,
g_use_ctrl => TRUE, g_use_ctrl => TRUE,
g_use_complex => FALSE, g_use_complex => FALSE,
g_fifo_size => 4*g_blocks_per_sync, g_fifo_size => 4*g_blocksize,
g_fifo_af_margin => 4, g_fifo_af_margin => 4,
g_fifo_rl => 0 g_fifo_rl => 0
) )
...@@ -144,7 +145,7 @@ BEGIN ...@@ -144,7 +145,7 @@ BEGIN
g_use_sync => FALSE, g_use_sync => FALSE,
g_use_ctrl => TRUE, g_use_ctrl => TRUE,
g_use_complex => FALSE, g_use_complex => FALSE,
g_fifo_size => 4*g_blocks_per_sync, g_fifo_size => 4*g_blocksize,
g_fifo_af_margin => 4, g_fifo_af_margin => 4,
g_fifo_rl => 0 g_fifo_rl => 0
) )
...@@ -168,8 +169,9 @@ BEGIN ...@@ -168,8 +169,9 @@ BEGIN
gen_pkg_signals: FOR i IN 0 TO 14 GENERATE gen_pkg_signals: FOR i IN 0 TO 14 GENERATE
u_gen_signals : ENTITY dp_lib.dp_block_gen u_gen_signals : ENTITY dp_lib.dp_block_gen
GENERIC MAP( GENERIC MAP(
g_use_src_in => FALSE, g_use_src_in => FALSE,
g_nof_data => g_blocks_per_sync g_nof_data => g_blocksize,
g_nof_blk_per_sync => g_blocks_per_sync
) )
PORT MAP( PORT MAP(
rst => KPN_RST, rst => KPN_RST,
......
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