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.

How to Simulate in Questasim

Status
Not open for further replies.
Advanced Member level 6
Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation
1,654
Reaction score
791
Trophy points
1,393
Location
Bangalore, India
Visit site
Activity points
0
This is the first Verilog code I wrote. It compiled successfully in Questasim 10.1b. I want to know how to Use the simulator to simulate the project.


Code Verilog - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 2-input OR gate
 
 
`timescale 1ns / 1ps
 
module OR2gate(A, B, F);
 
   input A;
   input B;
   output F;
   reg F;
 
   always @ (A or B)
   begin
   
      F <= A | B;
   end
 
endmodule

 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top