]> Joshua Wise's Git repositories - mandelfpga.git/blobdiff - Makefile
Convert to xc3s1200e, add more units, prepare to add another bit.
[mandelfpga.git] / Makefile
index 1d7fb9122090f0ddf51156ffdfee4e4051bd57df..cd766fa81957d63d4e7f79cf16cfffee470c6a3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 TARGET = MandelTop
 VLOGS = pixDCM.v mandelDCM.v Main.v
 VLOGS_ALL = $(VLOGS)
+PART = xc3s1200e-fg320-5
 
 all: fpga_target
 
@@ -38,10 +39,10 @@ $(TARGET).ngc: $(TARGET).xst $(VLOGS_ALL)
        xst -ifn $(TARGET).xst -ofn $(TARGET).syr
 
 $(TARGET).ngd: $(TARGET).ngc $(TARGET).ucf
-       ngdbuild -dd _ngo -uc $(TARGET).ucf -nt timestamp -p xc3s500e-fg320-5 "$(TARGET).ngc" $(TARGET).ngd
+       ngdbuild -dd _ngo -uc $(TARGET).ucf -nt timestamp -p $(PART) "$(TARGET).ngc" $(TARGET).ngd
 
 $(TARGET)_map.ncd: $(TARGET).ngd
-       map -p xc3s500e-fg320-5 -cm area -pr off -k 4 -c 100 -o $(TARGET)_map.ncd $(TARGET).ngd $(TARGET).pcf
+       map -p $(PART) -cm area -pr off -k 4 -c 100 -o $(TARGET)_map.ncd $(TARGET).ngd $(TARGET).pcf
 
 $(TARGET).ncd: $(TARGET)_map.ncd
        par -w -ol std -t 1 $(TARGET)_map.ncd $(TARGET).ncd $(TARGET).pcf
This page took 0.023461 seconds and 4 git commands to generate.