<@U0172QZ342D>, I'm seeing a "macros not found" er...
# shuttle
j
@User, I'm seeing a "macros not found" error while running user_project_wrapper. I tried positioning macros in different coordinates but still couldn't solve the error. Attaching the snapshot and the user_project_wrapper/config.tcl
v
macro name is user_proj_example or user_proj_example_1?
m
you have a separate file called macro.cfg that shows where each macro should go
and any macro referenced there needs its gds and lef file included in the config.tcl
j
@User, thanks. My module name is user_proj_example and the cell name is user_proj_example_1.
m
so you should have a line in macro.cfg that is like user_proj_example_1 100 100 N, if you wanted to put it at 100um, 100um from bottom left corner
then in config.tcl make sure to include the lef and gds of that macro
j
@User, thanks. Yes, I do have modified it to be "user_proj_example_1 1700 2000 N". Also, I tried different combinations of coordinates where the macro should go into the wrapper. And, I have included the LEF and GDS files in the user_project_wrapper/config.tcl like: set ::env(EXTRA_LEFS) $script_dir/../../lef/user_proj_example.lef set ::env(EXTRA_GDS_FILES) $script_dir/../../gds/user_proj_example.gds
@User, In which case should I have to decrease the size of the macro being placed?
m
you still have the same error about macro not found?
j
Yes.
m
macro size shouldn't be an issue unless it's too big, but then you would get a different error
can you post a link to your repo so I can try to reproduce?
j
Sure, I will share it shortly. Thanks, @User
@User, sorry for the delay. I was working in my local drive and didn't have a git repo before and hence took some time to create one. I have pushed everything into the repo now, and here it is. https://github.com/Janavind/My_alu_xor
Also, I see the run reporting, .lef for the macro found, and it reports the existence of .gds during the initial setup still, the "macros not found" error persists. Here is the snapshot.
r
@User In your repository that you linked to 4 hours ago, you also define the "user_proj_example" as a module in "user_project_wrapper.v" even though that is already defined in the "user_proj_example.v". Can you remove this and try again?
j
@User, thanks a lot. It works fine after removing the "user_proj_example" in the wrapper. Earlier I haven't included the user_proj_example in the wrapper. I was getting errors at vccd1 and vssd1 and hence added the macro again to check if it works. I Just got to know that it was a simple typo error, causing the flow to stall every time due to the misspelled power nets. Now, everything is fine with the macro placement.
👍 1