FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6670 讨论

Issue with Connecting Intermediate Output to ALTDDIO_IN Input in FPGA Design

Sameer-sahu
新分销商 I
3,139 次查看

Hello everyone,

I'm currently working on an FPGA design project and have encountered a problem that I hope to get some guidance on. The issue arises when trying to connect one of our intermediate outputs directly to the least significant bit of the ALTDDIO_IN IP's input data port. Specifically, the error message I receive is as follows:

Error (15871): Input port DATAIN of DDIO_IN primitive "ddio:uut|altddio_in:ALTDDIO_IN_component|ddio_in_2of:auto_generated|ddio_ina[0]" must come from an I/O IBUF or DELAY_CHAIN primitive.

Here’s a simplified version of the relevant part of my design:

module try (input clk1,input reset,output [13:0]data_out);
 
reg [6:0]temp;
always @ (posedge clk1)
temp <= 7'b0000001;
 
ddio uut(
.aclr ( reset ),
.datain ( temp ),
.inclock ( clk1 ),
.dataout_h ( data_out[13:7] ),
.dataout_l ( data_out[6:0] )
);
 
 
endmodule
0 项奖励
8 回复数
AdzimZM_Intel
员工
3,117 次查看

Hello Sir,


I'm Adzim, application engineer will assist you in this case.


I require some information in the points below to debug this problem:-

  • Which Quartus version that you're using?
  • Which FPGA device that you're using?
  • Can you provide the IP name as in Platform Designer/Quartus?
  • Which compilation stage is failing?



Regards,

Adzim

Regards,

Adzim


0 项奖励
Sameer-sahu
新分销商 I
3,099 次查看

Hi Adzim

Thanks for your response. Our actual production code is running on Quartous Prime 19.1 standard edition but this demo code is running on Quartous Prime 20.1 edition. In our Production device we are using cyclone V 5CEBA4U15C7 device. In our design we are using ALTDDIO_IN ip. Analysis and synthesis stage it is failing.

Thanks & regards,

Sameer

0 项奖励
Sameer-sahu
新分销商 I
3,116 次查看

Hi Adzim,

Thanks for your response. Our actual production code is running on Quartous Prime 19.1 standard edition but this demo code is running on Quartous Prime 20.1 edition. In our Production device we are using cyclone V 5CEBA4U15C7 device. In our design we are using ALTDDIO_IN ip. Analysis and synthesis stage it is failing.

 

Thanks & regards,

Sameer

0 项奖励
FvM
名誉分销商 II
3,087 次查看

Hi,
I think the error message is rather clear. DDIO_IN is expecting input from IO-pin but you are connecting it to a register. If actually need DDR register function in fpga fabric, you build it from registers.

0 项奖励
Sameer-sahu
新分销商 I
3,081 次查看

Hi,

But if we want to double the data rate of an intermediate value, then how to use this IP in our design. We are debugging something. So we attach some intermediate value as input to DDIO_IN. Can you please suggest, how to double the data rate of intermediate registor value.

 

Thanks

0 项奖励
FvM
名誉分销商 II
3,025 次查看
Hi,
DDIO_IN does not double a data rate. It splits a double data rate stream into two single data rate streams as shown in my previous post. Please explain in detail what you want to achieve.
0 项奖励
Sameer-sahu
新分销商 I
3,003 次查看

Hi,

I am using DDIO_IN ip to get the input data both in positive and negative edge of clock. E.g., let my input signal = 7'b0000001. Then I want this input signal will appear as output for both positive and negative clock. Then I will combine this two data and make it as a 14 bit output data. 

E.g.,

wire [13:0]data_output;

reg [6:0]data_input;

DDIO_IN(

.aclr ( reset ),
.datain ( data_input ),
.inclock ( clk ),
.dataout_h ( {data_out[13],data_out[11],data_out[9],data_out[7],data_out[5],data_out[3],data_out[1]} ),
.dataout_l ( {data_out[12],data_out[10],data_out[8],data_out[6],data_out[4],data_out[2],data_out[0]} )

);

In this way I want to double the data rate of input 7 bit to 14 bits data. That's what I want to perform,

0 项奖励
sstrell
名誉分销商 III
2,942 次查看

As mentioned, DDIO IP is only for DDR data on I/O pins. I think you simply want to have separate clocked processes.

 

always @(posedge clk)

dataout_h <= ...

 

always @(negedge clk)

dataout_l <= ...

0 项奖励
回复