Commit Graph

334 Commits

Author SHA1 Message Date
Tim 'mithro' Ansell
f44d6f3af6 Use diff-image on images.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-06-26 10:27:09 -07:00
Sean Cross
aacbc76542
Merge pull request #211 from daurnimator/zig
Update to zig 0.6.0
2020-05-12 18:44:43 +08:00
daurnimator
1f21272231
.gitattributes: zig files must have eol=lf 2020-05-10 22:23:50 +10:00
daurnimator
8f5f6edb03
get-toolchain.py: make to_download logic more reusable 2020-05-10 22:23:50 +10:00
daurnimator
79baffc5a9
Test riscv-zig-blink from CI 2020-05-10 22:23:49 +10:00
daurnimator
f4a22d822f
riscv-zig-blink: @breakpoint() now works 2020-05-10 17:39:50 +10:00
daurnimator
30ebefb429
riscv-zig-blink: update to new stream API 2020-05-10 17:39:50 +10:00
daurnimator
8389227998
riscv-zig-blink: update to new std.build.setTarget API 2020-05-10 17:39:50 +10:00
daurnimator
fa583f878a
riscv-zig-blink: update version to 0.6.0 2020-05-10 17:39:49 +10:00
Tim Ansell
a27a22d516
Merge pull request #213 from daniellimws/master
Fix link to sphinx_materialdesign_theme
2020-04-26 19:49:23 -07:00
Daniel Lim Wee Soong
c4c7a56c63 Fix link to sphinx_materialdesign_theme
Signed-off-by: Daniel Lim Wee Soong <weesoong.lim@gmail.com>
2020-04-27 10:44:32 +08:00
Sean Cross
1f77f08aca
Merge pull request #183 from pdp7/patch-1
Add example of changing LED color with wishbone-tool
2020-04-11 10:28:01 +08:00
Sean Cross
3dea09322f
Merge pull request #189 from antmicro/zephyr-path-fix
Update path to Zephyr
2020-03-13 20:51:24 +08:00
Piotr Zierhoffer
b7a7743d02
Update path to Zephyr
With regard to #179, we need to update the path to Zephyr binary in Renode.

It is not copy-paste ready, but now it's evident.

Unfortunately Renode does not have an option to reference $HOME.
2020-03-13 13:43:42 +01:00
Tim 'mithro' Ansell
60153b3792 Disable htmlzip creation. 2020-03-09 11:48:49 -07:00
Tim Ansell
1f12529bbe
Merge pull request #185 from ewenmcneill/docs-copy-paste
Tag documentation sessions with language for better copy'n'paste
2020-03-06 15:55:43 -08:00
Ewen McNeill
3d87f30e16 docs: Use 'session' instead of 'code' for better copy'n'paste 2020-03-07 11:47:03 +13:00
Ewen McNeill
a0c992335a docs: add shell-session to example sessions
For https://github.com/im-tomu/fomu-workshop/issues/144#issuecomment-595993657
mark the session types of examples so that the automagic copynpaste
handling knows how to figure out which parts to copy, rather than defaulting
to copying everything.
2020-03-07 11:42:23 +13:00
Drew Fustini
7bc4c070e3
Add examples of changing LED color with wishbone 2020-03-02 16:01:24 +01:00
Drew Fustini
27764eb651
Update address of fomu_rgb_output in csr.csv
I have a different address:
```
pdp7@x1:~/dev/fpga/fomu-workshop/litex/build$ cat csr.csv 
#--------------------------------------------------------------------------------
# Auto-generated by Migen (e2e6c72) & LiteX (f0b5c672) on 2020-03-02 15:51:45
#--------------------------------------------------------------------------------
csr_base,timer0,0x60002800,,
csr_base,fomu_rgb,0x60003000,,
csr_register,timer0_load,0x60002800,4,rw
csr_register,timer0_reload,0x60002810,4,rw
csr_register,timer0_en,0x60002820,1,rw
csr_register,timer0_update_value,0x60002824,1,rw
csr_register,timer0_value,0x60002828,4,ro
csr_register,timer0_ev_status,0x60002838,1,rw
csr_register,timer0_ev_pending,0x6000283c,1,rw
csr_register,timer0_ev_enable,0x60002840,1,rw
csr_register,fomu_rgb_output,0x60003000,1,rw
constant,config_clock_frequency,12000000,,
constant,config_cpu_type,none,,
constant,config_cpu_type_none,None,,
constant,config_csr_alignment,32,,
constant,config_csr_data_width,8,,
constant,config_shadow_base,2147483648,,
memory_region,csr,0x60000000,65536,cached
memory_region,sram,0x10000000,131072,cached

```
2020-03-02 15:56:16 +01:00
Sean Cross
fda6bed5ca renode-bridge: enable peripheral logging for sysbus.led
As per issue #182, logging output is only displayed when
`LogPeripheralAccess` is called on the particular peripheral.  This
patch adds this call to the setup script.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-02 21:09:00 +08:00
Sean Cross
2707926e8d renode-bridge: use wishbone-tool as the main bridge
litex is very volatile, and tends to reorganize its submodules.  This
can lead to confusion when doing a `git pull`.  For example:

https://github.com/im-tomu/fomu-workshop/issues/180

Additionally, instructions for running `litex_server.py` are different
depending on the platform.

This unifies the platforms by replacing `litex_server.py` with
`wishbone-tool`, which users will already have installed anyway.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-03-02 20:07:59 +08:00
Sean Cross
ae495b3ef6
Merge pull request #168 from daurnimator/zig
zig: update for current zig master version
2020-02-23 21:48:40 +08:00
daurnimator
0db81ccb9d
zig: update for current zig master version 2020-02-23 22:01:00 +11:00
Sean Cross
5148333026 Merge branch 'mainini-clean-verilog-pr' 2020-02-22 12:26:00 +08:00
Sean Cross
ae6d8ec85c Merge branch 'clean-verilog-pr' of https://github.com/mainini/fomu-workshop into mainini-clean-verilog-pr
Signed-off-by: Sean Cross <sean@xobs.io>
2020-02-22 12:25:42 +08:00
Sean Cross
b8ea3376b6
Merge pull request #135 from wom-bat/master
Note which python version to use building zephyr
2020-02-22 11:09:56 +08:00
Sean Cross
ed618b8e38
Merge pull request #141 from mainini/migen-example-pr
Add Migen example
2020-02-22 11:09:25 +08:00
Sean Cross
b054475b02
Merge pull request #167 from mibus/master
Minor doc tweaks
2020-02-22 11:08:27 +08:00
Tim Ansell
a81175b332
Merge pull request #164 from im-tomu/dependabot/submodules/litex/deps/litedram-9083822
build(deps): bump litex/deps/litedram from `690e4f8` to `9083822`
2020-02-21 18:09:07 -08:00
Tim Ansell
953b1880ec
Merge pull request #157 from im-tomu/dependabot/submodules/litex/deps/migen-e2e6c72
build(deps): bump litex/deps/migen from `562c046` to `e2e6c72`
2020-02-21 18:08:53 -08:00
Tim Ansell
1cf5ee8572
Merge pull request #118 from im-tomu/dependabot/submodules/litex/deps/litescope-daf10e9
build(deps): bump litex/deps/litescope from `2474ce9` to `daf10e9`
2020-02-21 18:08:29 -08:00
Tim Ansell
da0daaad06
Merge pull request #116 from im-tomu/dependabot/submodules/litex/deps/pyserial-3a6ae5a
build(deps): bump litex/deps/pyserial from `acab9d2` to `3a6ae5a`
2020-02-21 18:08:08 -08:00
Robert Mibus
473c95a887 Add some clarifying comments to migen instructions 2020-02-22 11:43:53 +11:00
Robert Mibus
cc57d6d852 Use bash for processing the Makefile, so that "source" works 2020-02-22 11:43:50 +11:00
Robert Mibus
c57eda7b1f Split up the documentation build instructions to make them easier to follow 2020-02-22 11:43:45 +11:00
Robert Mibus
f1f2a3e390 Update docs references from verilog-blink to verilog/blink-expanded 2020-02-22 11:43:37 +11:00
dependabot-preview[bot]
33d96c7796
build(deps): bump litex/deps/litedram from 690e4f8 to 9083822
Bumps [litex/deps/litedram](https://github.com/enjoy-digital/litedram) from `690e4f8` to `9083822`.
- [Release notes](https://github.com/enjoy-digital/litedram/releases)
- [Commits](690e4f848f...9083822a74)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-17 08:11:56 +00:00
Tim 'mithro' Ansell
75fdc5c5ad Fix some usage for .. code:: rather than .. session::. 2020-02-16 04:51:08 -08:00
Tim Ansell
3fa8997dba
Merge pull request #161 from ewenmcneill/docs-riscv-gdb
docs: Update wishbone-tool gdb port
2020-02-13 08:54:36 -08:00
Ewen McNeill
778ed4e2e1 docs: Update wishbone-tool gdb port
The wishbone-tool gdb port changed to 3333 at least by 2020-01-17 in
18a911e3b0
and possibly earlier.  Update example output/commands to match.
2020-02-13 20:15:33 +13:00
Tim Ansell
46102daff0
Merge pull request #160 from ewenmcneill/docs-riscv
docs: RISCV example: 2.0.3 firmware
2020-02-11 23:46:53 -08:00
Ewen McNeill
0ea42ea35c docs: RISCV example: 2.0.3 firmware
Update the RISCV wishbone-tool firmware version output example to match
the advice at the start of the tutorial to upgrade to version 2.0.3
firmware.
2020-02-12 20:28:14 +13:00
Tim Ansell
0b53ff2bbe
Merge pull request #159 from ewenmcneill/docs-python
docs: MicroPython example: 2.0.3 firmware
2020-02-11 23:12:06 -08:00
Ewen McNeill
f4bc01ecc3 docs: MicroPython example: 2.0.3 firmware
Update the MicroPython firmware version output example to match the advice to
match the advice at start of tutorial to upgrade to version 2.0.3 firmware.
2020-02-12 19:44:26 +13:00
dependabot-preview[bot]
74f650d99a build(deps): bump litex/deps/migen from 562c046 to e2e6c72
Bumps [litex/deps/migen](https://github.com/m-labs/migen) from `562c046` to `e2e6c72`.
- [Release notes](https://github.com/m-labs/migen/releases)
- [Commits](562c046644...e2e6c726c9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-10 08:13:28 +00:00
Sean Cross
53a62f8e52
Merge pull request #140 from daurnimator/zig
Add zig example
2020-01-28 13:44:54 +08:00
daurnimator
6a60a7a83d
Add zig example 2020-01-28 01:21:31 +11:00
Pascal Mainini
e840ea5e36 remove unnecessary branch information 2020-01-23 12:13:03 +01:00
Pascal Mainini
705ebb2573 more formatting fixes 2020-01-23 12:12:22 +01:00