blob: 3965114354eac1067ff30c9948fb3c99e104b411 (
plain)
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
|
`include "core/uarch.sv"
module core_control_exception
(
input logic clk,
rst_n,
input logic undefined,
high_vectors,
output word vector,
output logic exception
);
logic[2:0] vector_offset;
assign exception = undefined; //TODO
assign vector = {{16{high_vectors}}, 11'b0, vector_offset, 2'b00};
always_comb
vector_offset = 3'b001; //TODO
//TODO: Considerar que data abort usa + 8, no + 4
endmodule
|