first verilog project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

26 lines
387 B

C99?=c99
all: bericht check fsm_tb
check: sqrt
./sqrt
sqrt: c/sqrt.c
$(C99) -lm -o sqrt c/sqrt.c
bericht/graph.pdf: bericht/graph.dot
cd bericht; dot -Tpdf graph.dot > graph.pdf
bericht: bericht/graph.pdf
latexmk -pdf bericht/bericht.tex;
fsm: verilog/fsm.vcd
gtkwave verilog/fsm.vcd
fsm_tb: verilog/heron_fsm.vcd
%.vcd : %.vvp
vvp $<
%.vvp: %_tb.v %.v
iverilog -o $@ $^