Commit Graph

358 Commits

Author SHA1 Message Date
umarcor
f1b487dd23 readme: requirements step to local build 2020-10-05 05:13:38 +02:00
umarcor
1b1e85dfdd readme: fix list spacing 2020-10-05 05:13:14 +02:00
umarcor
a33eee4f94 sphinxcontrib-verilog-diagrams was renamed to sphinxcontrib-hdl-diagrams 2020-10-05 05:00:50 +02:00
Sean Cross
d7119d0719
Merge pull request #284 from tcal-x/fix_v_blink
Fix references to "verilog/blink" vs "verilog/blink-expanded".
2020-08-08 13:35:59 +08:00
Sean Cross
050eea6cf0
Merge pull request #283 from tcal-x/fixes
Don't mix assignment styles in the same Verilog block.
2020-08-08 13:35:18 +08:00
Tim Callahan
c06186bae2 Make changes analogous to those in verilog.rst.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-08-07 16:43:59 -07:00
Tim Callahan
4576adc02d Fix references to "verilog/blink" vs "verilog/blink-expanded".
"blink" cycles through 8 colors.  "blink-expanded" responds to inputs.

Signed-off-by: Tim Callahan <tcal@google.com>
2020-08-07 16:04:40 -07:00
Tim Callahan
8da1ae0e7a Don't mix assignment styles in the same Verilog block.
Signed-off-by: Tim Callahan <tcal@google.com>
2020-08-07 15:23:52 -07:00
Sean Cross
0955f4031c riscv-rust-blink: fix compatibility with nightly rust
When using Nightly, the compiler uses inline ASM. However, the ASM
syntax changed (nightly is, after all, unstable).

As a result, dependent crates no longer built.

Furthermore, dependent crates (notably `vexriscv`) changed their
behavior.

This fixes all of that by bumping version numbers as necessary.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 18:17:36 +08:00
Sean Cross
ab33fe5653 litex: workshop: correct name of output files
The output filenames have changed from `top.bin` to be versioned based
on the hardware device.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 15:46:00 +08:00
Sean Cross
abd2b9a07a litex: workshop: specify new path to fomu board
It's moved from `partner` to ``.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 15:35:55 +08:00
Sean Cross
970091a1bc litex: deps: update to latest litex
This is required to get `litex_boards` to work.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 15:35:03 +08:00
Sean Cross
e843f23d48 litex: deps: sync latest litex_boards repo
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 15:34:21 +08:00
Sean Cross
59f5d813f3 riscv-rust-blink: update fomu-rt to fix build size
The build size blew up, because the stack was getting included in the
output binary resulting in a 256 MB binary.

Update to fomu-rt v0.0.5 which should fix this problem.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 10:03:37 +08:00
Sean Cross
2423bc106d rust: fix build warnings in rgb.rs
Rust doesn't like supurfluous parens.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 09:24:56 +08:00
Sean Cross
5e757cce3f litex: sync with upstream builds
Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 09:06:39 +08:00
Sean Cross
b27a4760fe
Merge pull request #265 from PERLUR/add_i18n_support
Add i18n support
2020-07-21 13:54:06 +08:00
Mark Stopka
5a43877618 Add initial gettext pot files (EN) 2020-07-18 06:35:38 +02:00
Mark Stopka
5985d6b9be Remove doctrees from gettext Makefile target 2020-07-18 06:30:16 +02:00
Mark Stopka
a13c5747a4 Add i18n support using sphinx-intl 2020-07-18 06:21:47 +02:00
Tim Ansell
810431e81a
Merge pull request #252 from mithro/master
Remove the symbiflow links.
2020-06-27 15:53:13 -07:00
Tim 'mithro' Ansell
cb51ce69c4 Remove the symbiflow links. 2020-06-27 15:42:42 -07:00
Tim Ansell
a63933551e
Merge pull request #251 from mithro/master
Make logo image transparent
2020-06-26 11:01:01 -07:00
Tim 'mithro' Ansell
2bb41418b6 Make logo have a transparent background.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-06-26 10:28:02 -07:00
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