Remove ClockToSignal and vice-versa
Clock.asUInt and Bool.asClock now suffice.
This commit is contained in:
@ -1,19 +0,0 @@
|
||||
|
||||
/* This blackbox is needed by
|
||||
* Chisel in order to do type conversion.
|
||||
* It may be useful for some synthesis flows
|
||||
* as well which require special
|
||||
* flagging on conversion from data to clock.
|
||||
*/
|
||||
|
||||
|
||||
module ClockToSignal(
|
||||
output signal_out,
|
||||
input clock_in
|
||||
);
|
||||
|
||||
|
||||
assign signal_out = clock_in;
|
||||
|
||||
endmodule // ClockToSignal
|
||||
|
@ -1,18 +0,0 @@
|
||||
|
||||
/* This blackbox is needed by
|
||||
* Chisel in order to do type conversion.
|
||||
* It may be useful for some synthesis flows
|
||||
* as well which require special
|
||||
* flagging on conversion from data to clock.
|
||||
*/
|
||||
|
||||
|
||||
module SignalToClock (
|
||||
output clock_out,
|
||||
input signal_in
|
||||
);
|
||||
|
||||
|
||||
assign clock_out = signal_in;
|
||||
|
||||
endmodule // SignalToClock
|
Reference in New Issue
Block a user