summaryrefslogtreecommitdiff
path: root/rtl/vdc/mod.mk
blob: 11bf8c31997af5a4dea2fb7bcf01dfba2b908076 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
cores := vdc_if

define core
  $(this)/deps := if_common vdc_if

  $(this)/rtl_top := vdc_top
  $(this)/rtl_dirs := .
  $(this)/rtl_files := vdc_pkg.sv vdc_top.sv
endef

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

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