REF一个:
generate if (USE_CHIPSCOPE)
begin: chipscope_in_hw_gen
chipscope_icon_k7 icon_inst(
.CONTROL0 (control0),
.CONTROL1 (control1));
chipscope_ila_k7 ila_inst(
.CONTROL (control1),
.CLK (clk200m),
.DATA (ila_data),
.TRIG0 (ila_trigger));
chipscope_vio_k7 vio_inst(
.CONTROL(control0),
.CLK(log_clk),
.SYNC_IN(sync_in),
.SYNC_OUT(sync_out));
end
else
begin : no_chipscope_required_gen
assign sync_out = 170'h0;
end
endgenerate |