FAQ#
Does Use of HSL Require Python at Runtime?#
No. You need Python only for PyHSL, which compiles HSL sequences offline. You can build the bytecode for those sequences directly into your drivers. UDDF never invokes Python at runtime.
Why Would You Dynamically Generate HSL in the Driver?#
HSL is a simple language. An HSL sequence cannot behave conditionally, nor can it perform any other type of computation. If you want your driver to behave differently based on hardware revision or any other variation in hardware, you need logic outside of any HSL sequence. The same applies if you need to write different values based on configuration settings. HSL is an efficient, easy-to-analyze encoding of specific hardware accesses, and nothing more. Some of your driver entry points might need to dynamically generate sequences or choose from different sequences that PyHSL generated.