fusesoc library add alu https://github.com/adithyasunil26/basejump_stl_alu
Note: BaseJumpSTL core library must be present in order to run this core. Use following command to add BaseJump cores.
fusesoc library add basejump https://github.com/adithyasunil26/basejump_stl_cores
Note: bsg_fakeram core library must be present in order to use the generator. Use following command to add to add bsg_fakeram geenrator core.
fusesoc library add bsg_fakeram https://github.com/adithyasunil26/bsg_fakeram_generator
For linting
fusesoc run --target lint alu
For verilator testbench
fusesoc run --target verilator_tb alu
For linting
fusesoc run --target lint alu_with_ram
For verilator testbench
fusesoc run --target verilator_tb alu_with_ram
Before running the fusesoc run commands, open the core file present in your fusesoc_libraries directory which will be created on executing the library add
command and edit the path_to_cfg
value to match the path to the mentioned file in your file system.
- Navigate to the core file using:
cd fusesoc_libraries/alu/alu_with_sram/
- Open the
alu_with_sram.core
file and changepath_to_cfg
to path of config file you wish to use - Return to original directory with
cd ../../..
Now you can use the core with the commands mentioned above.