openpiton icon indicating copy to clipboard operation
openpiton copied to clipboard

plic_regmap.sv

Open Raghavendra-Srinivas opened this issue 6 years ago • 1 comments

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

Raghavendra-Srinivas avatar Feb 28 '20 04:02 Raghavendra-Srinivas

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

Jbalkind avatar Mar 03 '20 22:03 Jbalkind