Skip to content

Commit

Permalink
Added Fusesoc info in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
klasnordmark committed May 11, 2021
1 parent 52025a7 commit 13a01db
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,33 @@ one round takes one cycle. The overhead latency cost when using the top
level wrapper is three, which means that with eight rounds the total
latency is 11 cycles. For ChaCha20 the latency is 23 cycles.

## FuseSoC
This core is supported by the
[FuseSoC](https://github.com/olofk/fusesoc) core package manager and
build system. Some quick FuseSoC instructions:

#install FuseSoC
pip install fusesoc

#Create and enter a new workspace
mkdir workspace && cd workspace

#Register aes as a library in the workspace
fusesoc library add chacha /path/to/aes
#...if repo is available locally or...
#...to get the upstream repo
fusesoc library add chacha https://github.com/secworks/chacha

#Run tb_chacha testbench
fusesoc run --target=tb_chacha secworks:crypto:chacha

#Run with modelsim instead of default tool (icarus)
fusesoc run --target=tb_chacha --tool=modelsim secworks:crypto:chacha

#List all targets
fusesoc core show secworks:crypto:aes



## Implementation results##

Expand Down

0 comments on commit 13a01db

Please sign in to comment.