Skip to content

Commit

Permalink
[cpu] bus fence comment edit
Browse files Browse the repository at this point in the history
  • Loading branch information
stnolting committed Feb 11, 2024
1 parent 14778bb commit 5235d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rtl/core/neorv32_cpu_control.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ begin
bus_req_o.rw <= '0'; -- read-only
bus_req_o.src <= '1'; -- source = instruction fetch
bus_req_o.rvso <= '0'; -- cannot be a reservation set operation
bus_req_o.fence <= ctrl.lsu_fence; -- fence(.i) operation
bus_req_o.fence <= ctrl.lsu_fence; -- fence(.i) operation, valid without STB being set


-- Instruction Prefetch Buffer (FIFO) -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion rtl/core/neorv32_cpu_lsu.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ begin
bus_req_o.src <= '0'; -- 0 = data access

-- data/instruction fence(.i)
bus_req_o.fence <= ctrl_i.lsu_fence;
bus_req_o.fence <= ctrl_i.lsu_fence; -- this is valid even without STB being set


-- Data Output - Alignment and Byte Enable ------------------------------------------------
Expand Down

0 comments on commit 5235d6e

Please sign in to comment.