17 lines
315 B
Systemverilog
17 lines
315 B
Systemverilog
// Generated by CIRCT firtool-1.151.0
|
|
module ClockCrossingReg_w15(
|
|
input clock,
|
|
input [14:0] io_d,
|
|
output [14:0] io_q,
|
|
input io_en
|
|
);
|
|
|
|
reg [14:0] cdc_reg;
|
|
always @(posedge clock) begin
|
|
if (io_en)
|
|
cdc_reg <= io_d;
|
|
end // always @(posedge)
|
|
assign io_q = cdc_reg;
|
|
endmodule
|
|
|