Skip to content

mumupika/attention_verilog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attention Verilog Homework

This repository is for completing an easy self-attention model by verilog. I want stars But no one gives stars to me QAQ

Golden model

For Golden model, this is for checking the results of the hardware output. To see the results, do as follows:

cd golden_model
make && ./main 1 2 3 # (query: 1, key: 2, value: 3)
# or using:
# make && ./main 1 (seed will be: 1 2 3)
# or using:
# make && ./main (default seed: 1 2 3)
make clean

QuestaSim Simulation Display

Screenshot 2024-12-30 at 13 49 58

If you have any problem when using Questasim, try delete all `include line in the files.

About

The golden model and the verilog model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published