Tests
This commit is contained in:
parent
795e66eac9
commit
042fb76837
2
Changes
2
Changes
|
|
@ -22,7 +22,7 @@ indicates the contributor was also the author of the fix; Thanks!
|
|||
|
||||
**** Fix task inlining under $display and case, bug589, bug598. [Holger Waechtler]
|
||||
|
||||
**** Fix package import of non-localparam parameter, bug591. [Jeremy Bennett]
|
||||
**** Fix package import of non-localparam parameter, bug474, bug591. [Jeremy Bennett]
|
||||
|
||||
**** Fix package import of package imports, partial bug592. [Jeremy Bennett]
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,18 @@
|
|||
#!/usr/bin/perl
|
||||
if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); die; }
|
||||
# DESCRIPTION: Verilator: Verilog Test driver/expect definition
|
||||
#
|
||||
# Copyright 2003 by Wilson Snyder. This program is free software; you can
|
||||
# redistribute it and/or modify it under the terms of either the GNU
|
||||
# Lesser General Public License Version 3 or the Perl Artistic License
|
||||
# Version 2.0.
|
||||
|
||||
compile (
|
||||
);
|
||||
|
||||
execute (
|
||||
check_finished=>1,
|
||||
);
|
||||
|
||||
ok(1);
|
||||
1;
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
// DESCRIPTION: Verilator: Verilog Test module
|
||||
//
|
||||
// This file ONLY is placed into the Public Domain, for any use,
|
||||
// without warranty, 2013 by Wilson Snyder.
|
||||
|
||||
// bug474
|
||||
package verb_pkg;
|
||||
typedef enum int {VERB_I,
|
||||
VERB_W} Verb_t;
|
||||
Verb_t verb = VERB_I;
|
||||
string message = " ";
|
||||
endpackage
|
||||
|
||||
module t;
|
||||
import verb_pkg::*;
|
||||
|
||||
string message = "*x*";
|
||||
initial begin
|
||||
$write("*-* All Finished *-*\n");
|
||||
$finish;
|
||||
end
|
||||
endmodule
|
||||
Loading…
Reference in New Issue