Decode in FE
This commit is contained in:
BIN
rtl/interfaces/._VX_icache_request_inter.v
Normal file
BIN
rtl/interfaces/._VX_icache_request_inter.v
Normal file
Binary file not shown.
BIN
rtl/interfaces/._VX_icache_response_inter.v
Normal file
BIN
rtl/interfaces/._VX_icache_response_inter.v
Normal file
Binary file not shown.
27
rtl/interfaces/VX_icache_request_inter.v
Normal file
27
rtl/interfaces/VX_icache_request_inter.v
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
`include "VX_define.v"
|
||||
|
||||
`ifndef VX_ICACHE_REQ
|
||||
|
||||
`define VX_ICACHE_REQ
|
||||
|
||||
interface VX_icache_request_inter ();
|
||||
|
||||
wire[31:0] pc_address;
|
||||
|
||||
// source-side view
|
||||
modport snk (
|
||||
input pc_address
|
||||
);
|
||||
|
||||
|
||||
// source-side view
|
||||
modport src (
|
||||
output pc_address
|
||||
);
|
||||
|
||||
|
||||
endinterface
|
||||
|
||||
|
||||
`endif
|
||||
29
rtl/interfaces/VX_icache_response_inter.v
Normal file
29
rtl/interfaces/VX_icache_response_inter.v
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
`include "VX_define.v"
|
||||
|
||||
`ifndef VX_ICACHE_RSP
|
||||
|
||||
`define VX_ICACHE_RSP
|
||||
|
||||
interface VX_icache_response_inter ();
|
||||
|
||||
// wire ready;
|
||||
// wire stall;
|
||||
wire[31:0] instruction;
|
||||
|
||||
// source-side view
|
||||
modport snk (
|
||||
input instruction
|
||||
);
|
||||
|
||||
|
||||
// source-side view
|
||||
modport src (
|
||||
output instruction
|
||||
);
|
||||
|
||||
|
||||
endinterface
|
||||
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user