initial
[fpgammix.git] / rtl / Icarus / Makefile
blob3bff2f22ab60f3ab1bf5230988f26523ff162609
1 TOOLSDIR=../../tools
3 SRC= icarus_toplevel.v ../core.v ../memory_interface.v ../system.v \
4 ../filter.v ../pdm.v \
5 ../rs232out.v ../rs232in.v ../vga.v ../interconnect.v \
6 regfile.v idt71v416s10.v
8 run: fpgammix
9 ./fpgammix
11 fpgammix: initmem.data $(SRC) ../mmix_opcodes.v
12 /opt/iverilog-0.8.2/bin/iverilog -Wimplicit -I.. $(SRC) -o fpgammix
13 # iverilog -B/home/tommy/.lib/ivl -I.. $(SRC) -o fpgammix
15 mifs: ../initmem.mif ../info_flags.mif
17 ../initmem.mif: initmem.data
18 $(TOOLSDIR)/data2mif $< > $@
20 ../info_flags.mif: info_flags.data
21 $(TOOLSDIR)/data2mif -w8 -l256 $< > $@
23 clean:
24 -rm *.mmo *.lst
26 realclean: clean
27 -rm fpgammix