mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-20 04:07:36 -04:00
Make index/tag assignments parametric in ptw.
This commit is contained in:
parent
32354ac49d
commit
4c41a534b9
1 changed files with 2 additions and 2 deletions
|
@ -99,8 +99,8 @@ module ptw #(
|
|||
assign ptw_active_o = (state_q != IDLE);
|
||||
assign walking_instr_o = is_instr_ptw_q;
|
||||
// directly output the correct physical address
|
||||
assign req_port_o.address_index = ptw_pptr_q[11:0];
|
||||
assign req_port_o.address_tag = ptw_pptr_q[55:12];
|
||||
assign req_port_o.address_index = ptw_pptr_q[DCACHE_INDEX_WIDTH-1:0];
|
||||
assign req_port_o.address_tag = ptw_pptr_q[DCACHE_INDEX_WIDTH+DCACHE_TAG_WIDTH-1:DCACHE_INDEX_WIDTH];
|
||||
// we are never going to kill this request
|
||||
assign req_port_o.kill_req = '0;
|
||||
// we are never going to write with the HPTW
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue