<commit_before># coming-soon
[![Gitlab
CI](https://gitlab.com/black-parrot/pre-alpha-release/badges/dev_feature_ci/build.svg)](https://gitlab.com/black-parrot/pre-alpha-release/pipelines)

Black Parrot is coming soon.

To setup the repo:
```
  make tools roms
```

This will pull external submodule dependencies as well as make all test roms and trace roms. This may take a while, especially to build riscv-gnu-toolchain if needed. But you only have to run this once.

Each module has a synthesizable trace-replay-based testbench found in bp\_\*/test/tb/. These testbenches can either be run with VCS or Verilator. Tests will produce results in module/syn/reports and logs in module/syn/logs
```
make ROM_NAME=<rom from test/rom/v/> run.<tool>
```

For instance, 

```
make ROM_NAME=median_rom run.v
make ROM_NAME=median_rom run.v
make ROM_NAME=median_rom run.sc
make ROM_NAME=median_rom run.sc
```<commit_msg>Fixing badge in README<commit_after># coming-soon
[![Gitlab
CI](https://gitlab.com/black-parrot/pre-alpha-release/badges/dev/build.svg)](https://gitlab.com/black-parrot/pre-alpha-release/pipelines)

Black Parrot is coming soon.

To setup the repo:
```
  make tools roms
```

This will pull external submodule dependencies as well as make all test roms and trace roms. This may take a while, especially to build riscv-gnu-toolchain if needed. But you only have to run this once.

Each module has a synthesizable trace-replay-based testbench found in bp\_\*/test/tb/. These testbenches can either be run with VCS or Verilator. Tests will produce results in module/syn/reports and logs in module/syn/logs
```
make ROM_NAME=<rom from test/rom/v/> run.<tool>
```

For instance, 

```
make ROM_NAME=median_rom run.v
make ROM_NAME=median_rom run.v
make ROM_NAME=median_rom run.sc
make ROM_NAME=median_rom run.sc
```
{'fraction_non_alphanumeric': 0.10451045104510451, 'fraction_numerical': 0.0, 'mean_word_length': 4.512121212121212, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3447196', 'n_tokens_mistral': 627, 'n_tokens_neox': 581, 'n_words': 203}