Skip to content

Commit

Permalink
Merge pull request #1116 from slaclab/AxiStreamRingBuffer-update
Browse files Browse the repository at this point in the history
Updating AxiStreamRingBuffer.vhd
  • Loading branch information
ruck314 authored Sep 27, 2023
2 parents 607d3f7 + f85aebb commit 371ed89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions axi/axi-stream/rtl/AxiStreamRingBuffer.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ entity AxiStreamRingBuffer is
RST_ASYNC_G : boolean := false;
SYNTH_MODE_G : string := "inferred";
MEMORY_TYPE_G : string := "block";
COMMON_CLK_G : boolean := false; -- true if dataClk=axilClk
DATA_BYTES_G : positive := 16;
RAM_ADDR_WIDTH_G : positive := 9;
-- AXI Stream Configurations
Expand Down Expand Up @@ -172,6 +173,7 @@ begin
U_Ram : entity surf.SimpleDualPortRamXpm
generic map (
TPD_G => TPD_G,
COMMON_CLK_G => COMMON_CLK_G,
MEMORY_TYPE_G => MEMORY_TYPE_G,
READ_LATENCY_G => 2,
DATA_WIDTH_G => 8*DATA_BYTES_G,
Expand All @@ -193,6 +195,7 @@ begin
U_Ram : entity surf.SimpleDualPortRamAlteraMf
generic map (
TPD_G => TPD_G,
COMMON_CLK_G => COMMON_CLK_G,
MEMORY_TYPE_G => MEMORY_TYPE_G,
READ_LATENCY_G => 2,
DATA_WIDTH_G => 8*DATA_BYTES_G,
Expand Down

0 comments on commit 371ed89

Please sign in to comment.