Skip to content

Commit

Permalink
Enable vCLIC
Browse files Browse the repository at this point in the history
  • Loading branch information
ezelioli committed Jan 24, 2025
1 parent fd1001b commit 6cc02a3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions hw/cheshire_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ package cheshire_pkg;
CvxifEn : 0,
ZiCondExtEn : 1,
RVSCLIC : cfg.Clic,
RVVCLIC : 0,
RVVCLIC : 1,
RVF : 1,
RVD : 1,
FpPresent : 1,
Expand Down Expand Up @@ -596,7 +596,7 @@ package cheshire_pkg;
SerialLink : 1,
Vga : 1,
AxiRt : 0,
Clic : 0,
Clic : 1,
IrqRouter : 0,
BusErr : 1,
// Debug
Expand Down
6 changes: 3 additions & 3 deletions hw/cheshire_soc.sv
Original file line number Diff line number Diff line change
Expand Up @@ -676,9 +676,9 @@ module cheshire_soc import cheshire_pkg::*; #(
.reg_rsp_t ( reg_rsp_t ),
.SSCLIC ( 1 ),
.USCLIC ( 0 ),
.VSCLIC ( 0 ),
.N_VSCTXTS ( 0 ),
.VSPRIO ( 0 ),
.VSCLIC ( 1 ),
.N_VSCTXTS ( 64 ),
.VSPRIO ( 1 ),
.VsprioWidth ( 1 )
) i_clic (
.clk_i,
Expand Down
2 changes: 1 addition & 1 deletion target/xilinx/xilinx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CHS_XILINX_IPS_genesys2 := clkwiz vio mig7s
CHS_XILINX_IPS_vcu128 := clkwiz vio ddr4

$(CHS_XILINX_DIR)/scripts/add_sources.%.tcl: $(CHS_ROOT)/Bender.yml
$(BENDER) script vivado -t fpga -t cv64a6_imafdcsclic_sv39 -t cva6 -t $* > $@
$(BENDER) script vivado -t fpga -t cv64a6_imafdch_sv39_wb -t cva6 -t $* > $@

define chs_xilinx_bit_rule
$$(CHS_XILINX_DIR)/out/%.$(1).bit: \
Expand Down

0 comments on commit 6cc02a3

Please sign in to comment.