Skip to content

Commit

Permalink
[tl,dv] Fix field name in comment
Browse files Browse the repository at this point in the history
This changed from tl_type to instr_type in 2021. Make the comment
match :-)

Signed-off-by: Rupert Swarbrick <[email protected]>
  • Loading branch information
rswarbrick committed Feb 3, 2025
1 parent f32d839 commit bb7335a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/dv/sv/tl_agent/tl_host_driver.sv
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function void tl_host_driver::invalidate_a_channel();
cfg.vif.h2d_int.a_address <= '{default:'x};
cfg.vif.h2d_int.a_mask <= '{default:'x};
cfg.vif.h2d_int.a_data <= '{default:'x};
// The assignment to tl_type must have a cast since the LRM doesn't allow enum assignment of
// The assignment to instr_type must have a cast since the LRM doesn't allow enum assignment of
// values not belonging to the enumeration set.
cfg.vif.h2d_int.a_user <= '{instr_type:prim_mubi_pkg::mubi4_t'('x), default:'x};
cfg.vif.h2d_int.a_valid <= 1'b0;
Expand Down

0 comments on commit bb7335a

Please sign in to comment.