[core] code format
This commit is contained in:
parent
21813eb59f
commit
b2e1eb30c7
|
@ -1627,12 +1627,14 @@ static void print_verilog_full_testbench_configuration_chain_bitstream(
|
||||||
config_protocol.prog_clock_pin_ccff_head_indices(
|
config_protocol.prog_clock_pin_ccff_head_indices(
|
||||||
config_protocol.prog_clock_pins()[iclk]);
|
config_protocol.prog_clock_pins()[iclk]);
|
||||||
size_t curr_regional_bitstream_max_size =
|
size_t curr_regional_bitstream_max_size =
|
||||||
find_fabric_regional_bitstream_max_size(fabric_bitstream, curr_clk_ctrl_regions);
|
find_fabric_regional_bitstream_max_size(fabric_bitstream,
|
||||||
|
curr_clk_ctrl_regions);
|
||||||
size_t curr_num_bits_to_skip = 0;
|
size_t curr_num_bits_to_skip = 0;
|
||||||
if (true == fast_configuration) {
|
if (true == fast_configuration) {
|
||||||
curr_num_bits_to_skip =
|
curr_num_bits_to_skip =
|
||||||
find_configuration_chain_fabric_bitstream_size_to_be_skipped(
|
find_configuration_chain_fabric_bitstream_size_to_be_skipped(
|
||||||
fabric_bitstream, bitstream_manager, bit_value_to_skip, curr_clk_ctrl_regions);
|
fabric_bitstream, bitstream_manager, bit_value_to_skip,
|
||||||
|
curr_clk_ctrl_regions);
|
||||||
}
|
}
|
||||||
/* TODO: Try to apply different length as the bitstream size for ccffs are
|
/* TODO: Try to apply different length as the bitstream size for ccffs are
|
||||||
* different driven by differnt clocks! Tried but no luck yet. */
|
* different driven by differnt clocks! Tried but no luck yet. */
|
||||||
|
@ -1921,7 +1923,8 @@ static void print_verilog_full_testbench_configuration_chain_bitstream(
|
||||||
iclk, iclk);
|
iclk, iclk);
|
||||||
fp << "always";
|
fp << "always";
|
||||||
fp << " @(negedge "
|
fp << " @(negedge "
|
||||||
<< generate_verilog_port(VERILOG_PORT_CONKT, curr_prog_clock_port) << ")";
|
<< generate_verilog_port(VERILOG_PORT_CONKT, curr_prog_clock_port)
|
||||||
|
<< ")";
|
||||||
fp << " begin";
|
fp << " begin";
|
||||||
fp << std::endl;
|
fp << std::endl;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue