source:
HDLQ/Library/Fanout.v
@
1
Revision 1, 178 bytes checked in by ttvmrc00, 14 years ago (diff) |
---|
Rev | Line | |
---|---|---|
[1] | 1 | module Fanout (in, out1, out2, fault); |
2 | input in, fault; | |
3 | output out1, out2; | |
4 | // if fault =1 the out2 is inverted | |
5 | assign out1 = in; | |
6 | assign out2 = fault ? ~in : in; | |
7 | endmodule | |
8 | ||
9 |
Note: See TracBrowser
for help on using the repository browser.