Update README.md
1 file changed
tree: 45ba9eb63301c06736a55e5fc27fa3328f1f0398
  1. def/
  2. docs/
  3. gds/
  4. lef/
  5. mag/
  6. maglef/
  7. openlane/
  8. sdc/
  9. sdf/
  10. signoff/
  11. spef/
  12. spi/
  13. verilog/
  14. LICENSE
  15. Makefile
  16. README.md
README.md

Caravel User Project

License UPRJ_CI Caravel Build

Tensor calculation using NNgen

This project uses NNgen https://github.com/NNgen/nngen to generate a simple tensor calculation. Code is as follows

a = ng.placeholder(ng.int8, shape=(1), name=‘a’)

b = ng.placeholder(ng.int8, shape=(1), name=‘b’)

c = ng.add(a, b, dtype=ng.int8, name=‘c’)

rtl = ng.to_verilog([c], ‘Basic’, silent=False)