adki / gen_amba_2021

AMBA bus generator including AXI4, AXI3, AHB, and APB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using a SystemVerilog reserved word as a function name

dale40 opened this issue · comments

commented

Dear professor Ki,

First of all, thank you for your efforts on automating AMBA interconnect generation.

One minor thing about the AHB generation is that you're using "priority" as a function name in the AHB module. However, priority is a reserved work in SystemVerilog. Therefore, when I compile the design with systemverilog option on, the compiler reports a syntax error.

It will be appreciated if you fix the issue.

Thanks for the comments.
'priority' has been replaced with 'func_priority'.