~ubuntu-branches/ubuntu/wily/acl2/wily

« back to all changes in this revision

Viewing changes to books/centaur/vl/failtest/import4.v

  • Committer: Package Import Robot
  • Author(s): Camm Maguire
  • Date: 2015-01-16 10:35:45 UTC
  • mfrom: (3.3.26 sid)
  • Revision ID: package-import@ubuntu.com-20150116103545-prehe9thgo79o8w8
Tags: 7.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package p1 ;
 
2
 
 
3
  wire foo;
 
4
 
 
5
endpackage
 
6
 
 
7
 
 
8
package p2 ;
 
9
 
 
10
  import p1::foo;
 
11
 
 
12
endpackage
 
13
 
 
14
 
 
15
module top ;
 
16
 
 
17
  import p2::*;
 
18
 
 
19
  assign bar = foo;    // imports must not be inherited, so this should be an error
 
20
 
 
21
endmodule