plic_regmap.sv
Hi, The auto-generated plic_regmap seems not getting generated with update in number of interrupts. Why ie_* signals [2:0] per target? while in plic_top it is "number of interrupt sources + 1" per target. I updated ariane_device.xml and also riscvpylib for new device. Thanks, raghav
Hi Raghav,
At present the number of interrupts is hardwired in our scripts. For simulation you can change this line for sources:
https://github.com/PrincetonUniversity/openpiton/blob/openpiton-dev/piton/tools/src/sims/sims%2C2.0#L1262
And for FPGA you can change sources here:
https://github.com/PrincetonUniversity/openpiton/blob/openpiton-dev/piton/tools/src/proto/common/setup.tcl#L130
Thanks, Jon