diff --git a/firmware/rtl/control_loop/control_loop_cmds.h.m4 b/firmware/rtl/control_loop/control_loop_cmds.h.m4 new file mode 100644 index 0000000..cd436a9 --- /dev/null +++ b/firmware/rtl/control_loop/control_loop_cmds.h.m4 @@ -0,0 +1,7 @@ +m4_changequote(`⟨', `⟩')m4_dnl +m4_changecom(⟨/*⟩, ⟨*/⟩)m4_dnl +m4_define(generate_macro, ⟨m4_dnl +#define $1 $2 m4_dnl +m4_define(M4_$1, $2)m4_dnl +⟩)m4_dnl +m4_include(control_loop_cmds.m4) diff --git a/firmware/rtl/control_loop/control_loop_cmds.vh.m4 b/firmware/rtl/control_loop/control_loop_cmds.vh.m4 new file mode 100644 index 0000000..fae1a66 --- /dev/null +++ b/firmware/rtl/control_loop/control_loop_cmds.vh.m4 @@ -0,0 +1,7 @@ +m4_changequote(`⟨', `⟩')m4_dnl +m4_changecom(⟨/*⟩, ⟨*/⟩)m4_dnl +m4_define(generate_macro, ⟨m4_dnl +`define $1 $2 m4_dnl +m4_define(M4_$1, $2)m4_dnl +⟩)m4_dnl +m4_include(control_loop_cmds.m4)