Anybody have a simple verilog->magic (ie circui...
# caravel
l
Anybody have a simple verilog->magic (ie circuit.v -> circuit.mag) script or instructions handy? (Just want to add a small digital component to my otherwise analog circuit. Been fighting caravel_user_project for few hours.)
t
You pretty much have to go through the normal "openlane" flow for that. At the end you'll get a GDS and you can include that into magic as a macro.
πŸ‘ 1
l
back to the trenches
t
If it's really small you can place digital cells manually, but that depends on the size / complexity (also you need to convert yourself from verilog to standard cells and make sure you're timeing are fine etc ..)
πŸ‘ 1
m
@Luke Harold Miles If you have an analog project (ie. cloned from
caravel_user_project_analog
), be aware that the
openlane/Makefile
may be improperly linked. People have had success removing the link and copying the digital version at
caravel_user_project/openlane/Makefile
.
πŸ‘ 1
l
Here is a verilog->magic minimal possible example for posterity https://github.com/coolwow/openlane_verilog_to_magic
πŸ‘ 1