"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
ex1a_tb.v:1: error: `timescale directive can not be inside a module definition. ex1a_tb.v:2: syntax error C:\Users\–ìXŽR— É\Desktop\VerilogSimulation_new\EA\a\ex1\170441082ex1.v:5: error: Invalid module instantiation a.out: Unable to open input file.
| student | correct | ||||
|---|---|---|---|---|---|
| t | t | 1 | /* ex1 ‰ð“š—á */ | ||
| 1 | module AND_OR_EX1( A, B, C, Y ); | 2 | module AND_OR_EX1(A, B, C, Y); | ||
| 2 | input A, B, C; | 3 | input A, B, C; | ||
| 3 | output Y; | 4 | outpu t Y; | ||
| 4 | assign Y = ( A & B ) | C; | 5 | assign Y = (A & B) | C; | ||
| 5 | enmodule | 6 | endmodule | ||
| Legends | |
|---|---|
| | |