XUANTIE-RV / wujian100_open

IC design and development should be faster,simpler and more reliable
MIT License
1.85k stars 569 forks source link

GPIO cannot clear interrupt #56

Open weils2021 opened 2 years ago

weils2021 commented 2 years ago

there is a RTL bug in /soc/gpio.v line 344 . It caused CPU can not clear GPIO interrupt //code// if(paddr[`GPIO_ADDR_LHS:2] == GPIO_INT_LEVEL_SYNC_OFFSET)

suggetion: //code// if(paddr[`GPIO_ADDR_LHS:2] == GPIO_INT_CLR_OFFSET )

mballackh13 commented 2 years ago

没有特别看明白bug的场景,能否更加具体一些,或者可以有对应的波形?