Search Posts

Openlane init files

If run fail, have to remove the “runs” folder before rerun, otherwise same error will be shown

initProject.sh

#!/bin/bash

flow.tcl -design my_design -src my_sources/my_design.v -init_design_config

runProject.sh

#!/bin/bash

flow.tcl -design my_design -tag first_run

my_design.v

module my_design(
    input clk,
    output reg[7:0] count
);
initial count = 0;
always @ (posedge clk) begin
    count <= count + 1'b1;
end
endmodule

config.tcl

set ::env(FP_CORE_UTIL) "10"
set ::env(PL_TARGET_DENSITY) "0.7"
set ::env(PL_RANDOM_GLB_PLACMENT) "1"

Leave a Reply

Your email address will not be published. Required fields are marked *