Functional simulation


Here, three files of "alu_test.v", "alu.v" and "alu_op.v" could be prepared.
It does a simulation using these three files.
It uses verilog command as follows. Note that "alu_op.v" is not require in argument list because of automatically including from "alu.v".
% verilog alu_test.v alu.v
Then, a message is output as follows and the simulation ends.
If error occurrs, please check the source code.
verilog alu_test.v alu.v
VERILOG-XL March 3rd, 2     18:43:29, April 22nd, 1998

Copyright (c) 1995 Cadence Design Systems, Inc.  All Rights Reserved.
Unpublished -- rights reserved under the copyright laws of the United States.

Copyright (c) 1995 UNIX Systems Laboratories, Inc.  Reproduced with Permission.

THIS SOFTWARE AND ON-LINE DOCUMENTATION CONTAIN CONFIDENTIAL INFORMATION
AND TRADE SECRETS OF CADENCE DESIGN SYSTEMS, INC.  USE, DISCLOSURE, OR
REPRODUCTION IS PROHIBITED WITHOUT THE PRIOR EXPRESS WRITTEN PERMISSION OF
CADENCE DESIGN SYSTEMS, INC.
RESTRICTED RIGHTS LEGEND

Use, duplication, or disclosure by the Government is subject to
restrictions as set forth in subparagraph (c) (1) (ii) of the Rights in
Technical Data and Computer Software clause at DFARS 252.227-7013 or
subparagraphs (c) (1) and (2) of Commercial Computer Software -- Restricted
Rights at 48 CFR 52.227-19, as applicable.

                Cadence Design Systems, Inc.
                555 River Oaks Parkway
                San Jose, California    95134

For technical assistance please contact the Cadence Response Center at
1-800-CADENC2 or send email to crc_customers@cadence.com

For more information on Cadence's Verilog-XL product line send email to
talkverilog@cadence.com

Compiling source file "alu_test.v"
Compiling included source file "alu_op.v"
Continuing compilation of source file "alu_test.v"
Compiling source file "alu.v"
Compiling included source file "alu_op.v"
Continuing compilation of source file "alu.v"
Highest level modules :
alu_test

0 simulation events (use + profile or + listcounts option to count)
CPU time : 0.1 secs to compile + 0.0 secs to link + 0.1 secs in simulation
End of VERILOG-XL March 3rd, 2     18:43:44, April 22nd, 1998
%


Next, waveform virewer.


|Home|

Last modified on