base: add new waveform pins

This commit is contained in:
Peter McGoron 2023-03-15 06:29:19 +00:00
parent 9c89453c77
commit 0f40b2cd95
4 changed files with 8 additions and 1988 deletions

1
.gitignore vendored
View File

@ -14,3 +14,4 @@ obj_dir
firmware/rtl/control_loop/control_loop_cmds.h
firmware/rtl/raster/ram_shim_cmds.h
firmware/rtl/raster/raster_cmds.h
firmware/rtl/base/base.v

View File

@ -1,2 +1,5 @@
.PHONY: lint
base.v: base.m4
m4 -P --synclines base.m4 | awk -v filename=base.m4 '/^#line/ {printf("`line %s %d 0\n", filename, $$2); next} {print}' > base.v
lint: base.v
verilator --lint-only base.v -I../spi -I../control_loop -I../waveform

View File

@ -11,6 +11,8 @@ m4_define(m4_dac_wires, ⟨
input [DAC_WID-1:0] to_dac_$2,
input wf_arm_$2,
input wf_halt_on_finish_$2,
output wf_finished_$2,
input [WF_TIMER_WID-1:0] wf_time_to_wait_$2,
input wf_refresh_start_$2,
input [WF_RAM_WID-1:0] wf_start_addr_$2,
@ -89,6 +91,8 @@ m4_define(m4_dac_switch, ⟨
) waveform_$2 (
.clk(clk),
.arm(wf_arm_$2),
.halt_on_finish(wf_halt_on_finish_$2),
.finished(wf_finished_$2),
.time_to_wait(wf_time_to_wait_$2),
.refresh_start(wf_refresh_start_$2),
.start_addr(wf_start_addr_$2),

File diff suppressed because it is too large Load Diff