aboutsummaryrefslogtreecommitdiff
path: root/hdl/wb_stage.v
diff options
context:
space:
mode:
Diffstat (limited to 'hdl/wb_stage.v')
-rw-r--r--hdl/wb_stage.v10
1 files changed, 4 insertions, 6 deletions
diff --git a/hdl/wb_stage.v b/hdl/wb_stage.v
index 37cfc38..66ff2a9 100644
--- a/hdl/wb_stage.v
+++ b/hdl/wb_stage.v
@@ -1,11 +1,9 @@
`timescale 1ns / 1ps
-module wb_stage(
- input mem_to_reg,
- input [31:0] mem_out, alu_out,
- output [31:0] write_data
- );
+module wb_stage( input mem_to_reg,
+ input [31:0] mem_out, alu_out,
+ output [31:0] write_data );
- assign write_data = mem_to_reg ? mem_out : alu_out;
+ assign write_data = mem_to_reg ? mem_out : alu_out;
endmodule