Altera_Forum
Honored Contributor
17 years agoLE carry chain
I'm trying to implement LE carry chain using low level primitives.
L_0:LCELL
PORT MAP (
in0,out0
);
D_0:DFFEAS
PORT MAP(
d=>out0,
q=>delay(0),
clk=>ref_clk,
ena=>'1',
clrn=>'1',
prn=>'1',
asdata=>'0',
sclr=>'0',
sload=>'0',
aload=>'0'
);
C_1:CARRY_SUM
PORT MAP(
sin=>'0',
cin=>out0,
cout=>carry0
);
L_1:LCELL
PORT MAP (
carry0,out1
);
D_1:DFFEAS
PORT MAP(
d=>out1,
q=>delay(1),
clk=>ref_clk,
ena=>'1',
clrn=>'1',
prn=>'1',
asdata=>'0',
sclr=>'0',
sload=>'0',
aload=>'0'
);I've attached what I receive in RTL Viewer. It's seems like something I want to achieve, but CARRY_SUM primitive is ignored. It's my first contact with primitives so I guest I'm doing something wrong. Particularly I don't know what is sin and sout in CARRY_SUM and how to use it. My intend is to create 64 LE length delay line (and then TDC- time to digital converter). I'll appreciate some help. Device is Cyclone III. I've noticed it should rater be I another forum category, sorry.