Sebastien Bourdeauducq
75d927e080
Revert "Sort constants in csr generation."
...
This reverts commit d628c147ec
.
2015-09-28 20:40:31 +08:00
Tim 'mithro' Ansell
d628c147ec
Sort constants in csr generation.
...
Previously the order of constant output depended on Python's hashing order
which changes every run. This caused the file to change every run.
With this change the csr.h file will always be the same. This can be verified
this with the following;
```bash
CSR=software/include/generated/csr.h
for i in 1 2 3 4 5 6; do
rm -f $CSR; python make.py build-headers
cp $CSR $CSR.$i
done
md5sum $CSR.*
```
2015-09-27 11:04:28 +08:00
Sebastien Bourdeauducq
4fe0f6017c
Revert "Use shutil rather then rm -rf command."
...
This reverts commit d8fd4fe725
.
2015-09-26 21:55:11 +08:00
Tim 'mithro' Ansell
d8fd4fe725
Use shutil rather then rm -rf command.
2015-08-13 14:54:58 +08:00
Tim 'mithro' Ansell
eeda704462
Use shell for globbing in clean.
2015-08-13 14:54:58 +08:00
Tim 'mithro' Ansell
d00e774986
All commands run should be checked.
2015-08-13 14:54:58 +08:00
Florent Kermarrec
6c13879fb6
make.py: use sys.path.insert(0...) to allow external designs to have specific targets derived from a base target
2015-07-13 17:25:50 +02:00
Florent Kermarrec
01ba965d0c
global: pep8 (E401)
2015-04-13 16:56:25 +02:00
Florent Kermarrec
f68423f423
global: pep8 (E302)
2015-04-13 16:47:22 +02:00
Florent Kermarrec
d9e09707ae
global: pep8 (replace tabs with spaces)
2015-04-13 16:19:55 +02:00
Sebastien Bourdeauducq
3a2b677f85
soc,cpuif: support user defined constants
2015-04-09 00:34:36 +08:00
Sebastien Bourdeauducq
8b41ab3a5f
make: add target in build names
2015-04-06 23:53:04 +08:00
Sebastien Bourdeauducq
85b3cced22
use str.format
2015-04-03 17:43:46 +08:00
Sebastien Bourdeauducq
875abdeb8d
make.py: use os.path.join
2015-04-03 16:00:07 +08:00
Sebastien Bourdeauducq
369086a178
soc: simplify integrated memory parameters
2015-04-02 00:09:38 +08:00
Sebastien Bourdeauducq
9599eb6fae
soc: remove cpu_boot_file argument
2015-04-01 17:32:45 +08:00
Sebastien Bourdeauducq
fb86445d14
soc: remove cpu_or_bridge and with_cpu arguments
2015-04-01 17:29:51 +08:00
Sebastien Bourdeauducq
a148af97ba
soc: retrieve csr and memory regions using methods
2015-04-01 16:49:32 +08:00
Florent Kermarrec
c55199deb9
misoclib/soc: add _integrated_ to cpu options to avoid confusion
2015-03-21 20:51:37 +01:00
Florent Kermarrec
9210272356
sdram: pass phy_settings to LASMIcon, MiniCON and init_sequence
2015-03-03 09:23:21 +01:00
Sebastien Bourdeauducq
69a0c597ad
make.py: use ternary getattr
2015-03-02 23:54:00 +00:00
Florent Kermarrec
69e869893d
remane GenSoC to SoC (more coherent and we will add support for multiple SoCs with their own Wisbbone/CSR buses in the future)
2015-02-28 11:36:15 +01:00
Florent Kermarrec
2c51adcd68
misoclib: better organization (create cores categories: cpu, mem, com, ...)
2015-02-28 09:40:44 +01:00
Florent Kermarrec
f1200d6388
gensoc: move I/O for rom initialization to make.py
2015-02-27 19:48:07 +01:00
Florent Kermarrec
cb38580400
make.py fix indent
2015-02-27 18:58:36 +01:00
Florent Kermarrec
07b9cabd0d
gensoc: make it more generic (a SoC does not necessarily have a CPU)
2015-02-27 16:39:00 +01:00
Florent Kermarrec
e4de5a0c9d
make.py: avoid some actions in make all (do not flash if load-bitstream is specified or if bios is in blockram)
2015-02-27 10:23:17 +01:00
Florent Kermarrec
554731ae44
targets/simple: make it generic (no default_platform, use platform's default_clk_name/default_clk_period)
2015-02-26 13:08:15 +01:00
Florent Kermarrec
4c9554b65c
gensoc: call do_exit after SoC is built
2015-02-18 10:38:14 -07:00
Sebastien Bourdeauducq
aac34f011f
gensoc: support user-defined CSR regions
2014-11-30 22:29:26 +08:00
Yann Sionneau
cf92821fcf
Refactor directory hierarchy of sdram phys and controllers
2014-11-27 22:09:10 +08:00
Florent Kermarrec
34ed315a48
remove trailing whitespaces
2014-10-17 17:14:40 +08:00
Florent Kermarrec
3eabec28cd
make.py: add set_flash_proxy_dir to flash-bios
2014-08-22 15:04:50 +08:00
Sebastien Bourdeauducq
3a960e9e6a
flash_extra: use new programmer
2014-08-09 14:39:38 +08:00
Sebastien Bourdeauducq
a6c55d8dde
make.py: do not use prog.needs_flash_proxy
2014-08-09 14:38:56 +08:00
Florent Kermarrec
62c9043d07
move programmer to mibuild
2014-08-01 08:03:53 +08:00
Sebastien Bourdeauducq
e5ca0c5ed5
make.py: add platform-option
2014-06-07 13:43:23 +02:00
Florent Kermarrec
1dcbb077fd
make.py: init bios memory in build-bitstream action otherwise it is not possible to run clean or build-csr-csv or build-headers without build-bios
2014-05-21 21:16:06 +02:00
Sebastien Bourdeauducq
1c08aeb21c
Initial mor1kx (OpenRISC) support
...
Based on milkymist-ng-mor1kx by Stefan Kristiansson
2014-05-14 10:24:56 +02:00
Florent Kermarrec
87a78bc059
make.py: add missing --csr_csv argument
2014-05-01 13:31:57 +02:00
Florent Kermarrec
ea4b82e2ab
define platform.soc_ext_path when --external argument is used (to use it to include verilog files in the external target)
2014-04-18 14:56:56 +02:00
Florent Kermarrec
1adceb8276
sdramphy: move and clean up s6ddrphy, add generic SDRAM PHY
2014-04-17 19:38:25 +02:00
Florent Kermarrec
2fca8d41f2
programmer: add USBBlaster and use platform.bitstream_ext in make
2014-04-17 19:32:46 +02:00
Florent Kermarrec
97311fc211
make: add clean action
2014-04-17 19:32:31 +02:00
Sebastien Bourdeauducq
9e784fc82c
Generate mem.h from SoC description
2014-02-21 17:55:05 +01:00
Sebastien Bourdeauducq
fce46ac0ca
Simplify use of external targets/platforms/cores + add default platform in targets
2014-02-16 14:51:52 +01:00
Sebastien Bourdeauducq
f7fa9cf11e
make.py: support setting flash proxy directory
2014-02-15 14:13:25 +01:00
Sebastien Bourdeauducq
f55943ae18
new action syntax for make.py + support xc3sprog
2014-02-15 14:01:50 +01:00
Sebastien Bourdeauducq
ba46cd3da1
make.py: update description
2013-12-12 23:16:59 +01:00
Sebastien Bourdeauducq
860f27300f
make: add decorator option
2013-12-12 17:37:46 +01:00