Skip to content

pku-liang/origen_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Origen Examples

This repos is the examples used in ASPDAC 2025 AHS tutorial, LLM part.

Adder

This is an example to generate an adder with LLM.

  • prompt: steps to generate the correct code
    • 1.txt
    • 2.txt
  • hw: the generated hardware in FIR format
  • tb.cpp: a ksim testbench
  • other: scripts to run ksim

GeMM

This is an example to generate an GeMM Accelerator and its testbench both with LLM. Due to time limit we have pre-generated the code for you.

  • kernel: the GeMM kernel
    • code: pre-generated codes of each step
    • prompts
    • demo_gemm.sv: the final generated version
  • testbench: the testbench for GeMM
    • code
    • promt
    • demo_tb.sv: the final generated version
  • utils
    • lib.sv: other modules as library
  • makefile: script to run ksim

About

Examples for the ASH tutorial, Origen part

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published