Skip to content

Commit

Permalink
Update to PgpTxVcFifo.vhd
Browse files Browse the repository at this point in the history
adding support for CASCADE_SIZE_G
  • Loading branch information
ruck314 committed Jun 12, 2023
1 parent 2145d09 commit a554b18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions protocols/pgp/shared/PgpTxVcFifo.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ entity PgpTxVcFifo is
MEMORY_TYPE_G : string := "block";
GEN_SYNC_FIFO_G : boolean := false;
FIFO_ADDR_WIDTH_G : positive := 9;
CASCADE_SIZE_G : positive := 1;
APP_AXI_CONFIG_G : AxiStreamConfigType;
PHY_AXI_CONFIG_G : AxiStreamConfigType);
port (
Expand Down Expand Up @@ -140,6 +141,8 @@ begin
GEN_SYNC_FIFO_G => GEN_SYNC_FIFO_G,
FIFO_ADDR_WIDTH_G => FIFO_ADDR_WIDTH_G,
FIFO_PAUSE_THRESH_G => (2**FIFO_ADDR_WIDTH_G)-4,
CASCADE_PAUSE_SEL_G => CASCADE_SIZE_G-1,
CASCADE_SIZE_G => CASCADE_SIZE_G,
-- AXI Stream Port Configurations
SLAVE_AXI_CONFIG_G => APP_AXI_CONFIG_G,
MASTER_AXI_CONFIG_G => PHY_AXI_CONFIG_G)
Expand Down

0 comments on commit a554b18

Please sign in to comment.