Open Thanhdat1301 opened 1 month ago
Can you upload your design and configuration files?
Also please follow the issue template and add the information from
python3 ./env.py issue-survey
I tested a simple counter file: // 4-bit counter module in Verilog module counter ( input wire clk, // Clock input input wire rst_n, // Active low reset input output reg [3:0] count // 4-bit counter output );
always @(posedge clk or negedge rst_n) begin if (!rst_n) count <= 4'b0000; // Reset counter to 0 else count <= count + 1; // Increment counter on clock edge end
endmodule I haven't changed anything in this config file, it's generated automatically from the commands I followed in getting_started
DESIGN_NAME "Demo" VERILOG_FILES "dir::src/*.v" CLOCK_PORT "clk" CLOCK_PERIOD 10 FP_PDN_MULTILAYER true
@Thanhdat1301 the design name is Demo
, but the only module I see in the verilog is counter
.
Try changing the design name to counter
or the verilog module to Demo
Thank you for answering my question. I tried your way but it still shows the error. Below is the error:
@Thanhdat1301 Now the error message is Pitch x is too small
. Try a fixed design size with
"FP_SIZING": "absolute",
"DIE_AREA": "0 0 1000 1000",
@d-mitch-bailey I found the place to change but I have a question these files are automatically generated when I run the command ./flow.tcl -design. So how do I run the file again after I've edited it or where I need to edit it in another place? Please help me
@Thanhdat1301 each design is synthesized and created using the openlane/<design>/config.json
or openlane/<design>/config.json
files. I don't think these are automatically generated.
Description
I am trying to add a verilog file to OpenLane. I followed the instructions in getting_started. Here I create a code counter file then run the following command ./flow.tcl -design. However it gives the following error. Does anyone have a fix for this?
Proposal
No response