aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simple/module_scope_case.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simple/module_scope_case.v')
-rw-r--r--tests/simple/module_scope_case.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/simple/module_scope_case.v b/tests/simple/module_scope_case.v
index 1472b6912..bceba4424 100644
--- a/tests/simple/module_scope_case.v
+++ b/tests/simple/module_scope_case.v
@@ -1,11 +1,11 @@
-module top(
+module module_scope_case_top(
input wire x,
output reg y
);
always @* begin
- case (top.x)
- 1: top.y = 0;
- 0: top.y = 1;
+ case (module_scope_case_top.x)
+ 1: module_scope_case_top.y = 0;
+ 0: module_scope_case_top.y = 1;
endcase
end
endmodule