6240 - PCIe for Nexus FPGAs: Encountered error in test bench using Radiant's IP core that is compiled in XCELIUM. How to fix it?
Description:
The error typically happens when GSR and PUR primitives are not included in the design.
Some IP core uses GSR and PUR primitives as designed to mimic the device Power-on scenario.
In this case, without these primitives, the simulation software will report an error on the IP instance.
Solution:
The user must instantiate GSR and PUR primitives to the top-level test bench.
Example:
// Define GSR clock and set it running
reg gsr_clk = 0;
always gsr_clk = #(20*NS) ~gsr_clk;
// GSR - CLK can be static (Async) or active (Sync)
GSR GSR_INST (
.CLK (gsr_clk),
.GSR_N (1'b1));
// PUR
PUR PUR_INST (
.PUR (1'b1));