wave: add square waveform generator

This commit is contained in:
Paul Mathieu
2021-03-08 18:58:52 -08:00
parent c6eaf0e9e6
commit 50dedf1dd8
3 changed files with 247 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
all: sim
sim: test.ghw
sim: pdmout_test.ghw square_test.ghw
sim_sources = pdmout_test.vhdl
sources = pdmout.vhdl
sim_sources = pdmout_test.vhdl square_test.vhdl
sources = pdmout.vhdl square.vhdl
test.ghw: work-obj93.cf
ghdl -r pdmout_test --wave=$@
%.ghw: work-obj93.cf
ghdl -r $* --wave=$@
work-obj93.cf: $(sim_sources) $(sources)