mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-22 16:45:32 +00:00
11 lines
207 B
Verilog
11 lines
207 B
Verilog
module module_scope_case_top(
|
|
input wire x,
|
|
output reg y
|
|
);
|
|
always @* begin
|
|
case (module_scope_case_top.x)
|
|
1: module_scope_case_top.y = 0;
|
|
0: module_scope_case_top.y = 1;
|
|
endcase
|
|
end
|
|
endmodule
|