Shuo Lai
07/10/2021, 4:08 PMShuo Lai
07/10/2021, 8:30 PMTim Edwards
07/10/2021, 11:38 PMio_out
signals do not support 3.3V. You will need to have a level-shift-down circuit, which you can use from the HVL library (hv2lv
) or just use an HVL buffer with the power supply tied to 1.8V (the inputs will be 3.3V tolerant).
On the caravan
design, see the file verilog/rtl/user_analog_proj_example.v
in the caravel_user_project_analog
repository. This has a complete description of the pin mapping. Avoid using mprj_io[4:1]
except as a last resort, as they are used by the housekeeping SPI, and using them for projects requires making sure that the FTDI chip on the development board is not driving those pins. But they can be used if you need them. Just remember that you have the entire SoC and logic analyzer at your disposal, so I would expect that it is more convenient to drive all of the LDO inputs internally through the wishbone bus (although those are 1.8V signals, so you would need to use the HVL library lv2hv
level shifter to get signals up to 3.3V).Shuo Lai
07/11/2021, 2:59 AM