@@ -6,12 +6,12 @@ Lambdalib includes the following hardware categories:
66
77| Category | Description |
88| -------------------------------------| ---------------------------------------|
9- |[ stdlib] ( lambdalib/stdlib/rtl ) | Standard cells (inv, nand, ff, ...)
10- |[ auxlib] ( lambdalib/auxlib/rtl ) | Aux cells can consist of multiple standard cells or physical only cells
9+ |[ stdlib] ( lambdalib/stdlib/rtl ) | Standard library cells (inv, nand, ff, ...)
10+ |[ auxlib] ( lambdalib/auxlib/rtl ) | Special library cells (antenna, decap, clkmux,...)
1111|[ ramlib] ( lambdalib/ramlib/rtl ) | Memory (single port, dual port, fifo, ...)
1212|[ iolib] ( lambdalib/iolib ) | IO cells (bidir, vdd, clamp,...)
1313|[ padring] ( lambdalib/padring ) | Padring generator
14- |[ vectorlib] ( lambdalib/vectorlib /rtl ) | Vectorized library (mux, isolation)
14+ |[ vectorlib] ( lambdalib/vecib /rtl ) | Vectorized library (mux, isolation)
1515|[ fpgalib] ( lambdalib/fpgalib/rtl ) | FPGA cells (lut4, ble, clb)
1616
1717The [ Lambdapdk] ( https://github.com/siliconcompiler/lambdapdk ) repository demonstrates implementation of the Lambdalib interfaces across a number of open source process technologies.
@@ -28,11 +28,37 @@ python3 -m pip install -e . # Local install
2828python3 -m pip install -e .[docs,test] # Optional step for generating docs and running tests
2929```
3030
31- # Project Methodology
31+ # Examples
32+
33+ The following example illustrate lambdalib use models
34+
35+ ## Instantiating a Lambdalib module
36+
37+ This example shows how to instatiate the Padring module in a top level chip design.
38+ We could have chosen any module to instantiate (inverter, flip flop, dual port ram...).
39+
40+
41+ ``` python
42+ ```
43+
44+ To convert the design into a gate level netlist using yosys, just run python script
45+ in the examples folder. A file ` chip.vg ` will be written to disk in the run directory.
3246
33- - One verilog module per rtl file
34- - Class names are all lower case with the Verilog module prefix "la_ " removed.
47+ ``` bash
48+ $ python examples/padring/make.py
49+ ```
50+
51+ ## Using SiliconCompiler to target a technology
52+
53+ ``` python
54+ ```
55+
56+
57+ # Project Methodology
3558
59+ - One verilog module per RTL file
60+ - One Python module per reusable module
61+ - Class names are RTL module names with "la_ " removed and capitalized
3662
3763# License
3864
0 commit comments