Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > Quartus II LPM simulation

Reply
Thread Tools

Quartus II LPM simulation

 
 
feiman feiman is offline
Junior Member
Join Date: Oct 2008
Posts: 1
 
      02-12-2009
Hi everyone,
I'm newie in HDL languages.
I wanted to simulate in Altera Quartus II RAM based Shifter from built-in models - LPM.
When I simulate independent model from LPM library everything is fine / no warrning, no errors.
But when I simulate this model as a part of another block, simulation doesn't work - it gives warrning like posted below - it ignores som outlets and I don't now why, because in hardware implementation it works allright. So that's my bloblem.

I will introduce cocrete example:

This is the whole source code I simulate

module RAW2RGB( oRed,
oGreen,
oBlue,
oDVAL,
iX_Cont,
iY_Cont,
iDATA,
iDVAL,
iCLK,
iRST );

input iX_Cont;
input iY_Cont;
input [9:0] iDATA;
input iDVAL;
input iCLK;
input iRST;
output [9:0] oRed;
output [9:0] oGreen;
output [9:0] oBlue;
output oDVAL;
wire [9:0] mDATA_0;
wire [9:0] mDATA_1;
reg [9:0] mDATAd_0;
reg [9:0] mDATAd_1;
reg [9:0] mCCD_R;
reg [10:0] mCCD_G;
reg [9:0] mCCD_B;
reg mDVAL;

assign oRed = mCCD_R[9:0];
assign oGreen = mCCD_G[10:1];
assign oBlue = mCCD_B[9:0];
assign oDVAL = mDVAL;

Line_Buffer u0 ( .clken(iDVAL),
.clock(iCLK),
.shiftin(iDATA),
.taps0x(mDATA_1),
.taps1x(mDATA_0) );

always@(posedge iCLK or negedge iRST)
begin
if(!iRST)
begin
mCCD_R <= 0;
mCCD_G <= 0;
mCCD_B <= 0;
mDATAd_0<= 0;
mDATAd_1<= 0;
mDVAL <= 0;
end
else
begin
mDATAd_0 <= mDATA_0;
mDATAd_1 <= mDATA_1;
mDVAL <= {iY_Cont|iX_Cont} ? 1'b0 : iDVAL;
if({iY_Cont,iX_Cont}==2'b01)
begin
mCCD_R <= mDATA_0;
mCCD_G <= mDATAd_0+mDATA_1;
mCCD_B <= mDATAd_1;
end
else if({iY_Cont,iX_Cont}==2'b00)
begin
mCCD_R <= mDATAd_0;
mCCD_G <= mDATA_0+mDATAd_1;
mCCD_B <= mDATA_1;
end
else if({iY_Cont,iX_Cont}==2'b11)
begin
mCCD_R <= mDATA_1;
mCCD_G <= mDATA_0+mDATAd_1;
mCCD_B <= mDATAd_0;
end
else if({iY_Cont,iX_Cont}==2'b10)
begin
mCCD_R <= mDATAd_1;
mCCD_G <= mDATAd_0+mDATA_1;
mCCD_B <= mDATA_0;
end
end
end

endmodule

module Line_Buffer (
clken,
clock,
shiftin,
shiftout,
taps0x,
taps1x);

input clken;
input clock;
input [9:0] shiftin;
output [9:0] shiftout;
output [9:0] taps0x;
output [9:0] taps1x;

wire [19:0] sub_wire0;
wire [9:0] sub_wire3;
wire [19:10] sub_wire1 = sub_wire0[19:10];
wire [9:0] sub_wire2 = sub_wire0[9:0];
wire [9:0] taps1x = sub_wire1[19:10];
wire [9:0] taps0x = sub_wire2[9:0];
wire [9:0] shiftout = sub_wire3[9:0];

altshift_taps altshift_taps_component (
.clken (clken),
.clock (clock),
.shiftin (shiftin),
.taps (sub_wire0),
.shiftout (sub_wire3));
defparam
altshift_taps_component.lpm_type = "altshift_taps",
altshift_taps_component.number_of_taps = 2,
altshift_taps_component.tap_distance = 3,
altshift_taps_component.width = 10;


endmodule

...and here are warrnings which are outputed after simulation


Warning: Ignored node in vector source file. Can't find corresponding node name "mCCD_G[0]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[9]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[8]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[7]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[6]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[5]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[4]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[3]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[2]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[1]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_0[0]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[9]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[8]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[7]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[6]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[5]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[4]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[3]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[2]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[1]" in design.
Warning: Ignored node in vector source file. Can't find corresponding node name "mDATA_1[0]" in design.
Warning: Can't find node "Line_Buffer:u0|taps0x[9]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[8]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[7]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[6]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[5]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[4]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[3]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[2]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[1]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps0x[0]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[9]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[8]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[7]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[6]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[5]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[4]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[3]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[2]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[1]" for functional simulation. Ignored vector source file node.
Warning: Can't find node "Line_Buffer:u0|taps1x[0]" for functional simulation. Ignored vector source file node.

Could someone help me where is the problem why simulator ignore outlets tapsx? I can't resolve this problem for a long time.

Thank you very much for answers!
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Altera LPM megafunctions in Quartus II and VHDL in general Shannon VHDL 20 08-25-2006 12:24 PM
Simulation Help with modelsimSE and quartus II and large project Kamachi923@gmail.com VHDL 5 02-10-2006 05:09 PM
Running testbench simulation problem with Quartus II 4.2 and Modelsim 6.0d Guido VHDL 3 01-30-2006 06:39 PM
LeonardoSpectrum and Alteras LPM library Michael Ruflin VHDL 1 11-28-2004 08:41 PM
LPM Modules in ispLEVER Matt North VHDL 2 09-12-2004 09:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57