Skip to content

Commit

Permalink
Add Ara support for back-referencing
Browse files Browse the repository at this point in the history
Co-authored-by: Vincenzo Maisto <[email protected]>
Co-authored-by: Matteo Perotti <[email protected]>
Signed-off-by: Moritz Imfeld <[email protected]>
  • Loading branch information
3 people committed Oct 15, 2024
1 parent a4a9476 commit e21c036
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions target/xilinx/src/cheshire_top_xilinx.sv
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ module cheshire_top_xilinx import cheshire_pkg::*; (
ret.Usb = 1;
`else
ret.Usb = 0;
`endif
`ifdef ARA
ret.Ara = 1;
ret.AraVLEN = `ifdef VLEN `VLEN `else 0 `endif;
ret.AraNrLanes = `ifdef NR_LANES `NR_LANES `else 0 `endif;
`endif
return ret;
endfunction
Expand Down

0 comments on commit e21c036

Please sign in to comment.