• 0

ZYNQ XCZ7010 single port bram max speed



My system clock on my arty z7-10 board is 125MHz. When I try to simulate this clk in my test bench with a single port RAM, it does not work, and only outputs zeros, however, the simulation does work with a 6.25MHz clock. 

I looked at the 7 series memory usage guide, and some other xilinx forums, and thye said the BRAM should be able to run at around 200 MHz, so I am not sure why my simulation doesnt. 

The first picture is the 6.25MHz clock and everything is running fine. 

The second picture is the 125MHz clock where nothing happens. 

Testbench is below and source verilog is attatched. 


I also put this on the xilinx forums but accidently posted it in the wrong catagory, so I will put it here too.

`timescale 1ns / 1ps

module tb;          // this testbench from timing diagram memory uage guide. 
    wire [15:0] DO;
	reg [10:0] ADDR;
	reg CLK;
	reg [15:0] DI;
	reg EN;
	reg REGCE;
	reg RST;
	reg [1:0] WE;
	always #4 CLK = ~CLK;
			CLK = 0;
			DI = 16'hDDDD;
			ADDR = 11'h000;
			EN = 0;
			REGCE = 0;
			RST	= 0;
			WE = 2'b00;
			EN = 1;
			DI = 16'hCCCC;
			ADDR = 11'h00F;
			WE = 2'b11;
			ADDR = 11'h07E;
			DI = 16'hBBBB;
			WE = 2'b11;
			ADDR = 11'h08F;
			DI = 16'hAAAA;
			RST = 1;
			WE = 2'b00;
			ADDR = 11'h020;
			DI = 16'h0000;
			RST = 0;
			EN = 0;





Share this post

Link to post
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now