soc/add_cpu: use cpu.data_width as CSR alignment, fix regression on Rocket
[litex.git] / LICENSE
1 LiteX is a FPGA design/SoC builder that can be used to build cores, create
2 SoCs and full FPGA designs.
3
4 LiteX is based on Migen/MiSoC and provides specific building/debugging tools
5 for a higher level of abstraction and compatibily with the LiteX core ecosystem.
6
7 Unless otherwise noted, LiteX is copyright (C) 2012-2020 Enjoy-Digital.
8 Unless otherwise noted, MiSoC is copyright (C) 2012-2015 Enjoy-Digital.
9 Unless otherwise noted, MiSoC is copyright (C) 2007-2015 M-Labs Ltd.
10 All rights reserved.
11
12 Redistribution and use in source and binary forms, with or without modification,
13 are permitted provided that the following conditions are met:
14
15 1. Redistributions of source code must retain the above copyright notice, this
16 list of conditions and the following disclaimer.
17 2. Redistributions in binary form must reproduce the above copyright notice,
18 this list of conditions and the following disclaimer in the documentation
19 and/or other materials provided with the distribution.
20
21 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
25 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
28 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
32
33 Other authors retain ownership of their contributions. If a submission can
34 reasonably be considered independently copyrightable, it's yours and we
35 encourage you to claim it with appropriate copyright notices. This submission
36 then falls under the "otherwise noted" category. All submissions are strongly
37 encouraged to use the two-clause BSD license reproduced above.