1
0
mirror of synced 2026-03-09 03:49:24 +00:00

cleanup, missing accel in do

This commit is contained in:
Romain Dolbeau
2023-09-23 10:07:51 +02:00
parent da84b93d23
commit c41b655d40
3 changed files with 18 additions and 5 deletions

View File

@@ -267,8 +267,8 @@ class CG6Accel(Module): # AutoCSR ?
#timeout_rst = 0xFFFFFFF
#timeout = Signal(28, reset = timeout_rst)
pad_SBUS_DATA_OE_LED = platform.request("SBUS_DATA_OE_LED")
self.comb += pad_SBUS_DATA_OE_LED.eq(~local_reset)
#pad_SBUS_DATA_OE_LED = platform.request("SBUS_DATA_OE_LED")
#self.comb += pad_SBUS_DATA_OE_LED.eq(~local_reset)
#self.comb += pad_SBUS_DATA_OE_LED.eq(fbc_r5_cmd[1]) # blitting
#self.comb += pad_SBUS_DATA_OE_LED.eq(fbc_pm != 0) # planemasking
#self.comb += pad_SBUS_DATA_OE_LED.eq(fifo_overflow)

View File

@@ -3,7 +3,7 @@ source /opt/Xilinx/Vivado/2020.1/settings64.sh
export LD_LIBRARY_PATH=/opt/Xilinx/Vivado/2020.1/lib/lnx64.o/SuSE
export PYTHONPATH=deps/gateware:$PYTHONPATH
python3 sbus_to_fpga_soc.py --build --csr-csv csr.csv --csr-json csr.json --variant=ztex2.13a --version=V1.3 --sys-clk-freq 100e6 --trng --usb --sdram --i2c --goblin --cg3-res 1920x1080@60Hz
python3 sbus_to_fpga_soc.py --build --csr-csv csr.csv --csr-json csr.json --variant=ztex2.13a --version=V1.3 --sys-clk-freq 100e6 --trng --usb --sdram --i2c --goblin --cg3-res 1920x1080@60Hz --jareth
) 2>&1 | tee build_V1_3.log
# --trng

View File

@@ -103,8 +103,21 @@ h# 61a80 encode-int " bus-speed" property
finish-device
finish-device
new-device
h# -1 constant sfra_jareth-regs
h# 0 constant goblin-has-jareth
headers
-1 instance value goblin_accel-virt
my-address constant my-sbus-address
my-space constant my-sbus-space
: map-in ( adr space size -- virt ) " map-in" $call-parent ;
: map-out ( virt size -- ) " map-out" $call-parent ;
: map-in-jareth ( -- )
my-sbus-address sfra_goblin_accel + my-sbus-space h# 1000 map-in to goblin_accel-virt
;
: map-out-jareth ( -- )
goblin_accel-virt h# 1000 map-out
;
h# 1 constant goblin-has-jareth
fload goblin_jareth_define.fth
fload goblin_jareth_init.fth
: openbios-video-width
h# 780
;