Created
June 6, 2014 10:37
-
-
Save zeptometer/53f1a420a7be3bd24d0e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| TESTBENCH = u232c_in_tb u232c_out_tb u232c_byteio_tb | |
| OBJECTS = u232c_in.o u232c_out.o u232c_byteio.o \ | |
| u232c_in_tb.o u232c_out_tb.o u232c_byteio_tb.o \ | |
| byte_processor.o | |
| GHDLC = ghdl | |
| GHDLFLAGS = -fexplicit --ieee=synopsys | |
| GHDL_SIM_OPT = --stop-time=1ms --ieee-asserts=disable | |
| .PHONY: clean | |
| all: $(TESTBENCH) | |
| $(OBJECTS): %.o: %.vhd | |
| $(GHDLC) -a $(GHDLFLAGS) $^ | |
| $(TESTBENCH): $(OBJECTS) | |
| $(GHDLC) -e $(GHDLFLAGS) $@ | |
| $(GHDLC) -r $(GHDLFLAGS) $@ $(GHDL_SIM_OPT) --vcd=$@.vcd | |
| clean : | |
| $(GHDLC) --clean | |
| rm *.vcd work-obj93.cf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment