-
Every verilog file must define EXACTLY one module. If you define multiple modules in a verilog file, it will be considered a violation of cs552 verilog rules.
-
If a verilog file is called xor15.v, the module it contains must be named xor15.v
-
The filename and module name must have an EXACT one-to-one match
-
YOU CANNOT have a file called 15xor.v and in it create a module called adder.v
-
Run the name-convention-check script
-
Any instantiation of a module must include port names along with net-names, i.e.:
clkrst c0(clk, rst) is NOT OK
clkrst c0(.clk(clk), .rst(rst)) is CORRECT