ahb: eliminate now-unnecesary non-standard hreadyin
This commit is contained in:
parent
15cad8414d
commit
1db40687c6
@ -91,7 +91,6 @@ class HastiSlaveIO(implicit p: Parameters) extends HastiBundle()(p) {
|
||||
val hrdata = Bits(OUTPUT, hastiDataBits)
|
||||
|
||||
val hsel = Bool(INPUT)
|
||||
val hreadyin = Bool(INPUT) // !!! non-standard signal
|
||||
val hready = Bool(OUTPUT)
|
||||
val hresp = UInt(OUTPUT, SZ_HRESP)
|
||||
}
|
||||
@ -323,7 +322,7 @@ class HastiSlaveToMaster(implicit p: Parameters) extends HastiModule()(p) {
|
||||
val out = new HastiMasterIO
|
||||
}
|
||||
|
||||
io.out.htrans := Mux(io.in.hsel && io.in.hreadyin, io.in.htrans, HTRANS_IDLE)
|
||||
io.out.htrans := Mux(io.in.hsel, io.in.htrans, HTRANS_IDLE)
|
||||
io.out.hmastlock := io.in.hmastlock
|
||||
io.out.haddr := io.in.haddr
|
||||
io.out.hwrite := io.in.hwrite
|
||||
|
@ -23,7 +23,7 @@ class HastiToPociBridge(implicit p: Parameters) extends HastiModule()(p) {
|
||||
|
||||
val s_idle :: s_setup :: s_access :: Nil = Enum(UInt(), 3)
|
||||
val state = Reg(init = s_idle)
|
||||
val transfer = io.in.hsel & io.in.hreadyin & io.in.htrans(1)
|
||||
val transfer = io.in.hsel & io.in.htrans(1)
|
||||
|
||||
switch (state) {
|
||||
is (s_idle) {
|
||||
|
Loading…
Reference in New Issue
Block a user