lowRISC / lowrisc-chip

The root repo for lowRISC project and FPGA demos.
http://www.lowrisc.org/
Other
593 stars 149 forks source link

Timing constraints are not met in ariane-v0.7 #187

Closed abdullahyildiz closed 3 years ago

abdullahyildiz commented 3 years ago

I encountered many timing violations that are related to ui_clk during the synthesis of Ariane based SoC on Nexys 4 DDR board. I noticed that the core subsystem takes ui_clk that is generated by xlnx_mig_7_ddr_nexys4_ddr IP and ui_clk must be a quarter the frequency of the DRAM clock.

Is there anyone that encountered this issue before?

jrrk commented 3 years ago

The Nexys4ddr chip is a tight squeeze for Ariane, nevertheless we felt it was important to offer continuity of board support from the previous release. The Genesys2 board uses a faster technology and if I recall correctly does meet timing.

In spite of this I have seen demonstrable results on Nexys.

If your question is about how to slow down the DDR clock to ensure timing is always met, you need to examine the GUI configuration for the DDR IP for a different valid value, or use an AXI clock up-converter. This is outside the scope of this support forum I’m afraid.

abdullahyildiz commented 3 years ago

@jrrk,

I haven't tested the design on the board yet.

I tried to decrease the current DDR clock frequency however GUI for MIG 7 series restricts the selection of clock period to between 3000ps and 5000ps.