Hi everyone, during hardening my design I got this...
# openlane
m
Hi everyone, during hardening my design I got this error below, although I removed this:
MACRO_PLACEMENT_CFG
from the config.tcl. The design has no macros, if someone could help!
m
how are you implementing your design then? the normal thing is to harden your design as a macro and then incorporate it into user_project_wrapper. user_project_wrapper is setup so it does no synthesis, so you can't have any logic or design in there.
m
@Matt Venn Yes, Thank you
πŸ™Œ 1
I hardened my design successfully but now I'm a bit confused, how to instansiate the macro after that.
What I understood is that I've to copy the verilog codes under verilog/rtl directory then instansiate the top module inside the user_project_wrapper, by changing the user_proj_example to the top module name
m
you need to instantiate it inside ./verilog/rtl/user_project_wrapper.v and also reference it in ./openlane/user_project_wrapper/config.tcl and macro.cfg
πŸ‘ 1
yeah
swap out the mprj example for your own
m
And to delete the interface ports with the picorv?
m
depends if you want to use them or not
you can't change the interface port of user_project_wrapper, but you can do what you want with any modules instantiated inside
m
Yes, I got it
Thank you
πŸ™Œ 1
Same error:(
m
Post your repo
Sorry for being this late, but if you could help please.
m
your macro.cfg needs to have the correct name
of your macro
should be dlpp for you I think
and maybe update the co-ords so it fits
m
I don't understand this
I'll change the name
But how to adjust the coordinates?
depending on what?
m
in that file
how big is your macro?
m
900um * 600um
m
ok so it should fit with no adjustment
just change mprj to dlpp and see what happens
m
Also I left the name of the instance of the top module as it is mprj
inside the user_project_wrapper
m
but the name of your macro is not mprj it's dlpp
m
okay
wil adjust this and try again
same error:(
I may be wrong
Will adjust something and run again
m
why don't you have mpw-two-c tag in your tree?
m
Is this a critical problem?
For the macro.cfg
I adjusted it and got the same error
m
you will probably fail the precheck if your repo doesn't match mpw-two-c closely enough
m
Okay will fork it again
m
and maybe makefiles/config are different enough to make configuration changes
m
Okay I'll adjust this
m
I don't think that's why the macro stuff is failing tho
πŸ‘ 1
m
Would you please take a look at my config.tcl and user_project_wrapper.v
They are the only files I edited
I think it would be in the config.tcl
m
yeah, I'm sure it's the macro.cfg
but you said you've tried it with mpll
just trying it here
I don't know why you have changed the settings in the config
you have commented out the line that reads the macro.cfg, that's why that doesn't work
ok, I've got to go. good luck getting it ready
m
For this
Okay
@Matt Venn Thank you for help:)
@Amro Tork