Working branching.
This commit is contained in:
parent
23656db068
commit
cfce1b6b54
7 changed files with 31 additions and 23 deletions
|
|
@ -20,9 +20,12 @@ class EXBarrier extends MultiIOModule {
|
|||
new Bundle {
|
||||
val in = Input(new EXBarrierIO)
|
||||
val out = Output(new EXBarrierIO)
|
||||
val flush = Output(Bool())
|
||||
})
|
||||
|
||||
val delay = Reg(new EXBarrierIO)
|
||||
delay := io.in
|
||||
io.out := delay
|
||||
|
||||
io.flush := io.in.branch
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue