Commit Graph

12 Commits

Author SHA1 Message Date
Kamil Rakoczy f57cce19ff Remove not existing file from vivado.tcl
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
2021-08-27 15:27:02 +02:00
Joseph Rahmeh ec254f5491 Version 1.9. 2021-01-27 09:36:43 -08:00
Joseph Rahmeh 5e613582c2 New branch: branch1.8 2020-09-18 13:34:02 -07:00
jrahmeh 27507b79a1
Merge pull request #49 from dawidzim/enum_from_diff_type
fix for assignment to enum variable from expression of different type
2020-05-27 08:38:13 -05:00
Joseph Rahmeh 6b1e5ded3a Version 1.6 2020-05-15 11:28:59 -07:00
Dawid Zimonczyk cc6285eb3b remove unnecessary switch from vlog 2020-04-02 16:38:56 +02:00
Daniel Mlynek 040d2807c9 Fix Riviera -l switch 2020-02-27 09:59:42 +01:00
danielmlynek 0070c22195
Merge branch 'master' into make_for_riviera 2020-02-25 16:53:53 +01:00
Olof Kindgren 63e74e2391 Add initial FuseSoC support
This adds support for using SweRV with FuseSoC. For SweRV itself, it allows linting with verilator running simulations with the provided testbench using most available simulators and doing synthesis for resource usage analysis with Vivado. It also allows SweRV to be integrated into FuseSoC-built SoCs, such as [SweRVolf](https://github.com/chipsalliance/Cores-SweRVolf)

**Quickstart**

1. Install [FuseSoC](https://github.com/olofk/fusesoc) and Verilator
2. Create an empty workspace directory. All subsequent commands are run from this directory
3. Add SweRV as FuseSoC library `fusesoc library add swerv https://github.com/chipsalliance/Cores-SweRV`
4. Run linting with Verilator `fusesoc run --target=lint chipsalliance.org:cores:SweRV_EH1`
5. Run testbench with default simulator (Verilator) `fusesoc run --target=sim chipsalliance.org:cores:SweRV_EH1`
6. Run testbench with another supported simulator (e.g. ModelSim) `fusesoc run --target=sim --tool=modelsim chipsalliance.org:cores:SweRV_EH1`
7. Run synthesis with Vivado `fusesoc run --target=synth chipsalliance.org:cores:SweRV_EH1`

* configs/swerv_config_gen.py is a wrapper around `configs/swerv.config` to dynamically create a SweRV configuration by setting parameters in the FuseSoC .core file
* swerv.core is the FuseSoC core description file
* tools/vivado.tcl marks `common_defines.vh` as a global include file when using Vivado
2020-02-24 21:28:54 +01:00
Joseph Rahmeh b65d4dd8f1 Version 1.5 2020-02-19 18:25:04 -08:00
danielm 6ca86d86a9 makefile updated for ALDECs riviera 2019-12-12 08:45:34 +01:00
Joseph Rahmeh c0f7e509cc SweRV 1.1 2019-06-04 07:57:48 -07:00