-
Notifications
You must be signed in to change notification settings - Fork 104
Expand file tree
/
Copy pathref_writeback_stage.sv
More file actions
36 lines (27 loc) · 1000 Bytes
/
ref_writeback_stage.sv
File metadata and controls
36 lines (27 loc) · 1000 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright (c) 2024 Tobias Scheipel, David Beikircher, Florian Riedl
* Embedded Architectures & Systems Group, Graz University of Technology
* SPDX-License-Identifier: MIT
* ---------------------------------------------------------------------
* File: ref_writeback_stage.sv
*/
module ref_writeback_stage (
input logic clk,
input logic rst,
// Inputs
input logic [31:0] source_data_in,
input logic [31:0] rd_data_in,
input instruction::t instruction_in,
input logic [31:0] program_counter_in,
input logic [31:0] next_program_counter_in,
// Interrupt signals
input logic external_interrupt_in,
input logic timer_interrupt_in,
// Outputs
output forwarding::t forwarding_out,
// Pipeline control
input pipeline_status::forwards_t status_forwards_in,
output pipeline_status::backwards_t status_backwards_out,
output logic [31:0] jump_address_backwards_out
);
ref_writeback_stage_inner inner(.*);
endmodule