<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
transitional.dtd">
<html>
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-
<head>
        <meta http-equiv="Content-Type"
                    content="text/html; charset=Shift_JIS" />
        <title></title>
        <style type="text/css">
border:medium;}
table.diff {font-family:Courier, 'MS Gothic';
        </style>
</head>
<body>
.diff_header {background-color:#e0e0e0}
td.diff_header {text-align:right}
.diff_next {background-color:#c0c0c0}
.diff_add {background-color:#aaffaa}
.diff_chg {background-color:#ffff77}
.diff_sub {background-color:#ffaaaa}
<pre>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.
</pre><br>
    <table class="diff" id="difflib_chg_to0__top"
           cellspacing="0" cellpadding="0" rules="groups" >
        <colgroup></colgroup> <colgroup></colgroup> <colgroup>
</colgroup>
        <colgroup></colgroup> <colgroup></colgroup> <colgroup>
</colgroup>
<thead><tr><th class="diff_next"><br /></th><th colspan="2" class="diff_header"><a href="C:\Users\–ì​XŽR— É\Desktop\VerilogSimulation_new\EA\a\ex1\170441082ex1.v" target="_blank">student</a></th><th class="diff_next"><br /></th><th colspan="2" class="diff_header">correct</th></tr></thead>
        <tbody>
            <tr><td class="diff_next" id="difflib_chg_to0__0"><a
href="#difflib_chg_to0__top">t</a></td><td class="diff_header"></td>
<td nowrap="nowrap"></td><td class="diff_next"><a
href="#difflib_chg_to0__top">t</a></td><td class="diff_header"
id="to0_1">1</td><td nowrap="nowrap"><span
class="diff_add">/*&nbsp;ex1&nbsp;‰ð“š—á&nbsp;*/</span></td></tr>
            <tr><td class="diff_next"></td><td class="diff_header"
id="from0_1">1</td><td nowrap="nowrap">module&nbsp;AND_OR_EX1(<span
class="diff_sub">&nbsp;</span>A,&nbsp;B,&nbsp;C,&nbsp;Y<span
class="diff_sub">&nbsp;</span>);</td><td class="diff_next"></td><td
class="diff_header" id="to0_2">2</td><td

nowrap="nowrap">module&nbsp;AND_OR_EX1(A,&nbsp;B,&nbsp;C,&nbsp;Y);
</td></tr>
            <tr><td class="diff_next"></td><td class="diff_header"
id="from0_2">2</td><td nowrap="nowrap"><span
class="diff_sub">input&nbsp;A,&nbsp;B,&nbsp;C;</span></td><td
class="diff_next"></td><td class="diff_header" id="to0_3">3</td><td
nowrap="nowrap"><span
class="diff_add">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;input
&nbsp;&nbsp;&nbsp;A,&nbsp;B,&nbsp;C;</span></td></tr>
            <tr><td class="diff_next"></td><td class="diff_header"
id="from0_3">3</td><td nowrap="nowrap"><span
class="diff_sub">output&nbsp;Y;</span></td><td class="diff_next"></td>
<td class="diff_header" id="to0_4">4</td><td nowrap="nowrap"><span
class="diff_add">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;outpu
t&nbsp;&nbsp;Y;</span></td></tr>
            <tr><td class="diff_next"></td><td class="diff_header"
id="from0_4">4</td><td nowrap="nowrap">assign<span
class="diff_chg">&nbsp;</span>Y&nbsp;=&nbsp;(<span
class="diff_sub">&nbsp;</span>A&nbsp;&amp;&nbsp;B<span
class="diff_sub">&nbsp;</span>)&nbsp;|&nbsp;C;</td><td
class="diff_next"></td><td class="diff_header" id="to0_5">5</td><td
nowrap="nowrap"><span
class="diff_add">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>assign<span class="diff_chg">&nbsp;&nbsp;</span>Y&nbsp;=&nbsp;
(A&nbsp;&amp;&nbsp;B)&nbsp;|&nbsp;C;</td></tr>
            <tr><td class="diff_next"></td><td class="diff_header"
id="from0_5">5</td><td nowrap="nowrap">enmodule</td><td
class="diff_next"></td><td class="diff_header" id="to0_6">6</td><td
nowrap="nowrap">en<span class="diff_add">d</span>module</td></tr>
</tbody>
 </table>
<table class="diff" summary="Legends">
<tr> <th colspan="2"> Legends </th> </tr>
<tr> <td> <table border="" summary="Colors">
</tr>
class="diff_add">&nbsp;Added&nbsp;</td></tr>
class="diff_chg">Changed</td> </tr>
class="diff_sub">Deleted</td> </tr>
</th> </tr>
change</td> </tr>
</tr>
        </table>
</body>
</html>
           </table></td>
<td> <table border="" summary="Links">
                   <tr><th colspan="2"> Links
                   <tr><td>(f)irst
                   <tr><td>(n)ext change</td>
                   <tr><td>(t)op</td> </tr>
           </table></td> </tr>
<tr><th> Colors </th>
<tr><td
<tr><td
<tr><td