aquiles viza
03/19/2024, 9:22 PMaquiles viza
03/20/2024, 1:36 AMschematic
entries in the path
dictionary?Tim Edwards
03/20/2024, 2:09 AMaquiles viza
03/20/2024, 10:56 PMxschemrc
file that registers on XSCHEM_LIBRARY_PATH
all the module's symbol directory, avoiding the use of "relative" imports, using something like C {symbol/INV.sym}
on each schematic.
Is possible to define multiple schematic directories on the schematic
field? Or maybe we can pass the XSCHEM_LIBRARY_PATH as an environmental variable...
Do you see a better way?Tim Edwards
03/21/2024, 1:27 AMxschem/
but I already realized that was untenable. Probably the current solution is not really tenable either, but for now I am adding the path specified for the dependency directly to xschem's search path. That works for your case, and any project could be set up the same way.
With this solution, I need to push my small change to the cace repository, but otherwise, on your end, the solution is to do the following:
1. Move the cace/
subdirectory from modules/SDC/
to the repository top level directory.
2. Change schematic:
in paths {...}
to modules/SDC/symbol
3. Add the following block for dependencies {...}
:
# Project dependencies
dependencies {
name: INTERNAL_SDC
path: modules
+
name: BUFFMIN
path: modules
+
name: DFF
path: modules
+
name: INV
path: modules
+
name: INVandCAP
path: modules
+
name: OSC
path: modules
+
name: CAPOSC
path: modules
+
name: INVMIN
path: modules
+
name: PASSGATE
path: modules
}
I tried to figure out a way for it to work with the cace/
directory where it is now; with some work I could probably figure that out, but this solution hopefully is not a problem for you.Tim Edwards
03/21/2024, 1:45 AMcace
to enable the local dependencies, so if you update to the latest version, you should be able to make the changes above to the SDC.txt file and be able to run the simulation in cace-gui
.aquiles viza
03/21/2024, 5:34 AMcace
directory to project/modules
, so I've removed each modules
reference in the patch and that worked fine.
I think that some entries like dependencies
could be relative to the root
. I think that could allow having specific cace
directories per module.