Fix typo in comment in ibex_id_stage.sv

This commit is contained in:
Katharina 2025-01-16 17:54:41 +01:00 committed by Rupert Swarbrick
parent 5da1679f36
commit 591c3812f9

View file

@ -662,7 +662,7 @@ module ibex_id_stage #(
assign lsu_sign_ext_o = lsu_sign_ext;
assign lsu_wdata_o = rf_rdata_b_fwd;
// csr_op_en_o is set when CSR access should actually happen.
// csv_access_o is set when CSR access instruction is present and is used to compute whether a CSR
// csr_access_o is set when CSR access instruction is present and is used to compute whether a CSR
// access is illegal. A combinational loop would be created if csr_op_en_o was used along (as
// asserting it for an illegal csr access would result in a flush that would need to deassert it).
assign csr_op_en_o = csr_access_o & instr_executing & instr_id_done_o;