I have a blinking led design who use a differential clock input (xilinx AC701 kit). To instantiate the Xilinx differential buffer I'm using a BlackBox as explained by jkoening here:
class Top extends Module {
val io = IO(new Bundle{
val clock_p = Input(Clock())
val clock_n = Input(Clock())
val led = Output(Bool())
})
val ibufds = Module(new IBUFDS)
ibufds.io.I := io.clock_p
ibufds.io.IB:= io.clock_n
val blink = Module(new Blink)
blink.clock := ibufds.io.O
io.led := blink.io.led
}
That works, but On the Top verilog module I have a useless clock input :
module Top(
input clock,
input reset,
input io_clock_p,
input io_clock_n,
output io_led
);
...
Then on the target only io_clock_p
and io_clock_n
are used for clock input. clock
signal is useless. Is there a proper way to hide it ?
reset
? I'm guessingclock
andreset
are hard-coded to always exist, because they are so fundamental. – Jonathon Reinhart