avl_dacfifo: Add a parameter AVL_ADDRESS_WIDTH

main
Istvan Csomortani 2017-05-10 12:52:35 +03:00
parent 6dbbe2f1ca
commit 7666c9f0d2
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ module avl_dacfifo #(
parameter DAC_DATA_WIDTH = 64,
parameter DMA_DATA_WIDTH = 64,
parameter AVL_DATA_WIDTH = 512,
parameter AVL_ADDRESS_WIDTH = 25,
parameter AVL_BASE_ADDRESS = 32'h00000000,
parameter AVL_ADDRESS_LIMIT = 32'h1fffffff) (
@ -57,7 +58,7 @@ module avl_dacfifo #(
input avl_clk,
input avl_reset,
output reg [ 24:0] avl_address,
output reg [(AVL_ADDRESS_WIDTH-1):0] avl_address,
output reg [ 6:0] avl_burstcount,
output reg [ 63:0] avl_byteenable,
output reg avl_read,

View File

@ -17,6 +17,7 @@ ad_ip_files avl_dacfifo [list\
ad_ip_parameter DAC_DATA_WIDTH INTEGER 64
ad_ip_parameter DMA_DATA_WIDTH INTEGER 64
ad_ip_parameter AVL_DATA_WIDTH INTEGER 512
ad_ip_parameter AVL_ADDRESS_WIDTH INTEGER 25
ad_ip_parameter AVL_BASE_ADDRESS INTEGER 0
ad_ip_parameter AVL_ADDRESS_LIMIT INTEGER 0x800000