summaryrefslogtreecommitdiff
path: root/platform/wavelet3d/mod.mk
blob: 153f9c74a333d505c328bd3c06c7137b2c293cc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
cores := gfx_shader_schedif

define core
  $(this)/deps := axixbar fp_unit gfx_shader_schedif picorv32

  $(this)/rtl_top := gfx_top
  $(this)/rtl_dirs := .
  $(this)/rtl_files := gfx_isa.sv gfx_pkg.sv gfx_top.sv

  $(this)/vl_main := main.cpp
  $(this)/vl_pkgconfig := sdl2
endef

define core/gfx_shader_schedif
  $(this)/hooks := regblock

  $(this)/regblock_rdl := gfx_shader_schedif.rdl
  $(this)/regblock_top := gfx_shader_schedif
  $(this)/regblock_args := --default-reset arst_n
  $(this)/regblock_cpuif := axi4-lite
endef