mirror of
https://github.com/quorten/macsehw.git
synced 2024-06-12 08:29:30 +00:00
6678c4b2ab
For comparative simulation, I'm also assembling the logic of the earlier Macintosh 128K, and possibly also Macintosh Plus, in Verilog, and planning on doing MLB board-level simulations too.
20 lines
449 B
Makefile
20 lines
449 B
Makefile
TARGETS = bbu.vvp test_stdlogic.vvp test_mac128pal.vvp
|
|
|
|
all: $(TARGETS)
|
|
|
|
.SUFFIXES: .v .vvp
|
|
|
|
.v.vvp:
|
|
iverilog -Wanachronisms -Wimplicit -Wportbind -Wselect-range \
|
|
-Winfloop -Wsensitivity-entire-vector \
|
|
-Wsensitivity-entire-array \
|
|
-o $@ $<
|
|
|
|
bbu.vvp: bbu.v common.vh
|
|
test_stdlogic.vvp: test_stdlogic.v stdlogic.v common.vh
|
|
test_mac128pal.vvp: test_mac128pal.v test_stdlogic.v stdlogic.v \
|
|
mac128pal.v common.vh
|
|
|
|
clean:
|
|
rm -f $(TARGETS)
|