Mitch Bailey
11/04/2024, 1:01 AMFP_PIN_ORDER_CFG
, you could set the minimum distance and add a lot of virtual pins. The other way is to use FP_DEF_TEMPLATE
and a def file to specify fixed locations (see openlane/user_project_wrapper/config.json
). This overrides any FP_PIN_ORDER_CFG
settings.Diarmuid Collins
11/04/2024, 9:56 PMopenlane/user_project_wrapper/
.
Closest thing I could find is:
~/openlane2/openlane/examples/spm-user_project_wrapper
However, that didnt contain FP_DEF_TEMPLATE in the config.json file.Mitch Bailey
11/04/2024, 11:03 PMcaravel_user_project
which I assumed you were already using as your project directory. Do you have a caravel_user_project/openlane/user_project_wrapper/config.json
file?Diarmuid Collins
11/05/2024, 9:20 AMMitch Bailey
11/05/2024, 9:52 AMDiarmuid Collins
11/05/2024, 12:19 PMDiarmuid Collins
11/05/2024, 9:56 PMopenlane ~/mydesigns/counter_4b/config.json
Now I that I have cloned "openframe_timer_example" I guess I go into that dir and run the above command? That dir has no shell.nix file so I dont think I am right here.
Suppose a more general question - why did I need to go into a specific openframe related dir? I guess there are some setup files specific to openframe. If so, what are they? It would not be possible to run an openframe example in the openlane2 dir I had originally cloned?Mitch Bailey
11/06/2024, 12:47 AMgds/openframe_project_wrapper.gds
to a git repo on the efabless servers.Anton Maurovic
11/06/2024, 12:48 AMAnton Maurovic (efabless support)
11/06/2024, 12:57 AM# Make sure there's no lingering env vars from OL2 or anything:
unset MPW_TAG PDK PDK_ROOT MCW_ROOT OPENLANE_ROOT
unset OPENLANE_IMAGE_NAME OPENLANE_RUN_TAG OPENLANE_TAG
# Set up the Caravel tools within this repo directory (about 10GB):
make setup
Anton Maurovic (efabless support)
11/06/2024, 12:58 AMAnton Maurovic (efabless support)
11/06/2024, 1:01 AMmake user_proj_timer
and it will use the OpenLane config file ./openlane/user_proj_timer/config.json to instruct OpenLane to build the ./gds/user_proj_timer.gds macroAnton Maurovic (efabless support)
11/06/2024, 1:06 AMAnton Maurovic (efabless support)
11/06/2024, 1:09 AMAnton Maurovic (efabless support)
11/06/2024, 1:13 AMassign io_oeb[37] = 1'b1
because 1'b1
requires synthesis of a "conb" cell, and this will fail).Diarmuid Collins
11/06/2024, 7:02 PMAnton Maurovic (efabless support)
11/06/2024, 11:18 PMDiarmuid Collins
11/07/2024, 4:55 PMAnton Maurovic (efabless support)
11/07/2024, 5:28 PMOPEN_PDKS_COMMIT=bdc9412b3e468c102d01b7cf6337be06ec6e9c9a
OPENLANE_TAG=2024.04.22
Anton Maurovic (efabless support)
11/07/2024, 5:31 PMAnton Maurovic (efabless support)
11/07/2024, 5:31 PMMarwan Abbas
11/07/2024, 5:37 PMAnton Maurovic (efabless support)
11/07/2024, 5:40 PMMarwan Abbas
11/07/2024, 5:41 PMAnton Maurovic (efabless support)
11/07/2024, 5:42 PMDiarmuid Collins
11/07/2024, 9:16 PMAnton Maurovic (efabless support)
11/07/2024, 10:28 PMbdc9412b3e468c102d01b7cf6337be06ec6e9c9a
and in my experience it's good to use for both: xschem & analog designs; and OpenLane digital designs. I personally have done some small mixed-signal designs using it for the analog layouts (and analog/digital integration), though at the time I was using the "default" (mid-2023) PDK for OpenLane to produce the digital block -- on this point, you CAN use different PDK versions for those different (analog vs. digital) tasks and mix their layouts, and in fact you might want to consider looking at the official latest PDK (0fe599b2afb6708d281543108caf8310912f54af
) in your xschem, because it has a small few updates but also some enhancements to the "top.sch" xschem demo page -- niceties. But... not essential. Stick with bdc9412b3e468c102d01b7cf6337be06ec6e9c9a
all the way (xschem/analog + openlane/digital) and only make a change if something fails to pass tapeout (though in the case of failing tapeout, we'll usually jump on it to help you out anyway).Diarmuid Collins
11/08/2024, 5:12 PMAnton Maurovic (efabless support)
11/11/2024, 2:42 PMAnton Maurovic (efabless support)
11/11/2024, 2:42 PMDiarmuid Collins
11/11/2024, 4:35 PM