Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] Need help for simulation problem of Xilinx 12.3 ISE Webpack

Status
Not open for further replies.

moonnightingale

Full Member level 6
Joined
Sep 17, 2009
Messages
362
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,298
Activity points
3,832
I am not getting correct waveform. I have attached code and waveform.Kindly look into code and see where is mistake

`timescale 1 ns / 1 ps
module first(c,a,b);
output c;
input a,b;
and (c,a,b);
endmodule

// Test Bench is written
module t_first;
reg t_a,t_b;
wire t_c;
first M1(t_c,t_a,t_b);
initial
begin
#5000 $finish;
end
initial
begin
t_a=0;
t_b=0;
#1000 t_a=1;t_b=1;
#1500 t_a=0;t_b=0;
end
endmodule
 

Attachments

  • pic.jpg
    pic.jpg
    171.9 KB · Views: 118

Hi moonnightingale,

The answer is right there in your screenshot. ;)

Your simulation only runs for 1000 ns, which incidentally is the default setting in ISE 12.3 for a simulation run. You can change it in Process => Process Properties => Simulation Run Time.

hope that helps! :)
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top