Has anyone added a macro that was drawn by hand to...
# analog-design
b
Has anyone added a macro that was drawn by hand to the caravel harness? If so could you show how you configured the caravel_user_project
a
I just opened the caravel_user_project and modified it as I wished. Probably the empty wrapper is better starting point though
The GDS is called user_project_wrapper.gds. I used KLayout and Magic. The workspace can be downloaded from github. Its called caravel_user_project
b
Thanks but I was hoping to insert my custom macro into the project and have it generate the final gds instead of editing it myself
a
Just copy and paste the macro into the wrapper. But proper way I would assume is using OpenLane to generate user_project_wrapper.
b
Were you able to get it through check for the shuttle?
a
Not yet, but if you tell me what the issue is exactly then I could try to help with the issue itself.
b
I'm having trouble connecting vdd and gnd to the power pins. I thought it would do it automatically, but it's not working
So, for example, most of my pins are routed correctly, but vccd1 and vssd1 are left disconnected
a
So you ran OpenLane with your custom Macro based on Caravel User Project but generated wrapper didnt have connected VDD/VSS is this correct?
b
Exactly
a
Does verilog (top level netlist) contain the connection of VDD/VSS to VCCD1/VSSD1?
m
I think @User knows how to do this
b
@User I named the pins vccd1 and vssd1 because it was causing errors. So that may be the problem
a
what errors was pin name vdd/vss causing that you had to rename it?
b
If I remember correctly, it was saying I didn't have vccd1 connections. I'll try including vdd&gnd and connecting them in verilog
I'm getting this warning, and then it errors out
Warning: No pins in the LEF view of u_flash_array_8x8  marked for use as power
a
Did you use Makeport of Magic VLSI and set the class to power before generating the LEF?
b
@User I'm not sure what you mean by makeport
a
https://github.com/praharshapm/vsdmixedsignalflow Section: Other important fields of LEF file
p