Pyrope std lib¶
Like most languages, a standard library provides some common functionality around.
- The built-in
stdnamespace is part of the language (it is not theimport("prp")library below). Every file sees it without animport:std.clog2(x)(Verilog$clog2semantics, comptime only), plusstd.readmemh(file)/std.readmemb(file)for memory startup images. See Built-instdnamespace. - The
import("prp")standard library provides methods for the basic types (Unsigned,Signed,String,Bool) and utility code like fifos. The utils must be imported but the basic types are imported by default. It is not implemented yet (TBD, see Standard Library and Implementation status).