Commit Graph

4068 Commits

Author SHA1 Message Date
Florent Kermarrec b166882308 build/microsemi/libero_soc: use die/package/speed from platform.device and add tcl_name helper 2018-11-23 08:26:31 +01:00
Florent Kermarrec 9df75d7d63 platforms/avalanche: add package/speed to platform.device 2018-11-23 08:24:29 +01:00
Florent Kermarrec 953b1f70df build/microsemi/libero_soc: remove previous impl directory if exists 2018-11-23 08:11:57 +01:00
Florent Kermarrec 18d513a146 build/microsemi/libero_soc: give better names to pdc files: io/fp 2018-11-23 08:03:55 +01:00
Florent Kermarrec 4f092dbe35 build/microsemi/libero_soc: add additional_constraints 2018-11-22 18:40:19 +01:00
Florent Kermarrec 206c9a4697 platforms/avalanche: fix ddram dq7 2018-11-22 18:13:33 +01:00
Florent Kermarrec f003407776 build/microsemi/libero_soc: add {} around port name. 2018-11-22 17:37:03 +01:00
Florent Kermarrec beeca856e5 utils/litex_read_verilog: fix generated indent on instance 2018-11-22 17:33:46 +01:00
Florent Kermarrec 1fe7d09fb5 soc/integration/soc_core: add csr_map_update function 2018-11-21 08:39:52 +01:00
Tim Ansell ab799f7bd7
Merge pull request #127 from cr1901/picorv32-data
libbase/crt0-picorv32: Add support for .data sections.
2018-11-20 21:15:50 -08:00
William D. Jones 89c702187a libbase/crt0-picorv32: Add support for .data sections. 2018-11-21 00:13:13 -05:00
Florent Kermarrec 80bdae0e55 build/sim/verilator: add trace parameter to enable tracer 2018-11-20 18:54:22 +01:00
Florent Kermarrec 7359a99bf9 soc_core: convert cpu_type="None" string to None 2018-11-20 17:45:11 +01:00
Florent Kermarrec 5805d63013 build/microsemi/libero_soc: only associate timings constraint to timing check (otherwise we loose io constraints...), use default settings for place & route 2018-11-19 16:36:30 +01:00
Florent Kermarrec 85f7666207 build/microsemi/common: add async reset synchronizer (using DFN1P0) 2018-11-19 15:35:59 +01:00
Florent Kermarrec e3c6bd5846 build/microsemi/libero_soc: pass timing constraints to synthesis, place & route and timing verification tools 2018-11-19 12:50:07 +01:00
Florent Kermarrec 4c966114f8 build/microsemi/libero_soc: add timing constraints support 2018-11-19 09:40:16 +01:00
Florent Kermarrec 60faae490a boards/platforms/avalanche: fix swapped serial pins 2018-11-19 08:45:55 +01:00
Florent Kermarrec 52396add5d boards/platforms/avalanche: rename rst to rst_n (active low reset) 2018-11-19 08:14:46 +01:00
Florent Kermarrec 8e07e1a099 build/microsemi/libero_soc: associate .pdc to place and route tool.
For constraint to be applied, we also to associate them with the tool that will use it.
2018-11-19 08:07:36 +01:00
Florent Kermarrec 5137c2bf88 test/test_targets: update 2018-11-17 17:36:57 +01:00
Florent Kermarrec a5ed42ec68 soc/interconnect/stream: add Gearbox 2018-11-17 17:29:45 +01:00
Florent Kermarrec 11d536dc4d test: remove test_bitslip (integrated in migen) 2018-11-17 17:29:09 +01:00
Florent Kermarrec a25645afa6 utils: add litex_read_verilog utility
generate Migen's modules from verilog files
2018-11-16 16:09:44 +01:00
Florent Kermarrec a538d36268 create utils directory and move the litex utils to it 2018-11-16 14:37:19 +01:00
Florent Kermarrec 45ec78e93a build/microsemi/libero_soc: able to generate design script (tcl) and design constraint (pdc) for libero soc / avalanche board. 2018-11-16 12:19:03 +01:00
Florent Kermarrec 4cb6583b4e build: add microsemi template for polarfire fpgas support 2018-11-15 18:21:41 +01:00
Tim Ansell bc173380f2
Merge pull request #126 from mithro/toolchain-fix
lattice/icestorm: Add toolchain_path so it doesn't end up kwargs.
2018-11-13 16:20:57 -08:00
Tim 'mithro' Ansell b1425ba85f lattice/icestorm: Add toolchain_path so it doesn't end up kwargs.
Fixes the following error;
```
make[1]: Leaving directory `/home/travis/build/mithro/litex-buildenv/build/ice40_hx8k_b_evn_base_lm32.lite/software/stub'
Traceback (most recent call last):
  File "./make.py", line 164, in <module>
    main()
  File "./make.py", line 148, in main
    vns = builder.build(**dict(args.build_option))
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/soc/integration/builder.py", line 171, in build
    toolchain_path=toolchain_path, **kwargs)
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/soc/integration/soc_core.py", line 389, in build
    return self.platform.build(self, *args, **kwargs)
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/platform.py", line 29, in build
    return self.toolchain.build(self, *args, **kwargs)
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/icestorm.py", line 139, in build
    v_output = platform.get_verilog(fragment, name=build_name, **kwargs)
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/lattice/platform.py", line 26, in get_verilog
    **kwargs)
  File "/home/travis/build/mithro/litex-buildenv/third_party/litex/litex/build/generic_platform.py", line 368, in get_verilog
    create_clock_domains=False, **kwargs)
TypeError: convert() got an unexpected keyword argument 'toolchain_path'
```
2018-11-13 16:18:08 -08:00
Florent Kermarrec af25bf2bc0 soc_core: check for cpu before checking interrupt 2018-11-13 16:17:49 +01:00
Florent Kermarrec b4bdf2a023 cores/clock/S7: just reset the generated clock, not the PLL/MMCM 2018-11-13 14:47:04 +01:00
Florent Kermarrec 86fd945bc3 bios/main: fix typo on mor1kx 2018-11-13 11:16:06 +01:00
Florent Kermarrec af95028574 cpu/mor1kx: use clang only for linux variant 2018-11-13 11:09:39 +01:00
Florent Kermarrec 04523bc28a xilinx/vivado: fix migen merge 2018-11-12 16:31:51 +01:00
Florent Kermarrec f3343c46fc platforms: remove versaecp55g_sdram 2018-11-12 12:45:33 +01:00
Florent Kermarrec 58414b1819 build/xilinx/vivado: merge migen change 2018-11-12 12:00:30 +01:00
Florent Kermarrec a7f17f9915 build: use default toolchain_path on all backend when passed value is None 2018-11-12 11:48:30 +01:00
Florent Kermarrec eed1d5cb2e generic_platform: use set for sources 2018-11-12 11:47:39 +01:00
Florent Kermarrec 665fff8390 build: merge more migen changes 2018-11-12 11:26:35 +01:00
Florent Kermarrec 70f48775de platforms/versa_ecp5: import migen changes 2018-11-12 10:52:28 +01:00
Florent Kermarrec 4ff241b981 targets/ulx3s,versa_ecp5: prjtrellis toolchain renamed to trellis 2018-11-12 10:47:33 +01:00
Florent Kermarrec cb86728ad1 build/lattice: import changes from migen 2018-11-12 10:46:49 +01:00
Florent Kermarrec 8574c62f75 targets/versa_ecp5: increase sys_clk_freq to 50MHz 2018-11-12 10:12:10 +01:00
Florent Kermarrec a752dafb14 targets: add versa_ecp5 with sdram (ecp5 soc hat) at 25MHz/no pll 2018-11-12 09:45:59 +01:00
Florent Kermarrec 87c7d23d16 targets/ulx3s: for now revert to 25MHz clock/no pll 2018-11-12 09:44:32 +01:00
Florent Kermarrec d1baae36a6 platforms/versa_ecp5: add ecp5 soc hat ios 2018-11-12 09:43:31 +01:00
Florent Kermarrec b3bf1c9517 Merge branch 'master' of http://github.com/enjoy-digital/litex 2018-11-12 08:12:07 +01:00
enjoy-digital 1be6762dfe
Merge pull request #125 from daveshah1/trellis_sdram
ecp5 soc hat wip
2018-11-12 08:11:57 +01:00
Florent Kermarrec 425ad755ec plarforms: rename versa/versaecp55g to versa_ecp3/versa_ecp5 2018-11-12 08:06:22 +01:00
Florent Kermarrec c57aa545ca targets/ulx3s: get memtest working by disabling sdram refresh
Will need to be fixed...
2018-11-09 18:40:14 +01:00