mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
Scary blocking call issue
- Can't believe this has been there for 4 gens of epiphany! - Found it by chance when copying code over to edge detect...
This commit is contained in:
parent
4dbf1a201e
commit
7a756decf8
@ -101,7 +101,7 @@ module pic(/*AUTOARG*/
|
||||
//# RISING EDGE DETECTOR
|
||||
//###########################
|
||||
always @ (posedge clk)
|
||||
ic_irq_shadow[IRQW-1:0]= ext_irq[IRQW-1:0] ;
|
||||
ic_irq_shadow[IRQW-1:0] <= ext_irq[IRQW-1:0] ;
|
||||
|
||||
assign ic_event[IRQW-1:0] = ext_irq[IRQW-1:0] & ~ic_irq_shadow[IRQW-1:0] ;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user