Md Omar Faruque
02/20/2024, 1:17 AMTim Edwards
02/20/2024, 1:23 AMsky130_fd_sc_hvl
in your PDK, or else a path to it is not being defined somewhere.Md Omar Faruque
02/20/2024, 2:56 AMMd Omar Faruque
02/20/2024, 3:05 AMMd Omar Faruque
02/20/2024, 7:24 AMMitch Bailey
02/20/2024, 11:29 AM-DEF_STYLE
from the iverilog
command options.Md Omar Faruque
02/20/2024, 7:24 PMMitch Bailey
02/21/2024, 12:08 AMls $(PDK_ROOT)/sky130A/libs.ref/*/verilog
return?Md Omar Faruque
02/21/2024, 8:00 PMMitch Bailey
02/22/2024, 12:21 AMverilog/dv/mprj_por/Makefile
there’s a line that sets -DEF_STYLE
.
ifeq (,$(wildcard $(PDK_ROOT)/$(PDK)/libs.ref/*/verilog))
SIM_DEFINES := ${SIM_DEFINES} -DEF_STYLE
endif
I think you can safely comment that out.
But before you do that, are both PDK_ROOT
and PDK
defined in your environment?Md Omar Faruque
02/22/2024, 1:39 AMMd Omar Faruque
02/22/2024, 1:55 AMMitch Bailey
02/22/2024, 2:33 AMcaravel_user_project_analog
if you’re going to be using non-standard supply/ground voltages or relatively high performance signals that would be affected by the capacitance of devices in the standard gpio.
I thinks there are 28 gpio cells that you can use for analog io in caravel (there is only a small resistor between the signal and the pad). The signal voltage must be between 0V and VDDIO (3.3V), though. It’s probably wise to use each gpio as either analog or digital, but not both.
Be care when routing analog signals with digital flows. You might want to manually change the path width of the analog signals after routing.Mitch Bailey
02/22/2024, 2:40 AM/home/engtech/Desktop/analog_v3/caravel_user_project_analog/PDK/
but this should be
/home/engtech/Desktop/analog_v3/caravel_user_project_analog/PDK/sky130A
Does the Makefile have these lines?
PDK_PATH = $(PDK_ROOT)/$(PDK)
and
iverilog $(SIM_DEFINES) -I $(PDK_PATH) \
Have you exported PDK
?
try
env | grep PDK
Md Omar Faruque
02/22/2024, 2:52 AMMd Omar Faruque
02/22/2024, 2:55 AMMitch Bailey
02/22/2024, 3:23 AMcaravel_user_project_analog/Makefile
can you change line 66 to this?
-e TARGET_PATH=${TARGET_PATH} -e PDK_ROOT=${PDK_ROOT} -e PDK=${PDK} \
Md Omar Faruque
02/22/2024, 5:23 AMMitch Bailey
02/22/2024, 12:14 PManalog_io[0]
will be the pin name and you can output a 2.5V signal with that from an analog block.Tim Edwards
02/22/2024, 2:21 PManalog_io
to type real
and give it a floating-point number value. The value won't be interpreted as meaning anything to verilog, but the modules can be made to treat it consistently as indicating a voltage. More often, though, power supplies are just set like digital signals as 1 (on), 0 (off), or X (invalid).Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by