1
0

remove dumb stuff in top.scala

This commit is contained in:
Andrew Waterman 2012-03-25 21:29:36 -07:00
parent 88bf8a4f23
commit f62a02ab54

View File

@ -52,9 +52,7 @@ class Top() extends Component
// pad out the HTIF using a divided clock // pad out the HTIF using a divided clock
val hio = (new slowIO(clkdiv, 4)) { Bits(width = htif_width) } val hio = (new slowIO(clkdiv, 4)) { Bits(width = htif_width) }
htif.io.host.out <> hio.io.out_fast htif.io.host.out <> hio.io.out_fast
io.host.out.valid := hio.io.out_slow.valid io.host.out <> hio.io.out_slow
hio.io.out_slow.ready := io.host.out.ready
io.host.out.bits := Mux(reset, io.host.in.bits, hio.io.out_slow.bits)
htif.io.host.in <> hio.io.in_fast htif.io.host.in <> hio.io.in_fast
io.host.in <> hio.io.in_slow io.host.in <> hio.io.in_slow
io.host_clk := hio.io.clk_slow io.host_clk := hio.io.clk_slow