Skip to content
Snippets Groups Projects
Commit df860a74 authored by Allen Jason Tan's avatar Allen Jason Tan
Browse files

Add 1-bit Read/Write signal

parent 175a2dcf
Branches
No related tags found
No related merge requests found
...@@ -36,6 +36,7 @@ module core_extmem ( ...@@ -36,6 +36,7 @@ module core_extmem (
output [3:0] ext_data_write, output [3:0] ext_data_write,
`endif `endif
output [`BUS_BITS-1:0] ext_data_addr, output [`BUS_BITS-1:0] ext_data_addr,
output ext_data_wr_en,
output [`DATAMEM_WIDTH-1:0] ext_data_store, output [`DATAMEM_WIDTH-1:0] ext_data_store,
input [`DATAMEM_WIDTH-1:0] ext_data_load, input [`DATAMEM_WIDTH-1:0] ext_data_load,
output ext_data_req, output ext_data_req,
...@@ -52,6 +53,8 @@ module core_extmem ( ...@@ -52,6 +53,8 @@ module core_extmem (
output [`WORD_WIDTH-1:0] ext_id_inst output [`WORD_WIDTH-1:0] ext_id_inst
); );
assign ext_data_wr_en = |ext_data_write;
/******************************** DECLARING WIRES *******************************/ /******************************** DECLARING WIRES *******************************/
// IF stage ====================================================================== // IF stage ======================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment