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